Macaroni and Cheese with Ham: A Baked Pasta Guide
| ~6 min read | Mac and Cheese
Sections
Yes, macaroni and cheese with ham is a classic, practical combination: cubed or shredded cooked ham is stirred into a cheese sauce with elbow macaroni, topped with breadcrumbs or more cheese, and baked until bubbly. The ham adds salty, savory depth that balances the rich dairy, and it turns a side dish into a full one-dish meal. It is a standard way to use up leftover holiday ham and a common variation on baked mac and cheese across the United States.
Why Ham and Cheese Work Together
Cheddar and ham are a well-established pairing for good reason. Ham is cured and salted, so it brings a concentrated savory note that cuts through the fat of a cheese sauce made with butter, milk and melted cheese. The salt in the ham also means you should season the sauce lightly and taste before adding more salt, since the meat will contribute its own.
Texture matters too. Ham holds its shape during baking, so it gives each bite something to chew against the soft pasta. Shredded ham tends to disappear into the sauce; cubed ham, roughly half an inch, stays distinct and reads clearly as an ingredient rather than a seasoning.
The combination also solves a practical problem. Plain baked mac and cheese is often served as a side, but with ham it becomes a main course that needs only a green vegetable or salad alongside.
Choosing the Ham
Almost any cooked ham works, but the type changes the result:
- Leftover baked ham: The best option if you have it. Trim away any glaze or dry exterior edges, which can taste burnt or overly sweet in the sauce.
- Ham steak: Sold fully cooked and easy to cube. Pat it dry before adding so it does not water down the sauce.
- Deli ham: Convenient but often thin and wet. Stack several slices and cut into strips; it will mostly melt into the dish.
- Canned ham: Works in a pinch but is soft and salty. Reduce added salt in the sauce accordingly.
- Prosciutto or serrano ham: Very salty and expensive for this use; a little goes a long way and it is better treated as a topping than a bulk ingredient.
Whatever you choose, the ham should already be fully cooked. The baking step reheats it; it is not meant to cook raw pork. If you are using raw fresh pork, cook it separately to 145°F (63°C) with a three-minute rest before adding it, or use a recipe designed for raw meat with a verified internal temperature.
Building the Dish: A Worked Method
The reliable approach is to make a cheese sauce on the stovetop, combine it with cooked pasta and ham, then bake briefly. This gives you control over the sauce consistency before it goes in the oven.
- Cook the pasta. Use about 1 pound (450 g) of elbow macaroni for a 9x13-inch baking dish. Boil in well-salted water (about 1 tablespoon of salt per gallon) until one or two minutes short of al dente, since it will continue cooking in the oven. Reserve about a cup of pasta water before draining.
- Make a roux. Melt 4 tablespoons (56 g) butter, whisk in 4 tablespoons (30 g) all-purpose flour, and cook for a minute or two until it smells toasty but has not browned.
- Add the milk. Whisk in about 3 cups (710 ml) whole milk gradually to avoid lumps. Simmer gently until thickened enough to coat a spoon.
- Melt in the cheese. Off the heat, stir in 3 to 4 cups (about 340–450 g) of shredded cheese. Sharp cheddar is standard; a mix of cheddar and Gruyère or Monterey Jack melts more smoothly. Keep the heat low, because high heat can make cheese sauces grainy.
- Fold in pasta and ham. Add about 2 cups (roughly 300 g) of cubed cooked ham. Loosen with reserved pasta water if the sauce seems thick.
- Bake. Transfer to a buttered dish, top with breadcrumbs tossed in melted butter or extra cheese, and bake at 350°F (175°C) for 20 to 30 minutes until bubbling at the edges and hot throughout.
Because the dish contains meat and dairy, it should reach 165°F (74°C) in the center when reheated from cold, and it should be served hot from the oven.
Common Problems and Fixes
- Grainy or stringy sauce: Usually caused by too much heat or aged cheese added too fast. Take the pan off the heat before adding cheese and stir gently.
- Dry bake: The pasta absorbed too much liquid. Cook pasta only to just-short-of-al-dente, and keep the sauce slightly looser than you want the final result.
- Greasy surface: Excess fat from cheese or ham. Blot ham dry, and avoid overloading with very fatty cheese.
- Too salty: Ham plus salted pasta water plus seasoned sauce. Salt the pasta water modestly and taste the sauce before adding salt.
- Lumps in the sauce: Milk added too quickly to the roux. Add it in a slow stream while whisking, or warm the milk first.
Make-Ahead, Storage and Reheating
You can assemble the dish up to a day ahead, cover and refrigerate it, then bake it straight from cold with an extra 10 to 15 minutes in the oven. Do not leave it sitting at room temperature; refrigerate within two hours of assembling (one hour if the room is above 90°F).
Leftovers should be refrigerated within two hours in a shallow container at 40°F (4°C) or below and eaten within three to four days. Reheat portions to 165°F (74°C), covered, in the oven or microwave; adding a splash of milk helps revive a stiff sauce. The dish freezes reasonably well for up to about two months at 0°F (-18°C), though the pasta softens on thawing. Thaw in the refrigerator, never on the counter.
Variations and Alternatives
The formula is flexible. Swap the pasta shape for shells, penne or rotini, which hold sauce in their ridges. Add a cup of frozen peas, sautéed onions, or a spoonful of mustard to sharpen the cheese flavor. Smoked ham, smoked Gouda or a little bacon changes the profile substantially.
For a lighter version, use a stovetop method without baking: make the sauce, fold in pasta and ham, and serve immediately, which avoids the drying effect of the oven. For a vegetarian version, omit the ham and add mushrooms or roasted vegetables; note that the dish then contains no meat and keeps the same storage rules.
If you are cooking for anyone at higher risk from foodborne illness, be careful with any recipe that adds raw egg to the sauce; standard mac and cheese does not need egg, so this is easy to avoid.
Frequently Asked Questions
Can I use raw ham in mac and cheese?
No. Use ham that is already cooked, such as baked ham, ham steak or deli ham. If you want to use fresh pork, cook it fully first to 145°F (63°C) with a three-minute rest, then add it to the dish.
How much ham should I add?
About 2 cups of cubed ham, roughly 10 to 12 ounces (280–340 g), for a 9x13-inch dish made with a pound of pasta. More than that can overwhelm the cheese sauce and make the bake salty.
Can I make mac and cheese with ham ahead of time?
Yes. Assemble it, cover and refrigerate for up to a day, then bake from cold, adding 10 to 15 minutes to the baking time. Reheat leftovers to 165°F (74°C).
Why did my cheese sauce turn grainy?
Usually too much heat. Add cheese off the heat, stir gently, and avoid boiling the sauce once the cheese is in. Very aged, dry cheeses also break more easily than younger ones.
What cheese works best with ham?
Sharp cheddar is the standard. A blend with Gruyère, Monterey Jack or Colby melts more smoothly. Avoid using only very aged cheese, which can turn oily when melted.
Is macaroni and cheese with ham safe to freeze?
Yes, for about two months at 0°F (-18°C). The texture of the pasta softens, so it is best reheated as a casserole rather than served as a fresh bake. Thaw in the refrigerator before reheating to 165°F (74°C).