Ham and Egg Casserole: Recipe Basics and Tips
Ham and egg casserole explained: ratios, bake times, safe temperatures, make-ahead steps, common fixes and storage tips for a reliable bake.
| ~6 min read | Casseroles
What's inside
A ham and egg casserole is a baked dish that layers eggs, ham, cheese and a starch such as bread, potatoes or hash browns in one pan, then bakes it until set. It is essentially a savory custard bound with beaten eggs and milk, and it works as a make-ahead breakfast, brunch centerpiece or easy weeknight dinner.
The appeal is practical: it feeds a crowd from one dish, most of the assembly can happen the night before, and it is forgiving about what you have on hand. The main thing to get right is the egg-to-liquid ratio and the internal temperature, because both decide whether you end up with a tender slice or a rubbery, watery pan.
What Actually Goes Into a Ham and Egg Casserole
Most versions follow the same skeleton. The proportions below make a 9x13-inch pan that serves about 8 to 10 people.
- Eggs: 8 to 12 large eggs. Fewer eggs and more milk gives a softer, more custardy set; more eggs gives a firmer, sliceable bake.
- Dairy: about 1 to 1½ cups milk or half-and-half for every 8 eggs. Whole milk or half-and-half sets more smoothly than skim, which can turn watery.
- Ham: 1½ to 2 cups diced cooked ham. Leftover baked ham, thick-cut deli ham or ham steak all work; trim away rind and excess fat.
- Cheese: 1½ to 2 cups shredded cheddar, Swiss or Gruyère. Cheese adds fat and salt, so taste the ham before adding more salt.
- Starch: 6 to 8 slices of bread (cubed and dried), 4 to 5 cups frozen hash browns, or about 4 cups cooked diced potatoes.
- Seasoning and aromatics: salt, pepper, dry mustard, paprika, and sautéed onion, bell pepper or mushrooms if you like.
The classic bread version is assembled like a strata: bread cubes go in the pan, ham and cheese are scattered over, and the egg-milk mixture is poured on top and left to soak. Hash brown versions skip the soak and rely on the potatoes for structure.
How the Casserole Sets, and Why Ratios Matter
Eggs set when their proteins coagulate under heat. Around 160°F (71°C) the custard is just set and still tender; push much past that and the proteins tighten, squeezing out water. That is why an overcooked casserole weeps liquid and feels spongy. The USDA safe minimum for egg dishes is 160°F (71°C), and a thermometer inserted into the center is the only reliable way to know you have hit it without going far beyond.
Too much liquid is the other common failure. If you use more than roughly ¼ cup of milk per egg, the custard may not set firmly, especially with watery vegetables like zucchini or fresh mushrooms. Sauté watery vegetables first to drive off moisture, or use less milk.
Step-by-Step Method
- Heat the oven to 350°F (175°C) and grease a 9x13-inch baking dish.
- If using bread, cube it and let it dry for a while, or toast it briefly. Dry bread absorbs the custard without turning to mush.
- Spread the starch in the dish, then layer the ham and about three-quarters of the cheese on top.
- Whisk the eggs, milk, mustard, salt and pepper until fully combined and slightly frothy. Pour evenly over the layers.
- Cover and refrigerate for at least 30 minutes, or overnight, so the bread hydrates. If you skip this with bread, expect a drier top layer.
- Top with the remaining cheese and a dusting of paprika.
- Bake uncovered for 40 to 50 minutes, until the center is set and a thermometer reads 160°F (71°C). A knife inserted in the middle should come out clean.
- Rest for 5 to 10 minutes before cutting. This lets the custard firm up so slices hold together.
For a hash brown version, expect a slightly longer bake, often 50 to 60 minutes, because the potatoes start cold and release moisture as they cook.
Choosing Your Ingredients
Ham is the variable that changes the dish most. Smoked ham, honey-glazed ham and country ham all bring different levels of salt and sweetness. Country ham in particular is very salty, so blanch it or use less and cut back on added salt. Deli ham is convenient but often wet; pat it dry before layering.
Cheese choice follows the same logic. Mild cheddar melts predictably; Swiss and Gruyère add nuttiness but more salt; mozzarella adds stretch without much flavor. A mix of a melting cheese and a sharper one gives the best result.
For the starch, bread gives the lightest, most strata-like texture, hash browns give a crisp-edged, diner-style bake, and cooked potatoes give a denser, more substantial dish that holds up well as a dinner main.
Common Problems and Fixes
- Watery casserole: usually too much milk, un-sautéed vegetables, or underbaking. Check the center temperature and cut liquid slightly next time.
- Rubbery texture: overcooked eggs. Pull the pan at 160°F (71°C) rather than waiting for the top to brown deeply.
- Soggy bottom: fresh bread that was never dried, or a hash brown layer that was still partly frozen. Thaw and drain frozen potatoes first.
- Too salty: ham plus cheese plus added salt. Salt the eggs lightly and taste the ham beforehand.
- Uneven baking: a glass or dark metal pan browns faster than light metal. Reduce the temperature by 25°F if using dark nonstick bakeware.
Make-Ahead, Serving and Storage
The casserole can be assembled up to 24 hours ahead and kept covered in the refrigerator; add 5 to 10 minutes to the bake time if it goes in cold. It can also be baked, cooled, and reheated, though freshly baked is better.
Serve it with a simple green salad, roasted tomatoes, fruit, or toast for brunch. For dinner, a side of steamed broccoli or a light slaw balances the richness.
Food safety matters here because the dish contains eggs and meat. Refrigerate leftovers within 2 hours of baking (1 hour if the room is above 90°F), keep them at 40°F (4°C) or below, and use them within 3 to 4 days. Reheat portions to 165°F (74°C). Freeze leftovers at 0°F (-18°C) for up to about 2 months; the texture softens on thawing, so reheat gently. Never leave a casserole sitting out at room temperature for long stretches, and do not start with frozen meat in a slow cooker if you adapt the recipe that way.
Frequently Asked Questions
Can I make ham and egg casserole the night before?
Yes. Assemble it, cover tightly, and refrigerate up to 24 hours. Add roughly 5 to 10 extra minutes to the bake time because the dish starts cold. Do not let it sit out overnight.
How do I know when it is done?
Insert an instant-read thermometer into the center; it should read 160°F (71°C). The center should look set, not jiggly, and a knife should come out clean. Color alone is not a reliable guide.
Can I use egg whites or a milk alternative?
You can, but the texture changes. All-egg-white versions set firmer and drier, and plant milks vary in how they set. If you swap, keep the total liquid close to the original amount and expect a slightly different result.
Can I freeze it?
Yes, after baking and cooling. Wrap portions well and freeze at 0°F (-18°C) for up to about 2 months. Thaw in the refrigerator and reheat to 165°F (74°C).
Is it safe to use raw eggs in the custard?
The eggs are fully baked to 160°F (71°C), so the finished casserole is safe. Do not taste the raw egg mixture, and never eat raw dough or batter.
What can I use instead of bread?
Frozen hash browns, cooked diced potatoes, or cubed cooked potatoes all work. Thaw and drain frozen potatoes first, and expect a slightly longer bake.