Baked Macaroni and Cheese
There is macaroni and cheese from a box, and then there is true Southern-style Baked Macaroni and Cheese—a dish so deeply comforting and decadent that it rightfully steals the spotlight at any holiday table or Sunday dinner. This is the ultimate from-scratch recipe, featuring tender elbow pasta swimming in a velvety luxurious cheese sauce, all baked until the interior is molten and the top forms a glorious golden-brown crust. It abandons artificial powders in favor of a classic roux-based sauce blending sharp cheddar and nutty gruyere, resulting in a complex adult-friendly flavor profile that kids still absolutely devour. Whether you are hosting Thanksgiving, attending a neighborhood potluck, or simply craving the ultimate savory comfort food on a rainy weekend, this recipe is guaranteed to impress. You will want to bookmark this one because once you experience the contrast between the crispy baked edges and the ultra-creamy center, you will never look at pasta the same way again.
Why You’ll Love This Baked Macaroni and Cheese
- The perfect textural contrast: The beauty of baking macaroni and cheese lies in the textures. The high heat of the oven creates a beautifully crisp, slightly chewy, caramelized cheese crust on top and around the edges of the pan, which contrasts perfectly with the soft pasta and silky sauce underneath.
- Incredibly rich, from-scratch sauce: By making a simple homemade cheese sauce starting with butter and flour, you create a thick velvety texture that coats every single noodle. It is infinitely richer and more complex than anything you can achieve with a pre-packaged mix.
- The ultimate crowd-pleaser: Macaroni and cheese is universally beloved. This elevated baked version feels special enough to serve alongside a holiday roast, yet comforting enough to be the main course for a casual family dinner. It is always the first dish to disappear at gatherings.
Ingredients for Baked Macaroni and Cheese & Key Notes
Creating the ultimate cheese sauce requires a few specific, high-quality ingredients. You will need standard elbow macaroni, cooked just until al dente so it does not turn to mush in the oven. The foundation of the sauce is a classic roux made from equal parts unsalted butter and all-purpose flour, whisked together until smooth. Whole milk provides the creamy liquid base; avoid using skim milk, as the fat content in whole milk is necessary for a smooth cohesive sauce. The star of the dish is the cheese blend. A high-quality sharp cheddar provides the classic robust flavor and beautiful orange color, while gruyere cheese adds an incredible creamy melting texture and a sophisticated nutty depth. You must shred these cheeses by hand from a block for the best melt. Finally, a pinch of smoked paprika, garlic powder, salt, and black pepper subtly elevates the flavor of the cheese without overpowering it.
How to Make Baked Macaroni and Cheese
- Cook the pasta: Bring a large pot of salted water to a rolling boil. Add the elbow macaroni and cook it for one to two minutes less than the package directions specify. The pasta needs to be quite firm (al dente) because it will continue to cook and absorb moisture while baking in the cheese sauce. Drain well and set aside.
- Create the roux: In a large heavy-bottomed pot or Dutch oven, melt the unsalted butter over medium heat. Once melted, sprinkle the all-purpose flour evenly over the butter. Whisk constantly for about two minutes. The mixture will bubble and turn a light golden color, cooking off the raw flour taste and creating the thickening base for your sauce.
- Build the creamy base: Slowly pour the whole milk into the pot, whisking vigorously and continuously to prevent any lumps from forming. Continue to cook and whisk the mixture over medium heat for about five to seven minutes, until the milk thickens enough to lightly coat the back of a spoon. Remove the pot from the heat.
- Melt the cheese: Stir the smoked paprika, garlic powder, salt, and black pepper into the thickened milk. Add the freshly shredded sharp cheddar and gruyere cheeses, reserving about one cup of the cheddar for the topping. Stir gently until the cheese is completely melted and the sauce is unbelievably smooth and silky.
- Combine and bake: Fold the cooked macaroni into the cheese sauce until every noodle is perfectly coated. Pour the entire mixture into a greased 9×13-inch baking dish. Sprinkle the reserved sharp cheddar evenly over the top. Bake uncovered in a 350-degree Fahrenheit oven for twenty-five to thirty minutes, until the cheese is bubbling vigorously and the edges are beautifully golden brown.
Tips for Perfect Baked Macaroni and Cheese
- Grate the cheese yourself: This is the single most important rule for homemade macaroni and cheese. Pre-shredded bagged cheese is coated in starches that prevent clumping in the bag, but those same starches prevent the cheese from melting smoothly, resulting in a grainy broken sauce.
- Remove from heat before adding cheese: When you are ready to melt the cheese into your thickened milk base, take the pot completely off the hot burner. Boiling cheese causes the proteins to seize and separate from the fat, which can turn your luxurious sauce greasy and stringy.
- Do not overcook the pasta: Boiling the elbow macaroni until it is completely soft will result in a mushy disappointing casserole. It must be slightly undercooked on the stovetop so it can absorb the creamy cheese sauce in the oven while retaining a pleasant bite.
- Warm the milk slightly: If you add ice-cold milk to your hot butter and flour roux, it can splatter and form lumps quickly. Taking the chill off the milk by microwaving it for a minute before pouring it into the pot ensures a perfectly smooth sauce.
Baked Macaroni and Cheese Variations & Substitutions
- Add a crunchy topping: For an incredible textural addition, mix one cup of panko breadcrumbs with two tablespoons of melted butter and a pinch of salt. Sprinkle this mixture over the top of the cheese layer before baking for a glorious crispy crust.
- Experiment with the cheese blend: While cheddar and gruyere are classic, you can customize the flavor profile. Try swapping the gruyere for a smoked gouda for a deeply savory campfire flavor, or add a handful of parmesan for a salty umami kick.
- Make it a meal: To turn this decadent side dish into a complete hearty dinner, fold in two cups of chopped broccoli florets and two cups of shredded leftover roasted chicken or turkey before pouring the mixture into the baking dish.
Baked Macaroni and Cheese FAQ
Why did my cheese sauce turn out grainy?
Grainy cheese sauce is usually caused by one of two things: either using pre-shredded bagged cheese, or adding the cheese while the pot was still over high heat. Always use freshly grated block cheese and stir it into the milk mixture entirely off the heat to maintain a silky texture.
Can I assemble this ahead of time?
Yes, you can make this ahead, but the pasta will absorb the sauce as it sits in the fridge. Assemble the dish completely, cover tightly, and refrigerate for up to two days. Before baking, let it sit on the counter for thirty minutes to take the chill off, and expect a slightly firmer, less saucy final result.
What is the best way to reheat leftovers?
To revive the creamy texture, place a portion in a microwave-safe bowl and stir in a splash of milk. Microwave on medium power, stirring halfway through, until hot. Alternatively, reheat larger portions covered in foil in a 325-degree oven until bubbling.

Baked Macaroni and Cheese
Ingredients
Equipment
Method
- Preheat your oven to 350°F (175°C). Grease a 9x13-inch baking dish.
- Bring a large pot of salted water to a boil. Cook the elbow macaroni 1-2 minutes shy of al dente according to package directions. Drain well and set aside.
- In a large heavy pot or Dutch oven, melt the butter over medium heat. Sprinkle in the flour and whisk constantly for 2 minutes to cook the flour.
- Slowly pour in the warm milk while whisking vigorously to prevent lumps. Continue to cook and whisk over medium heat for 5-7 minutes until the sauce has thickened.
- Remove the pot from the heat. Stir in the salt, pepper, garlic powder, and smoked paprika.
- Add the grated gruyere and 2 cups of the grated cheddar cheese. Stir gently off the heat until the cheese is completely melted and the sauce is smooth.
- Fold the cooked macaroni into the cheese sauce until well coated. Pour the mixture into the prepared baking dish.
- Sprinkle the remaining 1 cup of cheddar cheese evenly over the top. Bake uncovered for 25 to 30 minutes, until bubbly and golden brown on top.

