Get ready to experience pure comfort food bliss with this incredibly rich and creamy baked macaroni and cheese, which has won over thousands of families. This isn’t just any pasta dish, this is the kind that makes everyone fight for seconds, the kind that earns you raving compliments at every potluck, and the kind that inevitably becomes your signature dish. I remember the first time I tried to make mac and cheese from scratch; I was terrified that the sauce would break or the pasta would turn into mush. However, after some experimentation, I found that this method delivers restaurant-quality results using straightforward home cooking techniques.
What makes this the best baked macaroni and cheese recipe is the combination of sharp cheddar and nutty Gruyère cheese. This duo creates layers upon layers of complex, sophisticated flavor that remain incredibly comforting. The secret lies in the technique: you’ll make a silky smooth roux-based cheese sauce that coats every single piece of pasta, then layer the mac and cheese with extra shredded cheese in the middle and on top. This ensures every forkful delivers maximum cheesy goodness. When it emerges from the oven with its golden, slightly crispy cheese topping and bubbling edges, you’ll understand why this recipe is totally crave-worthy.
Whether you’re serving this as the ultimate comfort dinner, bringing it to a holiday gathering, or preparing it for game day, this recipe packs a punch. Best of all, while it looks and tastes impressive, it’s surprisingly simple to make, no fancy equipment or culinary degree required!

Table of Contents

The Ultimate Creamy Baked Macaroni and Cheese
Ingredients
For the Pasta:
- 1 lb dried elbow macaroni or cavatappi
- Water for boiling
- Salt for pasta water
- Splash of olive oil to prevent sticking
For the Cheese Sauce:
- ½ cup unsalted butter
- ½ cup all-purpose flour
- 1½ cups whole milk room temperature
- 2½ cups half and half room temperature
- ½ tablespoon salt
- ½ teaspoon black pepper
- ¼ teaspoon paprika smoked or sweet
For the Cheese Layers:
- 4 cups medium cheddar cheese freshly shredded (divided)
- 2 cups Gruyère cheese freshly shredded (divided)
Instructions
- Boil the Pasta: Bring a large pot of salted water to a rolling boil. Add pasta and cook for 1 minute less than package directions (al dente). Drain and toss with a splash of olive oil to prevent sticking.
- Prep the Cheese: Shred the Cheddar and Gruyère cheeses. Mix them together and divide into three piles: ~3 cups for the sauce, ~1½ cups for the middle layer, and ~1½ cups for the topping.
- Make the Roux: Preheat oven to 325°F and grease a 9×13-inch baking dish. Melt butter in a large saucepan over medium heat. Whisk in flour and cook for 1 minute until it smells nutty and looks like wet sand.
- Create the Sauce: Slowly whisk in half and half, followed by the milk. Cook over medium heat, whisking frequently, until thickened (coats the back of a spoon), about 8-10 minutes. Remove from heat.
- Melt the Cheese: Stir in salt, pepper, and paprika. Add the large portion (~3 cups) of shredded cheese to the sauce and stir until smooth and velvety.
- Combine & Layer: Pour the cheese sauce over the cooked pasta and stir to coat. Spread half the pasta mixture into the baking dish. Sprinkle with the middle layer portion (~1½ cups) of cheese. Top with remaining pasta.
- Bake: Sprinkle the final ~1½ cups of cheese over the top. Bake uncovered at 325°F for 15 minutes until bubbly and golden.
- Rest: Let rest for 5 minutes before serving to allow the sauce to set.
Notes
- Make-Ahead: You can prep this dish, cover, and freeze it. When ready, follow bake-from-frozen timing instructions.
- Texture Hack: To ensure a creamy sauce and crispy top, shred your own cheese rather than using pre-bagged varieties.
- Storage: Store leftovers in an airtight container in the fridge for 3-4 days. Reheat with a splash of milk to bring back the creaminess.
Nutrition
Ingredients
To get that perfectly glossy, decadent sauce, you need the right building blocks. Here is what you will need to whip this up:
- 1 lb dried elbow macaroni (or opt for cavatappi if you want fun spirals that hold extra sauce)
- ½ cup unsalted butter
- ½ cup all-purpose flour
- 1½ cups whole milk (at room temperature if possible for smoother blending)
- 2½ cups half and half (at room temperature if possible)
- ½ tablespoon salt
- ½ teaspoon black pepper
- ¼ teaspoon paprika (smoked paprika adds excellent depth without overpowering the cheese)
- 4 cups medium cheddar cheese, freshly shredded (divided – measured after shredding)
- 2 cups Gruyère cheese, freshly shredded (divided – measured after shredding)

