Baked Mac and Cheese with Ham: Easy Recipe

This baked mac and cheese with ham is the ultimate comfort food—creamy, cheesy pasta tossed with savory ham, all topped with a golden, crispy crust. It’s a complete meal in one dish, perfect for using up leftover holiday ham or for a cozy weeknight dinner. The combination of sharp cheddar, creamy Gruyère, and smoky ham creates a rich, satisfying flavor that everyone will love.

Ingredients

  • 1 lb (450g) elbow macaroni (or similar short pasta)
  • 4 tbsp (60g) unsalted butter, plus more for greasing
  • 1/4 cup (30g) all-purpose flour
  • 3 cups (720ml) whole milk, warmed
  • 1 tsp Dijon mustard
  • 1/2 tsp garlic powder
  • 1/2 tsp onion powder
  • 1/4 tsp cayenne pepper (optional, for a little heat)
  • 1/2 tsp salt, plus more for pasta water
  • 1/4 tsp black pepper
  • 3 cups (340g) sharp cheddar cheese, shredded (about 12 oz)
  • 1 cup (100g) Gruyère cheese, shredded (about 4 oz)
  • 2 cups (about 10 oz / 280g) diced cooked ham
  • 1/2 cup (60g) panko breadcrumbs
  • 2 tbsp (30g) unsalted butter, melted (for topping)
  • 2 tbsp chopped fresh parsley (optional, for garnish)

Instructions

  1. Preheat and prep: Preheat your oven to 375°F (190°C). Grease a 9×13-inch baking dish with butter or nonstick spray.
  2. Cook the pasta: Bring a large pot of salted water to a boil. Add the macaroni and cook according to package directions until al dente (about 1-2 minutes less than the recommended time, since it will bake further). Drain well and set aside.
  3. Make the cheese sauce: In a large saucepan or Dutch oven, melt the 4 tablespoons of butter over medium heat. Whisk in the flour and cook for 1-2 minutes, stirring constantly, until the mixture is bubbly and golden (this is a roux).
  4. Add milk and seasonings: Gradually whisk in the warm milk, a little at a time, ensuring there are no lumps. Add the Dijon mustard, garlic powder, onion powder, cayenne (if using), salt, and black pepper. Continue to cook, stirring frequently, until the sauce thickens and just begins to simmer, about 5-7 minutes.
  5. Melt the cheese: Reduce the heat to low. Add the shredded cheddar and Gruyère cheese in handfuls, stirring until each addition is fully melted and the sauce is smooth. Do not let it boil after adding the cheese.
  6. Combine: Add the cooked macaroni and diced ham to the cheese sauce. Stir well to coat everything evenly.
  7. Transfer to dish: Pour the mac and cheese mixture into the prepared baking dish and spread it evenly.
  8. Make the topping: In a small bowl, combine the panko breadcrumbs with the 2 tablespoons of melted butter. Sprinkle this mixture evenly over the top of the mac and cheese.
  9. Bake: Place the dish in the preheated oven and bake for 20-25 minutes, until the top is golden brown and the edges are bubbly. If you prefer a deeper golden crust, you can broil for the last 1-2 minutes, but watch it closely to avoid burning.
  10. Rest and serve: Remove from the oven and let it rest for 5-10 minutes before serving. This allows the sauce to set slightly, making it easier to serve. Garnish with fresh parsley if desired.

Tips

  • Shred your own cheese: Pre-shredded cheese often contains anti-caking agents that prevent it from melting smoothly, resulting in a grainy sauce. Shredding from a block gives you a silky, creamy texture.
  • Don’t overcook the pasta: Since the macaroni will continue to cook in the oven, start with pasta that is just under al dente. This prevents it from becoming mushy after baking.
  • Use warm milk: Adding cold milk to the roux can cause lumps and slow down the thickening process. Warming the milk beforehand ensures a smooth, lump-free sauce.
  • Make it ahead: You can assemble the entire dish (without the breadcrumb topping) up to 24 hours in advance. Cover and refrigerate. When ready to bake, add the topping and increase the baking time by 10-15 minutes, as the dish will be cold.

Serving Suggestions

This baked mac and cheese with ham is a hearty main course on its own, but it also pairs beautifully with a simple green salad dressed with a light vinaigrette, steamed broccoli, or roasted green beans. For a classic comfort meal, serve it alongside roasted chicken or a pork tenderloin. A slice of crusty bread is perfect for soaking up any extra cheese sauce.

Variations

  • Different cheeses: Swap the Gruyère for smoked Gouda, fontina, or Monterey Jack. You can also use a combination of your favorite melting cheeses.
  • Add vegetables: Stir in 1 cup of cooked peas, sautéed mushrooms, or chopped spinach along with the ham for extra color and nutrition.
  • Spicy kick: Add a diced jalapeño or a few dashes of hot sauce to the cheese sauce for a spicy twist.
  • Bacon version: Substitute the ham with crispy cooked bacon pieces for a different smoky flavor.
  • Gluten-free: Use gluten-free pasta and substitute the flour with a gluten-free all-purpose blend (check that it contains xanthan gum for proper thickening). Use gluten-free breadcrumbs for the topping.

Storage and Reheating

Store any leftovers in an airtight container in the refrigerator for up to 3-4 days. To reheat, place individual portions in the microwave for 1-2 minutes, or reheat the entire dish in a 350°F (175°C) oven for 15-20 minutes, covered with foil to prevent drying out. You may need to add a splash of milk to restore creaminess. This dish can also be frozen for up to 2 months, but the texture may change slightly upon thawing and reheating.

Frequently Asked Questions

Can I use leftover ham from a bone-in ham? Absolutely! Diced leftover ham works perfectly. Just make sure to remove any excess fat or gristle before dicing. You can also use thick-cut ham steaks or deli ham in a pinch.

Why is my cheese sauce grainy? A grainy sauce usually happens when the cheese is added at too high a temperature or if you use pre-shredded cheese with anti-caking agents. Always melt cheese over low heat, and shred your own from a block for the smoothest result.

Can I make this without the breadcrumb topping? Yes, you can skip the topping entirely for a softer, creamier top. Alternatively, you can mix the breadcrumbs with the cheese sauce and bake without a crust, or add extra cheese on top for a bubbly, cheesy crust.

How do I know when it’s done? The mac and cheese is done when the top is golden brown and the edges are bubbling. The internal temperature should be at least 165°F (74°C) if you’re checking for food safety, especially if it was made ahead and refrigerated.

Can I use a different pasta shape? Yes, any short pasta works well—shells, cavatappi, rotini, or penne. Just be sure to cook it to al dente, as the cooking time may vary slightly by shape.

What if I don’t have Gruyère? You can substitute with more cheddar, or use Swiss, fontina, or Monterey Jack. The key is to use cheeses that melt well. Avoid using only aged cheeses like Parmesan, as they can make the sauce gritty.

Related

Leave a Reply

Your email address will not be published. Required fields are marked *