Classic Baked Mac and Cheese Recipe
In this article
This is the mac and cheese you remember from childhood dinners: tender elbow macaroni folded into a rich, creamy cheddar sauce, topped with a golden, buttery breadcrumb crust. It works because it uses a classic roux-based béchamel, which gives you a smooth, stable sauce that won't break or turn grainy when baked. The result is a comforting, crowd-pleasing casserole that's perfect for weeknight dinners, holidays, and potlucks.
Ingredients
- 1 pound (16 oz) elbow macaroni (or similar short pasta)
- 4 tablespoons (1/2 stick) unsalted butter, plus more for greasing the dish
- 1/4 cup all-purpose flour
- 3 cups whole milk, warmed
- 1 teaspoon dry mustard powder
- 1/2 teaspoon garlic powder
- 1/2 teaspoon onion powder
- 1/2 teaspoon salt, plus more for pasta water
- 1/4 teaspoon black pepper
- 3 cups (12 oz) sharp cheddar cheese, shredded
- 1 cup (4 oz) Gruyère or Monterey Jack cheese, shredded
- 1/2 cup panko breadcrumbs
- 2 tablespoons unsalted butter, melted (for topping)
Instructions
- Preheat your oven to 375°F (190°C). Grease a 9x13-inch baking dish with butter or nonstick spray.
- Bring a large pot of salted water to a boil. Cook the macaroni according to package directions until just al dente (about 1-2 minutes less than the recommended time, since it will bake further). Drain and set aside.
- While the pasta cooks, make the cheese sauce. In a large saucepan or Dutch oven, melt the 4 tablespoons of butter over medium heat. Add the flour and whisk constantly for 1-2 minutes until the mixture is bubbly and lightly golden (this is the roux). Do not let it brown.
- Slowly pour in the warm milk, whisking continuously to prevent lumps. Continue whisking until the sauce thickens and comes to a gentle simmer, about 3-5 minutes. It should coat the back of a spoon.
- Remove the saucepan from the heat. Stir in the dry mustard, garlic powder, onion powder, salt, and black pepper. Then add the shredded cheddar and Gruyère (or Monterey Jack) in handfuls, stirring until each addition is fully melted and the sauce is smooth.
- Add the cooked macaroni to the cheese sauce and stir until every piece is coated. Pour the mixture into the prepared baking dish and spread it evenly.
- In a small bowl, mix the panko breadcrumbs with the 2 tablespoons of melted butter. Sprinkle this evenly over the top of the mac and cheese.
- Bake uncovered for 20-25 minutes, until the top is golden brown and the edges are bubbly. Let it rest for 5-10 minutes before serving—this helps the sauce set slightly and prevents it from being too runny.
Tips
- Shred your own cheese: Pre-shredded bagged cheese contains anti-caking agents that can make the sauce grainy. Shredding from a block gives a smoother, creamier result.
- Don't overcook the pasta: Undercook by about 1-2 minutes. The pasta will absorb sauce and continue cooking in the oven, so starting al dente prevents mushy mac.
- Warm the milk: Adding cold milk to a hot roux can cause lumps. Heat the milk in the microwave or a small pot until warm to the touch before whisking it in.
- Make it ahead: Assemble the dish (without the breadcrumb topping) up to 24 hours in advance. Cover and refrigerate. Add the topping just before baking, and increase the bake time by 5-10 minutes.
Serving Suggestions
This baked mac and cheese is a hearty side dish that pairs well with roasted chicken, grilled steak, pulled pork, or a simple green salad. It's also a satisfying main course when served with steamed broccoli or a side of garlic bread. For a classic Southern-style meal, serve it alongside fried chicken and collard greens.
Variations
- Add protein: Stir in 1-2 cups of cooked, crumbled bacon, diced ham, or shredded rotisserie chicken before baking.
- Spice it up: Add 1/2 teaspoon of cayenne pepper or a few dashes of hot sauce to the cheese sauce for a kick.
- Different cheeses: Substitute the Gruyère with smoked gouda, fontina, or extra sharp white cheddar for a different flavor profile.
- Add vegetables: Fold in 1 cup of cooked peas, sautéed mushrooms, or roasted cherry tomatoes for extra color and nutrition.
- Crunchy topping: Swap the panko for crushed Ritz crackers or potato chips mixed with melted butter for a different texture.
Storage and Reheating
Store leftover mac and cheese in an airtight container in the refrigerator for up to 4 days. To reheat, place individual portions in the microwave for 1-2 minutes, stirring halfway. For a crispier top, reheat in a 350°F (175°C) oven for 10-15 minutes, covered with foil to prevent drying out. You can also freeze the baked mac and cheese for up to 3 months—thaw overnight in the fridge before reheating.
Frequently Asked Questions
Why is my cheese sauce grainy?
A grainy sauce usually happens when the cheese is added too quickly or at too high a heat. Always remove the saucepan from the heat before adding cheese, and stir in small handfuls until fully melted. Also, avoid using pre-shredded cheese with anti-caking agents.
Can I use half-and-half or cream instead of milk?
Yes, you can substitute part or all of the milk with half-and-half or heavy cream for a richer, creamier sauce. Just be aware that a higher fat content can make the sauce slightly thicker, so you may need to add a splash more liquid if it seems too thick.
Can I make this gluten-free?
Absolutely. Use gluten-free elbow pasta and substitute the all-purpose flour with a 1:1 gluten-free flour blend. For the topping, use gluten-free panko or crushed gluten-free crackers. The rest of the recipe remains the same.
Why does my mac and cheese turn out dry after baking?
This usually happens when the sauce is too thick before baking or the dish is baked too long. Make sure your sauce is slightly thinner than you think it should be—it will thicken as it bakes. Also, don't overbake; 20-25 minutes is usually enough. If you're reheating leftovers, add a splash of milk before reheating to restore creaminess.
Can I prepare this without the breadcrumb topping?
Yes, you can skip the topping entirely for a stovetop-style creamy mac and cheese. Just bake for 15-20 minutes without the breadcrumbs, or serve it straight from the pot after mixing. If you want a crust without breadcrumbs, you can sprinkle extra cheese on top before baking.
What's the best pasta shape to use?
Elbows are classic, but any short pasta with nooks and crannies works well—cavatappi, shells, rotini, or penne. The ridges and curves help hold the cheese sauce, giving you more flavor in every bite.