Baked Eggs with Ham and Cheese: Easy Brunch Recipe

Updated November 24, 2026

Total time
30 min
prep 10 min · cook 20 min
Serves
4
portions as written
Safe temperature (USDA)
160°F / 71°C
check the thickest piece

Jump to recipe

Baked eggs with ham and cheese is a hearty, satisfying dish where eggs are baked in a creamy, cheesy sauce with savory ham until the whites are set and the yolks are still slightly runny. It’s a versatile meal that works for breakfast, brunch, or a quick weeknight dinner. The combination of salty ham, rich cheese, and tender eggs is simple to assemble and always feels like a special treat.

Ingredients

  • 8 large eggs
  • 1 cup (240 ml) heavy cream or half-and-half
  • 1 cup (120 g) shredded Gruyère or Swiss cheese, divided
  • 1/2 cup (60 g) shredded sharp cheddar cheese
  • 6 oz (170 g) ham, diced (about 1 cup)
  • 2 tablespoons (30 g) unsalted butter, melted
  • 1/2 teaspoon Dijon mustard
  • 1/4 teaspoon salt
  • 1/4 teaspoon black pepper
  • 1 tablespoon chopped fresh chives or parsley (optional, for garnish)

Instructions

  1. Preheat your oven to 375°F (190°C). Lightly grease a 9×9-inch (or similar) baking dish, or 4 individual ramekins, with butter or nonstick spray.
  2. In a medium bowl, whisk together the heavy cream, melted butter, Dijon mustard, salt, and pepper until well combined.
  3. Spread the diced ham evenly over the bottom of the prepared baking dish. Sprinkle 3/4 cup of the Gruyère (or Swiss) and all of the cheddar over the ham.
  4. Pour the cream mixture over the ham and cheese, gently shaking the dish to distribute it evenly.
  5. Carefully crack the eggs on top, spacing them evenly. Try to keep the yolks intact.
  6. Sprinkle the remaining 1/4 cup of Gruyère over the eggs, avoiding the yolks if possible (it’s okay if some lands on them).
  7. Bake in the preheated oven for 15–20 minutes, or until the egg whites are set and the yolks are still slightly jiggly in the center. For firmer yolks, bake 2–3 minutes longer. The internal temperature of the egg dish should reach 160°F (71°C) as the safe minimum according to USDA FSIS guidelines.
  8. Remove from the oven and let rest for 2–3 minutes. Garnish with fresh chives or parsley if desired, and serve warm.

Tips

  • Use room-temperature eggs: They cook more evenly and are less likely to crack when added to the dish.
  • Don’t overcook: The eggs will continue to cook slightly after you remove them from the oven. Take them out when the whites are set but the yolks are still soft.
  • Choose the right cheese: Gruyère melts beautifully and has a nutty flavor, but you can use any good melting cheese like fontina, Monterey Jack, or even mozzarella. Avoid aged cheeses that don’t melt well, like aged cheddar.
  • Individual portions: For a prettier presentation, bake in individual ramekins. Reduce the baking time to 12–15 minutes, checking early.

Serving Suggestions

Serve these baked eggs straight from the oven with crusty bread or toast for dipping into the runny yolks. A simple green salad with a light vinaigrette balances the richness. For a heartier meal, add roasted potatoes or a side of sautéed spinach. They also pair well with fresh fruit for a lighter brunch.

Variations

  • Vegetable addition: Sautéed mushrooms, bell peppers, or spinach can be added along with the ham. Cook them first to remove excess moisture.
  • Spicy kick: Add a pinch of red pepper flakes or a dash of hot sauce to the cream mixture.
  • Herb infusion: Stir in fresh thyme or rosemary with the cream for extra aroma.
  • Bacon instead of ham: Cooked, crumbled bacon works just as well as ham.

Storage and Reheating

Refrigerate any leftovers in an airtight container within 2 hours of baking. They will keep for up to 3 days. To reheat, place individual portions in a microwave-safe dish and heat in 30-second intervals until warmed through, or reheat in a 350°F (175°C) oven for about 10 minutes. Note that the yolks will become fully set upon reheating, so the texture will be different from fresh-baked.

Frequently Asked Questions

Can I make this ahead of time? Yes, you can assemble the dish (without the eggs) up to a day ahead, cover, and refrigerate. When ready to bake, add the eggs and increase the baking time by about 5 minutes.

Why did my eggs come out rubbery? Overbaking is the most common cause. The eggs continue to cook after removal, so it’s better to pull them out when the whites are just set and the yolks are still soft.

Can I use milk instead of cream? Yes, but the dish will be less rich and creamy. Use whole milk for best results, and consider adding a little extra cheese to compensate for the reduced fat.

How do I know when the eggs are done? The whites should be opaque and firm, and the yolks should jiggle slightly when the dish is shaken. A food thermometer inserted into the center of the egg white should read 160°F (71°C).

Can I freeze baked eggs? Freezing is not recommended, as the texture of the eggs becomes watery and rubbery upon thawing. It’s best to enjoy them fresh.

What if I don’t have a baking dish? You can use a cast-iron skillet, a pie plate, or even a muffin tin for individual servings. Adjust the baking time accordingly.

Related

More recipes to cook

Safety notes: safe minimum internal temperatures from USDA FSIS; raw and undercooked fish guidance from the U.S. FDA. Food safety notes

Spotted an error? Tell us and we will correct it (corrections policy).