Jump to content

Dinner Ideas | Weeknight, family and easy dinners: one-pot, sheet-pan, casseroles and more

Dinner Ideas

Ham Casserole Recipe: Creamy, Cheesy Comfort Food

A creamy, cheesy ham casserole with pasta, a from-scratch sauce, and a crisp crumb topping. Includes make-ahead, storage, and food safety tips.

| ~6 min read | Casseroles

A ham casserole is a layered bake of cooked ham, pasta or potatoes, a creamy sauce, and cheese, finished with a crisp topping and baked until bubbling. It is the classic answer to leftover holiday ham and a reliable weeknight dinner because the ham is already cooked, so the only thing you must cook through is the pasta or potatoes. Before you start, gather a 9x13-inch baking dish, a pot for the pasta, a saucepan for the sauce, and a food thermometer. Have your ham fully thawed and either already cooked or ready to be cooked to 145°F (63°C) for a whole cut or 160°F (71°C) if it is ground. The finished casserole should reach 165°F (74°C) in the center before serving, and any leftovers must be refrigerated within 2 hours.

What You'll Need

  • 12 oz (340 g) dried pasta such as rotini, penne, or egg noodles, or 4 cups sliced cooked potatoes
  • 3 cups (about 450 g) cooked ham, diced into 1/2-inch cubes
  • 3 tablespoons unsalted butter
  • 3 tablespoons all-purpose flour
  • 2 1/2 cups whole milk, warmed slightly
  • 1 teaspoon Dijon mustard
  • 1/2 teaspoon salt, plus more for the pasta water
  • 1/4 teaspoon black pepper
  • 2 cups (about 200 g) shredded cheddar or Gruyère, divided
  • 1 cup frozen peas, thawed (optional)
  • 1/2 cup panko breadcrumbs
  • 2 tablespoons melted butter for the topping
  • 9x13-inch baking dish, large pot, saucepan, whisk, food thermometer

Step-by-Step

  1. Preheat the oven to 350°F (175°C). Lightly grease the 9x13-inch baking dish with butter or a neutral oil so the pasta does not stick.
  2. Cook the pasta. Bring a large pot of salted water to a boil and cook the pasta 1 to 2 minutes less than the package directions. It will finish cooking in the oven, so slightly underdone pasta keeps its texture instead of turning mushy. Drain and set aside. If using potatoes instead, boil sliced potatoes until just tender, about 8 to 10 minutes, then drain.
  3. Make the sauce. In a saucepan over medium heat, melt 3 tablespoons butter. Whisk in the flour and cook for 1 to 2 minutes, stirring constantly, until the mixture smells nutty and no longer tastes of raw flour. Do not let it brown.
  4. Add the milk gradually. Pour in the warm milk in a slow stream while whisking constantly to prevent lumps. Cook, whisking, for 5 to 7 minutes until the sauce thickens enough to coat the back of a spoon. Stir in the Dijon mustard, salt, and pepper.
  5. Melt in the cheese. Remove the saucepan from the heat and stir in 1 1/2 cups of the shredded cheese until smooth. Taste the sauce and adjust the salt, keeping in mind the ham is already salty.
  6. Combine everything. In a large bowl, gently fold together the cooked pasta, diced ham, thawed peas, and cheese sauce until evenly coated. If the mixture looks dry, add a splash of milk; it should be saucy, not stiff.
  7. Assemble the casserole. Spread the mixture into the prepared baking dish and level the top. Scatter the remaining 1/2 cup cheese over the surface.
  8. Add the topping. Toss the panko breadcrumbs with the melted butter and sprinkle evenly over the cheese. This gives the casserole its crisp contrast to the creamy interior.
  9. Bake. Bake uncovered for 25 to 30 minutes, until the sauce bubbles at the edges and the topping is golden brown. Insert a food thermometer into the center; it should read at least 165°F (74°C).
  10. Rest and serve. Let the casserole stand for 5 to 10 minutes before cutting. This lets the sauce set so portions hold together instead of sliding apart.

Common Mistakes

The most frequent problem is a dry casserole, usually caused by using too little sauce or by baking it far longer than needed. The sauce should look slightly loose when it goes into the dish because the pasta absorbs liquid as it bakes. Another common error is adding salt before tasting: ham varies widely in saltiness, so season the sauce lightly and adjust at the end. Overcooking the pasta in the first step is a third pitfall; it turns soft and collapses in the oven. Finally, skipping the rest time makes the casserole runny on the plate, and using cold milk straight from the fridge can make the flour mixture seize into lumps.

Tips

Warm the milk before adding it to the roux, even if only in the microwave for 45 seconds, because the temperatures match better and the sauce thickens more smoothly. Use a block of cheese you grate yourself rather than pre-shredded cheese, which contains anti-caking starches that can make the sauce grainy. If you want to use leftover ham from a roast, trim away any glazed or dried exterior before dicing. For a potato version, use waxy potatoes such as Yukon Gold so the slices hold their shape. To feed a crowd, the recipe doubles cleanly in two dishes rather than one deep dish, which bakes more evenly. Serve with a sharp green salad, steamed broccoli, or crusty bread to balance the richness.

Troubleshooting

Lumpy sauce: whisk vigorously off the heat, or strain the sauce through a fine-mesh sieve before combining it with the other ingredients. Too thick or dry after baking: stir in 1/4 cup warm milk, cover with foil, and return to the oven for 10 minutes. Too runny: let it rest 15 minutes; if still loose, the pasta was likely undercooked and did not absorb liquid, so bake uncovered another 10 minutes. Topping burning before the center is hot: tent loosely with foil and continue baking until the thermometer reads 165°F (74°C). Bland flavor: a teaspoon of Worcestershire sauce or a pinch of smoked paprika in the sauce adds depth without more salt. Making it ahead: assemble through the topping, cover, and refrigerate up to 24 hours; add 10 to 15 minutes to the bake time since it starts cold. Do not freeze an unbaked casserole containing raw flour-based sauce and expect the same texture; baked leftovers freeze better.

Frequently Asked Questions

Can I use frozen ham in this casserole?

Thaw it in the refrigerator, in cold water, or in the microwave first, never on the counter. Since the ham is already cooked, thawing is mainly about even heating and safe handling.

How long do ham casserole leftovers keep?

Refrigerate within 2 hours at 40°F (4°C) or below, and eat within 3 to 4 days. Reheat portions to 165°F (74°C).

Can I freeze ham casserole?

Yes. Bake it first, cool it quickly, and freeze at 0°F (-18°C) for up to 3 months. Thaw in the fridge overnight and reheat to 165°F (74°C); the topping will soften but the flavor holds.

What can I use instead of pasta?

Cooked rice, sliced potatoes, or cubed bread all work. Rice and potatoes should be fully cooked before assembling, and you may need a little extra sauce since they absorb more liquid than pasta.

Is the ham in this casserole safe to eat if it was already cooked?

Yes, but the whole dish still needs to reach 165°F (74°C) because the sauce contains milk and the casserole is assembled from multiple ingredients. Always check with a thermometer rather than by sight.

Read next