Dinners

Ham Casserole with Pasta: Creamy, Baked, Ready in 1 Hour

Updated · By Stir & Share

Total timeprep + cook
55 min
Prep
15 min
hands-on
Cook
40 min
oven or stovetop
Serves
6
as written

Jump to recipe Save

Ham Casserole with Pasta: Creamy, Baked, Ready in 1 Hour

Time: 55 minutes  ·  Serves: 6  ·  The key step: simmer the pasta 2 minutes short of al dente so it finishes cooking in the sauce without turning mushy.

This is a creamy, cheesy baked casserole with chunks of ham, tender pasta, and a golden breadcrumb topping. It’s the kind of dinner you put together on a busy weeknight or bring to a potluck, and it uses leftover ham or a deli ham steak. The sauce is made on the stovetop, then everything bakes together until bubbly and set.

The One Technique That Makes It Work: Undercook the Pasta

Pasta keeps cooking in the oven. If you boil it to al dente, it will be overcooked by the time the casserole is done. Boil the pasta for 2 minutes less than the package directs. It should be firm but not raw in the center. The noodles will absorb some sauce during baking, so the casserole stays creamy instead of dry.

Use a short pasta shape that holds sauce well: elbow macaroni, penne, rotini, or shells all work. Measure the pasta before cooking; about 12 ounces (340 g) of dry pasta gives you roughly 6 cups cooked.

Ingredients

  • 12 oz (340 g) short pasta (elbows, penne, or rotini)
  • 2 tbsp (30 g) unsalted butter
  • 1 small yellow onion, finely diced (about 1 cup / 150 g)
  • 2 cloves garlic, minced
  • 3 tbsp (45 g) all-purpose flour
  • 2 cups (480 ml) whole milk
  • 1 cup (240 ml) low-sodium chicken broth
  • 1 tsp Dijon mustard
  • 1/2 tsp smoked paprika (optional)
  • 1/4 tsp black pepper
  • 2 cups (240 g) shredded sharp cheddar cheese, divided
  • 1/2 cup (50 g) grated Parmesan cheese, divided
  • 2 cups (280 g) diced cooked ham (about 10 oz / 280 g)
  • 1 cup (100 g) frozen peas, thawed (optional)
  • 1/2 cup (60 g) panko breadcrumbs
  • 1 tbsp (15 g) melted butter (for topping)
  • Salt, to taste

Instructions

  1. Preheat the oven to 375°F (190°C). Grease a 9×13-inch (23×33 cm) baking dish.
  2. Bring a large pot of salted water to a boil. Cook the pasta for 2 minutes less than the package directs. Drain and set aside.
  3. In a large saucepan or Dutch oven, melt the 2 tbsp butter over medium heat. Add the onion and cook until soft, about 4 minutes. Add the garlic and cook for 30 seconds until fragrant.
  4. Stir in the flour and cook for 1 minute, stirring constantly. Slowly whisk in the milk and broth. Bring to a simmer, then reduce heat to medium-low and cook, stirring often, until the sauce thickens enough to coat the back of a spoon, about 5 minutes.
  5. Remove from heat. Stir in the mustard, paprika (if using), black pepper, 1 1/2 cups (180 g) of the cheddar, and 1/4 cup (25 g) of the Parmesan. Stir until the cheese melts. Taste and add salt if needed.
  6. Add the cooked pasta, ham, and peas (if using) to the sauce. Stir to coat everything evenly.
  7. Pour the mixture into the prepared baking dish. Sprinkle the remaining 1/2 cup (60 g) cheddar and 1/4 cup (25 g) Parmesan over the top.
  8. In a small bowl, mix the panko with the melted butter. Sprinkle over the cheese layer.
  9. Bake uncovered for 20–25 minutes, until the casserole is bubbly around the edges and the top is golden brown. If the top browns too quickly, loosely cover with foil for the last 10 minutes.
  10. Let rest for 5 minutes before serving. The casserole will set as it cools.

What Ruins This Dish and How to Avoid It

Mushy Pasta

The most common mistake is cooking the pasta to al dente before baking. Remember the 2-minute rule. Also, if you use a very large pasta shape like shells, check it at the 15-minute mark; it may be done sooner.

Curdled or Grainy Sauce

If the sauce breaks, it usually happens because the heat was too high or the cheese was added too quickly. Keep the sauce at a gentle simmer, not a rolling boil. Add the cheese off the heat, in handfuls, stirring until each addition melts. Using pre-shredded cheese can also cause graininess because of the anti-caking coating; shred from a block for the smoothest sauce.

Dry Casserole

This casserole is creamy straight out of the oven, but it thickens as it stands. If you plan to bake it later, add an extra 1/4 cup (60 ml) of milk to the sauce before baking. Also, don’t overbake; 25 minutes is plenty.

Too Salty

Ham and cheese both contain salt. Use low-sodium broth and taste the sauce before adding salt. If your ham is very salty, skip the added salt entirely.

Make-Ahead Timeline and Storage

Make Ahead

Assemble the casserole completely (without the breadcrumb topping) up to 24 hours ahead. Cover and refrigerate. When ready to bake, add the breadcrumb topping and bake at 375°F (190°C) for 30–35 minutes, until hot and bubbly. If baking from frozen, thaw overnight in the refrigerator first, then bake as directed.

Storage

Refrigerate leftovers within 2 hours in an airtight container. They keep for 3–4 days. To reheat, cover with foil and warm in a 350°F (175°C) oven for 15–20 minutes, or microwave individual portions in 1-minute bursts until hot. The casserole can be frozen for up to 2 months; thaw overnight in the fridge before reheating.

Serving and Pairing Ideas

Serve this casserole with a crisp green salad dressed with a simple vinaigrette to cut the richness. Steamed broccoli or green beans also work well. For a heartier meal, add a side of crusty bread. A light white wine like a dry Sauvignon Blanc pairs nicely, but water or iced tea are just as good.

Swaps That Work

If you don’t have ham, use cooked chicken or turkey; the casserole will be less salty, so add a pinch of salt. For a vegetarian version, skip the ham and add sautéed mushrooms or extra peas. Swap the cheddar for Gruyère or Monterey Jack for a different flavor. Use gluten-free pasta and flour if needed; adjust the flour amount to 2 tbsp (30 g) if using a gluten-free blend. The breadcrumb topping can be omitted or replaced with crushed crackers.

Why the Sauce Needs a Roux

The butter-and-flour roux thickens the milk and broth into a stable sauce that won’t separate during baking. Cook the flour for at least 1 minute to remove the raw flour taste. If you skip the roux and just add cheese to milk, the sauce will be thin and watery.

Can You Use Leftover Ham Bone?

You can use the ham bone to make broth for the sauce instead of chicken broth. Simmer the bone in 2 cups of water for 30 minutes, then strain and use that liquid. It will add a smoky ham flavor. If you do this, reduce the salt in the recipe because the ham broth is salty.

Related

Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.

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