Ham Mac and Cheese

title 1
Ham Mac and Cheese
⏱️ cook time 35 minutes
🍽️ servings 6
⚡ Difficulty easy

intro

Velvety melted cheddar and Gruyère coat tender elbow pasta and smoky diced ham, topped with crispy buttered panko for a nostalgic, cozy baked meal the whole family will adore.

Ingredients

Dry elbow macaroni 300g
Smoked ham steak 200g, cut into 1cm cubes
Sharp cheddar cheese 250g, freshly grated
Gruyère cheese 100g, freshly grated
Whole milk 500ml
Unsalted butter 4 tbsp (57g), divided
All-purpose flour 3 tbsp (24g)
Dry mustard powder 1 tsp
Garlic powder 1/2 tsp
Panko breadcrumbs 60g
Fresh thyme 2 sprigs, plus extra for garnish
Kosher salt 1 tsp, plus extra for pasta water
Freshly ground black pepper 1/2 tsp

Steps

1

Prep Core Ingredients

Bring a large pot of heavily salted water (it should taste as salty as seawater) to a rolling boil over high heat. While waiting for the water to boil, set the maple cutting board at the center of the counter. Use the box grater to shred sharp cheddar and Gruyère cheese into separate small glass prep bowls. Dice the smoked ham steak into uniform 1cm cubes with the 8-inch chef knife, and pick leaves from the fresh thyme sprigs. Set all prepped ingredients within easy reach.

Step 1
step1:Prep Core Ingredients
2

Cook Elbow Macaroni

Once the salted water reaches a rolling boil, add 300g dry elbow macaroni. Cook for 6 minutes, stirring occasionally with the wooden spoon to prevent sticking. The pasta will be very al dente, with a slight firm white core at the center when bitten — it will finish cooking in the oven, so do not cook it to full tenderness. Reserve 1/4 cup of starchy pasta water in the glass measuring cup before draining.

Step 2
step2:Cook Elbow Macaroni
Step 2
step2:Cook Elbow Macaroni
3

Make Cheese Sauce Roux

Place the 2-quart stainless steel saucepan over medium heat. Melt 3 tablespoons of unsalted butter until foamy, then whisk in 3 tablespoons all-purpose flour with the silicone whisk. Cook the roux for 2 minutes, whisking constantly, until it turns pale golden and smells faintly nutty, with no raw flour taste remaining. Whisk in dry mustard powder and garlic powder until fully incorporated.

Step 3
step3:Make Cheese Sauce Roux
4

Finish Creamy Cheese Sauce

Slowly pour 500ml whole milk into the roux, whisking constantly to avoid lumps, until the sauce thickens to a smooth, velvety consistency (about 4 minutes), coating the back of a spoon so a line drawn with your finger holds its shape. Remove the pan from heat, then stir in 3/4 of the grated cheddar and all of the Gruyère cheese one handful at a time, stirring with the wooden spoon until fully melted and smooth. Season with 1 teaspoon kosher salt and 1/2 teaspoon freshly ground black pepper, adding a splash of reserved pasta water if the sauce feels too thick.

Step 4
step4:Finish Creamy Cheese Sauce
Step 4
step4:Finish Creamy Cheese Sauce
5

Mix Pasta and Ham

Add the drained al dente macaroni and diced smoked ham into the saucepan with the cheese sauce, stirring gently with the wooden spoon until every pasta noodle is evenly coated in sauce and ham cubes are distributed throughout. Fold in fresh thyme leaves, being careful not to over-stir and break the pasta noodles.

Step 5
step5:Mix Pasta and Ham
6

Assemble Mac and Cheese

Pour the entire pasta and cheese sauce mixture into the 9x13 inch matte white ceramic baking dish, spreading it into an even layer with the wooden spoon. Sprinkle the remaining 1/4 of grated cheddar evenly across the top of the pasta.

Step 6
step6:Assemble Mac and Cheese
7

Add Breadcrumb Topping

Melt the remaining 1 tablespoon of unsalted butter, then toss with 60g panko breadcrumbs until evenly coated. Sprinkle the buttered panko in an even layer over the cheese-topped pasta, covering the entire surface for a uniform crispy crust.

Step 7
step7:Add Breadcrumb Topping
8

Bake Until Golden Bubbly

Place the baking dish in a preheated 190C (375F) oven. Bake for 20 minutes, until the cheese sauce is bubbling vigorously around the edges of the dish and the panko topping is deep golden brown and crispy. Remove from the oven and let rest for 5 minutes before serving to allow the sauce to set slightly.

Step 8
step8:Bake Until Golden Bubbly
Step 8
step8:Bake Until Golden Bubbly

Tips

