This ham and cheese casserole is ooey, gooey, cheesy, and full of flavor! Itโs an easy, made-from-scratch baked mac and cheese with Gruyere and sharp cheddar cheeses, smoky leftover ham, and a buttery garlic breadcrumb topping.

Table of Contents
If youโre looking for more recipes for leftover ham, donโt miss these old-fashioned Southern ham and beans, a pot of ham and bean soup, this ham and rice casserole, and this split pea soup with ham!
I added a bag of frozen corn in its own steam bag cooked 4 min instead of 6 min and this casserole was delicious! A family friendly meal. I especially love the roux base instead of a can of condensed soup. Thanks for sharing!
โ Catherine
A Versatile Ham and Cheese Casserole Recipe
This easy ham and cheese casserole recipe is essentially just baked mac and cheese with ham as an added bonus. How bad could that be, right?! Weโre turning a favorite American side dish into a lunch or dinner entrรฉe by using up the leftovers from a holiday ham; however, rotisserie chicken, crispy bacon, pulled pork, or ground beef will also work.
We like to pair the casserole with veggies or a salad on the side, but you can certainly stir vegetables right into the dish, too. Try frozen peas or parboiled broccoli! Take the base recipe and make it your own. Nobody can resist those garlicky, crunchy, buttered bread crumbs on top!

What to Know Before You Get Started
- I like these โshellbows,โ but elbow macaroni, cavatappi, rotini, or medium shells will all work well. Pick a short shape with ridges or curls that the creamy sauce can cling to!
- Use cheese that you grate by hand. Do not use pre-shredded cheddar cheese in a bag, because those packaged cheeses include a powdery coating with stabilizers that prevent the cheese from melting as smoothly into the sauce.
- Boil the pasta for about 1-2 minutes shy of the recommended time for al dente. The noodles will continue to cook in the oven, and you donโt want to end up with mushy, overdone pasta in your dish.




How to Make Ham and Cheese Casserole
This recipe uses a roux to make a creamy bรฉchamel that coats the noodles and ham in sauce. If youโre looking for theย best baked mac and cheese with ham recipe, then youโve come to the right place! Youโll find detailed directions in the recipe card below, but hereโs the overview:
- To cut down on the prep time, get the pasta water boiling while you prepare the rest of the ingredients (such as grating the cheese). Then, as the pasta cooks, you can whisk together the cheese sauce. This way the pasta isnโt sitting around getting cold while you prepare the sauce, and everything comes together quickly at the end.
- Salt the water before boiling your pasta. This is your chance to season the noodles for a flavorful dish! Drain the cooked pasta.
- Meanwhile, make the cheese sauce in a large Dutch oven or saucepan over low heat. Remove the pot from the heat before adding the cheeseย (or keep the flameย veryย low) so that the sauce stays creamy and smooth. When cheese gets too hot, it separates and gives the sauce a grainy texture.
- Add the cooked pasta and diced ham to the cheese sauce; stir to combine.
- Pour the mixture into a 2-quart baking dish that has been greased or sprayed with cooking spray.
- Top with buttered breadcrumbs.
- Bake in a 375ยฐF oven for 20-25 minutes, or until the filling is bubbly and the top is toasted and golden brown.
- Serve hot and garnish with a dash of paprika or chopped fresh parsley, if desired.

Serving Suggestions
While mac and cheese is often served as a side dish, the addition of ham makes it a perfect main dish casserole. Pair the cheesy noodles and ham with light, fresh sides like a winter salad, house salad with candied pecans, carrot salad, roasted broccoli, spinach casserole, Southern collard greens, okra and tomatoes, or roasted asparagus.

Preparation and Storage Tips
- The ham and cheese casserole isย best when served immediately, so I doย notย recommend preparing the dish in advance. The dish tends to get dry as the pasta soaks up more of the sauce the longer it sits.
- Leftovers will keepย in an airtight container in theย fridge for 3-4 days.
- Baked mac and cheeseย does not freeze well, since the cream-based sauce has a tendency to โbreakโ or separate when thawed.
- How to Reheat: Cover the dish and reheat leftover ham and cheese casserole in a 350ยฐF oven until warmed through, about 15-20 minutes. You can also reheat individual servings in the microwave for 1-2 minutes.


Did you make this recipe?
If you enjoyed this recipe, please leave a comment with a 5-star review at the bottom of the post. Thank you!
Recipe Variations
- Use leftoverย baked hamย from a previous meal, or purchaseย a package of diced hamย from the grocery store. You can also substitute with diced kielbasa or other sausage, leftover chicken or shredded rotisserie chicken, crispy bacon, pulled pork, or cooked ground beef.
- Add herbsย like fresh thyme to the cream mixture. A dash of ground mustard or garlic powder is also a nice touch.
- Try different types of cheese.ย For instance, swap out the cheddar or Gruyere and try white cheddar, Monterey Jack, Colby, Pepper Jack, Velveeta, or Gouda.
- Instead of the buttered breadcrumbs, use crushed Ritz crackers on top.
- Add vegetables! Stir sauteed mushrooms or onion, frozen peas, spinach, steamed (or parboiled) broccoli, or green beans right into the dish.
- I typically useย whole milk, but you can substitute withย 2% milk, half-and-half, or heavy cream. Just donโt use a lower fat milk like skim, or your sauce wonโt have that creamy mouthfeel and it will be more likely to curdle.
- Cooking for a larger family? Double all of the ingredients and bake the casserole in a 9 x 13-inch dish. You will likely need to increase the total baking time by about 5-10 minutes.

More Ham Casserole Recipes
Ham and Egg Casserole
55 minutes mins
Ham and Noodle Casserole
55 minutes mins
Scalloped Potatoes and Ham
1 hour hr 5 minutes mins
This recipe was originally published in February, 2022. It was updated in December, 2024.






















WOW
love your cooking an photos an easy directions
I added a bag of frozen corn in its own steam bag cooked 4 min instead of 6 min and this casserole was delicious! A family friendly meal. I especially love the rue base instead of a can of condensed soup. Thanks for sharing!
Yum! We’re so glad you enjoyed it, Catherine!