Note: I highly recommend grating your own cheese rather than buying pre-shredded bags. Pre-shredded cheese is coated in cellulose to prevent clumping, which can make your sauce grainy instead of silky.
Instructions
1. Cook the Pasta Al Dente
Bring a large pot of salted water to a rolling boil over high heat. Add the elbow macaroni and cook for precisely 1 minute LESS than the package directions indicate for al dente (typically 4-5 minutes total). This is totally crucial because the pasta will continue cooking in the oven, and we want to avoid mushy mac and cheese at all costs. Drain the pasta thoroughly in a colander. I like to drizzle it with a tiny amount of olive oil and toss gently. Here, it stops the noodles from sticking together while they wait for their cheese bath.
2. Prepare the Cheese & Make the Roux
While your pasta water is heating, shred all your cheeses using a box grater or food processor. Freshly shredded really does melt SO much better! Divide the shredded cheese into three portions: approximately 3 cups for the sauce, 1½ cups for the middle layer, and 1½ cups for the topping.
Preheat your oven to 325°F and grease a 9×13-inch baking dish. Get ready to make the magic happen: In a large saucepan or Dutch oven, melt the butter over medium heat. Once melted and bubbling, sprinkle in the flour and whisk constantly for about 1 minute. You want the mixture to resemble wet sand and have a slightly nutty aroma. This is your roux, the foundation that makes this a creamy baked mac and cheese.
3. Create the Silky Cheese Sauce
Slowly pour in about 2 cups of the half-and-half while whisking constantly to prevent lumps. It might look a bit messy at first, but keep whisking! Continue until smooth, then gradually add the remaining half-and-half and all of the whole milk. Continue cooking over medium heat, whisking frequently, until the sauce has thickened significantly.
It should coat the back of a spoon and have the consistency of a thick soup (usually takes about 8-10 minutes). Remove from heat and stir in the salt, black pepper, and paprika. Add 1½ cups of the cheese mixture and stir vigorously until completely melted. Then, add another 1½ cups of cheese and stir again until you have a gloriously smooth, velvety cheese sauce with absolutely no lumps.
4. Layer, Assemble & Bake to Perfection
Pour the drained pasta into a large mixing bowl and add that vibrant cheese sauce, stirring thoroughly to ensure every piece of macaroni is completely coated. Now for the secret to the best baked mac and cheese: layering!
Pour half of this cheesy pasta mixture into your prepared baking dish, spreading it evenly. Sprinkle 1½ cups of the reserved shredded cheese over this layer. Then, top with the remaining pasta mixture, spreading it to the edges. Finally, crown the top with the last 1½ cups of shredded cheese. This ensures you get cheese in every bite, not just on top.
Bake uncovered for 15 minutes at 325°F. You’re looking for the cheese to be melted, with a bubbly texture around the edges and a lightly golden top. Let it rest for 5 minutes before serving. This resting time allows the sauce to set slightly, making it easier to serve perfect, creamy portions rather than a soupy mess.

Tips & Variations for the Best Baked Macaroni and Cheese
- Make-Ahead Baked Macaroni and Cheese: If you want to prep this for a holiday, you absolutely can! Make the recipe up to the point of baking (step 4), but do not bake it. Let it cool completely, cover tightly with foil, and refrigerate for up to 2 days. When you’re ready, bake at 350°F for about 30-40 minutes, or until hot and bubbly. You may need to add a splash of milk before reheating if the pasta looks dry. Gluten-Free Baked Macaroni and Cheese: To make this gluten-free without compromising flavor, swap the all-purpose flour for a 1:1 gluten-free flour blend in the roux, and use your favorite gluten-free elbow pasta. The technique remains the same!
- Achieving the Crispy Top: If you are someone who fights for the corner pieces, you can add a panko breadcrumb topping. Mix ½ cup panko with two tablespoons melted butter and sprinkle it over the final cheese layer before baking. It adds a fantastic textural crunch against the soft pasta.
- Spice it Up: For a “Tex-Mo” twist, try throwing in some diced jalapeños or a pinch of cayenne pepper into the sauce. It cuts through the richness beautifully.
- Cheese Blends: While Cheddar and Gruyère are my favorites, you can also experiment with a 5-cheese baked macaroni and cheese blend by adding small amounts of fontina (for meltiness), Parmesan (for saltiness), and even a little cream cheese for extra tang and density.

What to Serve With Baked Mac and Cheese
Since this dish is so rich and decadent, I like to pair it with sides that bring some acidity or crunch to the table. It balances the meal perfectly!
- Garlic-Roasted Broccoli: The crispy edges and earthy flavor of roasted broccoli pair well with the cheesy sauce.
- A Zippy Green Salad: Toss mixed greens with a sharp vinaigrette (made with lemon or apple cider vinegar). The acid cuts right through the heavy dairy, refreshing your palate between bites.
- BBQ Chicken or Ribs: If this mac and cheese is a side dish rather than the main event, it pairs perfectly with smoky, sweet BBQ flavors. The sauce from the meat mixed with the cheese sauce? Totally crave-worthy.
- Stewed Tomatoes: A classic Southern pairing! The acidity and sweetness of the tomatoes are a classic pairing with savory macaroni.
Baked Mac and Cheese FAQs
What is the secret to good baked macaroni?
The secret is avoiding pre-shredded cheese and not overcooking your pasta. Pre-shredded cheese contains anti-caking agents that prevent it from melting smoothly, resulting in a gritty sauce. Also, undercooking the pasta by one minute ensures it finishes perfectly in the oven, absorbing the sauce without turning mushy.
How to bake mac and cheese so it doesn’t?
To prevent dryness, make sure you have a high ratio of sauce to pasta; it should look slightly “soupy” before it goes into the oven because the pasta will absorb liquid as it bakes. Also, avoid overbaking; pull it out as soon as it’s browned and the cheese is melted. If you are reheating leftovers, add a splash of milk to restore the creaminess.
Can you cook macaroni pasta in the oven?
While there are “no-boil” recipes out there, for the best baked macaroni and cheese recipe, I strongly recommend boiling the pasta first. Cooking pasta directly in the oven with the sauce releases too much starch, often resulting in a gummy sauce and uneven texture. Par-boiling gives you control over the final texture.
Conclusion
This baked macaroni and cheese is truly one of those recipes that feels like a warm hug on a cold day. It’s cheesy and satisfying in a way that boxed mixes can’t compare to. Please give this version a try for your next family dinner or gathering; it may become a new tradition for you!
I’d love to hear how it turned out for you. Did you stick to the classic Cheddar-Gruyère combo or did you try a fun variation? Please drop a comment below and let me know! You’ve now enjoyed that cheesy goodness!