1.Grate cheese fresh from blocks instead of using pre-shredded packaged cheese: pre-shredded cheese is coated in potato starch and anti-caking agents that prevent smooth melting, leading to a grainy, separated cheese sauce instead of the desired velvety texture.
2.Do not fully cook the pasta during the initial boil: cooking macaroni to very al dente (6 minutes, with a firm white core) prevents it from turning mushy as it absorbs cheese sauce during baking, preserving a perfect tender bite in the finished dish.
3.Let the baked mac and cheese rest for a full 5 minutes after removing it from the oven: this short rest allows the hot, loose cheese sauce to thicken and set, so it does not run when scooped, creating neat, cohesive servings with ideal texture.

✨ You May Also Like

Main Course
🍜 United Kingdom

A showstopping classic of tender seared beef, savory mushroom duxelles, and crisp prosciutto wrapped in flaky golden puff pastry, baked to juicy perfection.

⏱️ 2 hours 1Main Course ★ 4.7
Main Course
🍜 India

Tender charred marinated chicken simmered in a rich, spiced creamy tomato sauce, this iconic Anglo-Indian curry pairs perfectly with basmati rice or warm naan.

⏱️ 50 minuteMain Course ★ 4.6
Main Course
🍜 Thailand

Classic tangy, sweet, and savory Thai stir-fried rice noodles with shrimp, tofu, and crunchy garnishes, balancing all five core Thai flavor profiles.

⏱️ 30 minuteMain Course ★ 4.5
Main Course
🍜 United Kingdom

Crispy golden beer-battered cod and fluffy double-fried chips, served with tangy tartar sauce and malt vinegar: the timeless, beloved British pub comfort classic.

⏱️ 45 minuteMain Course ★ 4.7
Main Course
🍜 Mexico

Smoky, chile-marinated pork tacos with caramelized pineapple, fresh cilantro, and lime: a beloved classic Mexican street food perfect for casual summer gatherings.

⏱️ 1 hour 45Main Course ★ 4.8
Main Course
🍜 United States

Crunchy Fritos corn chips layered with savory beef chili and melted cheddar, topped with cool, zesty fixings for a beloved, cozy Tex-Mex comfort food.

⏱️ 35 minuteMain Course ★ 4.8

Ham Mac and Cheese:Frequently Asked Questions

1.Can I use pre-shredded cheese instead of grating my own for this recipe? ▾
I always recommend grating your own cheddar and Gruyère for the silkiest sauce! Pre-shredded bagged cheese is coated in potato starch and anti-caking agents that prevent it from melting fully into that velvety texture we want. If you’re short on time, you can use pre-shredded, but expect a slightly grainier, less cohesive cheese sauce.
2.What’s the best ham to use if I don’t have a smoked ham steak on hand? ▾
Leftover baked holiday ham works perfectly here, as does thick-cut deli smoked ham—just ask for it cut into ½-inch cubes instead of thin slices. Avoid thin, watery sliced lunch ham or canned ham, as those will leach excess moisture into the sauce and make your mac and cheese runny instead of rich and creamy.
3.Can I make this mac and cheese ahead of time for a potluck or family gathering? ▾
Absolutely! Assemble the dish fully (hold the panko topping until right before baking) and cover tightly in the fridge for up to 2 days. When you’re ready to bake, add the buttered panko, tack on 5-7 minutes of extra bake time to account for the cold start, and it will turn out just as creamy as fresh.
4.Why does my homemade cheese sauce sometimes turn out grainy instead of smooth? ▾
Grainy sauce almost always comes from overheating the cheese once it’s added. Make sure your milk and roux base is warm (not boiling) when you stir in cheese off heat, adding it a handful at a time and stirring constantly. Boiling sauce after adding cheese curdles milk proteins and separates cheese, creating that gritty texture.
5.Can I swap whole milk for a lower-fat dairy option to cut calories? ▾
You can, but know it will change the final texture. 2% milk works for a slightly less rich sauce, but skim milk or thin non-dairy milks like unsweetened almond milk will produce a thinner, less velvety sauce that can taste watery. If using lower-fat milk, add an extra tablespoon of butter to your roux to boost richness and thickness.
6.How do I get the panko topping extra crispy instead of soggy? ▾
Toss your panko crumbs in fully melted, salted butter first, making sure every crumb is lightly coated, then spread it in an even layer across the top of the mac right before baking. Bake uncovered on the middle oven rack, and for extra crunch, broil the top for 1-2 minutes at the end—just watch closely so it doesn’t burn!
7.Can I freeze leftover baked ham mac and cheese for later meals? ▾
Yes, this dish freezes really well for up to 3 months. Let the baked mac cool completely, then portion into airtight, freezer-safe containers. To reheat, thaw in the fridge overnight, then warm in a 350°F oven covered with foil for 15-20 minutes, adding a splash of milk if the sauce feels too thick.
8.Do I have to use elbow macaroni, or can I use a different pasta shape? ▾
Elbow macaroni is classic for a reason—its ridges and hollow center hold onto thick cheese sauce perfectly, but you can swap in other short, sturdy pasta shapes. Cavatappi, rotini, small shells, or campanelle all work great; just cook pasta to al dente so it doesn’t turn mushy during the bake time.
9.My baked mac and cheese always comes out dry—what am I doing wrong? ▾
Dry mac and cheese usually happens for two reasons: you overcooked the pasta before baking, or your cheese sauce was too thick to start. Cook pasta 2 minutes less than the package al dente direction (it keeps cooking in the oven), and make your sauce slightly thinner than you want the final dish, as it thickens as it bakes.
10.Can I add extra veggies to this to make it a more well-rounded meal? ▾
Absolutely! Steamed, well-drained broccoli florets, sautéed diced bell peppers, roasted caramelized onions, or thawed, drained frozen peas all mix in beautifully. Just make sure any veggies you add are fully drained of excess moisture so they don’t thin out the rich cheese sauce during baking.
11.Is it necessary to make a roux for the cheese sauce, or can I skip that step? ▾
The butter-and-flour roux is the secret to a stable, creamy sauce that doesn’t separate or curdle while baking, so I don’t recommend skipping it. It only takes 3-4 minutes to cook out the raw flour taste, and it ensures your sauce stays smooth and velvety instead of turning greasy or clumpy.
12.How long should I bake this to make sure it’s perfectly cooked, not overdone? ▾
Bake at 375°F for 20-25 minutes uncovered, until the sauce is bubbling around the edges and the panko topping is deep golden brown. You don’t need a thermometer, but if you use one, aim for 165°F in the center to make sure the ham is warmed through without overcooking pasta or sauce.
13.Can I substitute the Gruyère if I don’t have it on hand? ▾
Gruyère adds a wonderful nutty, mellow depth that pairs beautifully with sharp cheddar, but you can swap it for equal parts fontina (for that same smooth melt) or extra sharp white cheddar if that’s what you have. Avoid crumbly cheeses like feta as a 1:1 swap, as they won’t melt into the sauce the same way.

Comments (5)

3 days ago

OMG this was such a game changer for our weeknight family dinner! I had leftover holiday ham in the fridge I had no clue what to do with, and this came together in literally no time – love that it’s only 35 minutes total! My 3 kids went back for seconds, even my picky 7 year old who turns his nose up at almost everything. The sauce is SO creamy, not grainy at all like some baked mac recipes I’ve tried before. 10/10 will be making this for our next church potluck too!

2 days ago

Wait did you use regular cheddar or a cheese mix? I’m making this tomorrow for my kid’s soccer team dinner and wanna make sure it’s extra cheesy for the crew!

1 day ago

So happy your family loved it! A sharp cheddar and Gruyère mix works amazing for extra depth of flavor, but plain sharp cheddar is totally delicious too if that’s what you have on hand. Hope the soccer team enjoys!

1 week ago

This is now a permanent part of my Sunday meal prep rotation! It reheats so beautifully in the microwave all week, no weird separated, clumpy sauce like other mac recipes I’ve prepped before. I added a little extra panko breadcrumb on top mixed with melted butter for crunch and it was chef’s kiss. Super easy too, even on a busy weeknight I can throw this together after work without stress.

5 days ago

Love the buttered panko addition! That extra crunch on top is such a good call. So glad this works for your meal prep routine – it makes our day to hear recipes help make busy weeks a little easier!

2 hours ago

Bro I’m literally a college senior who can barely boil water without messing it up, and this turned out perfect first try? No fancy ingredients, only 35 minutes total, and my roommates are convinced I’m secretly a culinary school student now. Used diced deli ham since that’s all the corner store had, slapped some hot sauce on top when it came out, elite. 10/10 no notes.

5 days ago

Brought this to our neighborhood block party last weekend and people were lined up to get the recipe! I was worried it would get cold fast or the sauce would thicken up too much while it sat out, but it stayed creamy the whole time. The little bits of salty ham cut through the rich cheese so perfectly, nobody even noticed I used whole grain pasta instead of regular elbows to make it a tiny bit healthier. Total win win!

3 days ago

Whole grain pasta swap is genius! I’ve been trying to sneak in healthier swaps without my husband noticing (he swears whole grain “tastes like cardboard”), I’m definitely stealing that trick when I make this this weekend.

yesterday

Wait, quick question before I make this for my partner’s birthday dinner tomorrow – can I assemble this the night before and bake it the next day? We’re going to be out hiking all day tomorrow and I don’t wanna rush to put it together right before dinner. This looks so good I don’t wanna mess it up!

2 hours ago

I did that last month when we had family in town! Assembled it the night before, covered it tight in foil in the fridge, then added 10 extra minutes to the bake time and it turned out exactly the same as making it fresh. No issues at all!

30 minutes ago

Great question! You absolutely can assemble it the night before – just keep it tightly covered in the fridge, and add 8-10 minutes to the bake time since it’ll be cold going into the oven. Hope your partner loves it, and happy birthday to them!