Appetizers
This baked garlic mac and cheese recipe delivers the perfect balance of crispy golden edges and a gooey, cheesy center—every time. The secret lies in a double-bake technique that transforms ordinary mac and cheese into a restaurant-worthy dish. I’ve perfected this version over years of testing, ensuring the garlic flavor infuses deeply while maintaining that signature creamy texture.
Start with elbow macaroni cooked to al dente perfection, then mix in a velvety cheese sauce made with sharp cheddar, Gruyère, and a touch of cream cheese for richness. The garlic comes in two ways: roasted for depth and fresh for brightness, both blended into the sauce for maximum flavor.
A crispy breadcrumb topping, toasted with butter and garlic powder, seals in the moisture and creates that coveted crunch.
Baking at 375°F for 20-25 minutes ensures the top becomes golden and crispy while the center stays gloriously gooey. The result is a dish that’s hearty enough for a main course but simple enough for a weeknight dinner.
Serve with a side salad or steamed vegetables to balance the richness, or enjoy it as-is for a comforting, cheesy feast.
The beauty of this recipe is its versatility—add roasted garlic for extra intensity, stir in truffle oil for a gourmet twist, or keep it classic with just the right amount of garlic and cheese. Once you try this double-baked version, you’ll never go back to the basic stovetop method again.
Ingredients for baked garlic mac and cheese
Six ingredients transform into a restaurant-quality baked garlic mac and cheese with crispy edges and gooey center.
| Ingredient | Amount | Notes |
|---|---|---|
| Elbow Macaroni 🍝 | 1 ½ lb | Cooked al dente, drained |
| Sharp Cheddar Cheese 🧀 | 2 cups | Shredded, aged 6+ months |
| Gruyère Cheese 🧀 | 1 cup | Shredded, nutty flavor |
| Cream Cheese 🧈 | 8 oz | Full-fat for creaminess |
| Heavy Whipping Cream 🥛 | ½ cup | Full-fat preferred |
| Whole Milk 🥛 | ½ cup | Warmed for smooth sauce |
| Roasted Garlic Cloves 🧄 | 4 whole | Blended into paste |
| Fresh Garlic Cloves 🧄 | 4 cloves | Minced for brightness |
| Unsalted Butter 🧈 | ½ cup | Melted for topping |
| Panko Breadcrumbs 🍞 | ½ cup | Toasted for crispiness |
| Garlic Powder 🧄 | 1 tbsp | For topping flavor |
| Diamond Crystal Kosher Salt 🧂 | 1 ½ tsp | Adjust to taste |
| Freshly Ground Black Pepper 🌶️ | ½ tsp | Freshly cracked |
| Nutritional Yeast 🍃 | 2 tbsp | Optional umami boost |
The cheeses are the stars here—Gruyère adds nutty depth while sharp cheddar delivers that classic tang. Grab aged cheddar (6+ months) from the deli section for maximum flavor. Whole milk and heavy cream create the velvety base, but don't cut corners: low-fat versions thin the sauce. For the roasted garlic, wrap whole cloves in foil, bake at 400°F for 30 minutes until caramelized. Penzeys or local specialty stores often carry high-quality Gruyère if your regular grocery store lacks it.
No Gruyère? Parmesan or fontina work in a pinch, though the flavor profile shifts slightly. Fresh garlic is non-negotiable for brightness—dried powder lacks the punch. The breadcrumbs should be panko-style for maximum crispiness; regular breadcrumbs get soggy. For extra richness, add 2 tbsp of truffle oil to the cheese sauce. The nutritional yeast is optional but adds a cheesy, umami note that elevates the dish—Bob's Red Mill makes a great organic version. If you're watching calories, reduce the butter by half and use olive oil instead.
Prep the macaroni ahead and store it in the fridge for up to 2 days before baking. The assembled casserole keeps 3-4 days refrigerated, though it reheats best. For freezing, bake the dish, cool completely, then wrap tightly—3 months in the freezer. Reheat covered at 350°F until bubbly. The double-bake technique means the first 15 minutes at 375°F build the crust, then reduce to 350°F to finish gently. Don't skip the final 5 minutes under the broiler for that golden finish.
Why You'll Love This Recipe
- One-Pot Magic: I swear by this—no extra bowls, no sticky mess. Toss the cooked pasta with the cheeses, cream, and garlic right in the baking dish, then bake. The heavy cream and cream cheese blend into that perfect sauce without a single whisk in sight.
- Garlic-Gruyère Dream Team: That nutty Gruyère melts into gooey perfection while the sharp cheddar adds bite. Honestly, the garlic-infused cream? It’s the star—savory, rich, and just enough to make you want a second helping right away.
- Leftovers? Please.: This recipe actually improves the next day. The cheeses settle into that creamy, pull-apart texture, and the garlic flavor deepens. I meal prep it all the time—reheats in minutes, tastes like you spent hours on it.
- Budget-Friendly Luxury: Sharp cheddar and Gruyère stretch farther than you’d think, especially with the cream cheese cutting the cost. It’s the kind of dish that feels fancy (thanks to that Gruyère crunch) but won’t break the bank—my wallet and my taste buds approve.
Step-by-step instructions for baked garlic mac and cheese
Master this double-baked technique for a perfect crispy crust and creamy center every time.
Cook and Prepare the Macaroni
Bring a large pot of water to a rolling boil and add the 1.5 lb elbow macaroni. Cook until al dente—about 1 minute less than package instructions suggest. This ensures the pasta stays firm enough to hold its shape when baked. Drain immediately and return the pasta to the pot.
While still hot, toss the drained pasta with 2 tablespoons nutritional yeast to add that signature umami depth. I like to do this right away because the yeast blends better when the pasta is warm. The pasta should be completely coated and slightly glossy from the yeast.
Create the Garlic Cheese Sauce
In a large mixing bowl, combine the 2 cups sharp cheddar cheese, 1 cup gruyère cheese, and 8 oz cream cheese. Cut the cream cheese into small cubes first—this helps it melt more evenly. Microwave for 15-20 seconds to soften slightly if needed, but don't melt it completely.
Add the 0.5 cup heavy whipping cream and 0.5 cup whole milk (warm the milk slightly for a smoother sauce). Stir in the 4 whole roasted garlic cloves (blended into a paste) and 4 minced fresh garlic cloves for that perfect balance of roasted depth and fresh brightness. Mix until completely smooth, then add the cooked macaroni and combine thoroughly.
Season and Assemble the First Bake
Transfer the macaroni mixture to a 9x13-inch baking dish, spreading it evenly. Sprinkle the top with 1.5 teaspoons kosher salt and 0.5 teaspoon freshly ground black pepper. The salt should be distributed evenly—this is where the flavor really comes together.
Cover the baking dish tightly with foil and bake at 350°F for 25 minutes. This initial bake lets the cheese fully melt and the flavors meld. You'll know it's ready when the edges begin to set slightly and the center is just starting to bubble.
Prepare the Crispy Topping
While the macaroni bakes, prepare the topping by melting the 0.5 cup unsalted butter in a small saucepan over low heat. Stir in the 0.5 cup panko breadcrumbs and 1 tablespoon garlic powder until the mixture is evenly coated and slightly toasted—about 2 minutes. Remove from heat and let cool slightly.
After the initial bake, remove the pan from the oven and spread the butter-breadcrumb mixture evenly over the top. Press down gently with a spatula to create an even layer. This step is crucial for that perfect crispy crust that contrasts with the creamy center.
Bake to Golden Perfection
Return the baking dish to the oven and bake uncovered at 375°F for 15-20 minutes, until the topping is deep golden brown and the edges are bubbling. The center should still be creamy—this is what makes it perfect. If the topping browns too quickly, tent loosely with foil for the last 5 minutes of baking.
Let the mac and cheese rest for 10 minutes before serving. This resting time allows the cheese to set slightly, making it easier to slice and preventing a runny mess. Serve immediately with a side of crusty bread to soak up every last bit of that garlicky, cheesy goodness.
Pro Tips For Making Baked Garlic Mac And Cheese
- Preheat Like It’s 1999: DESCRIPTION: Your oven should hit 375°F and sit for at least 15 minutes before baking—no exceptions. I learned this the hard way when my first batch emerged with a sad, uneven bake. The pan needs that time to mirror the heat, so the cheese melts evenly and the top gets that golden, crispy crust without burning the edges.
- Grate Cheese Fresh: DESCRIPTION: Skip the pre-shredded cheese unless you’re desperate—it’s coated with anti-caking agents that make the sauce grainy. Use a box grater for sharp cheddar and Gruyère, and toss in a handful of cream cheese cubes (no grating needed) for that ultra-creamy texture. Trust me, your mac will taste like it came from a restaurant, not a box.
- Don’t Overmix the Sauce: DESCRIPTION: Stir the cheese sauce just until it’s smooth—no more. Overworking it turns it gluey, and suddenly you’ve got a sad, stretchy mess instead of a velvety blanket for your pasta. A few lumps? That’s fine. Lumpy is better than gummy. (Yes, even if you’re impatient like me.)
- Bake Covered, Then Unleash the Crust: DESCRIPTION: Start with foil tented loosely over the dish for the first 20 minutes—this keeps the cheese from seizing up. Then remove the foil and crank the broiler for 2-3 minutes to get that caramelized top. Watch it like a hawk, or you’ll end up with a disaster. (Your future self will thank you.)
Dietary considerations for this dish
Gluten-Free Adaptation
Swap elbow macaroni for gluten-free pasta like Barilla GF or Jovial—both hold up well in baking. Use 1.5 lb gluten-free pasta, cooked al dente, and toss with 1 tbsp cornstarch (or arrowroot powder) to prevent stickiness.
The texture will be slightly firmer, so add 2 tbsp extra milk to the cheese sauce for creaminess. 🥗
Dairy-Free Version
Replace cheeses with dairy-free alternatives: 1.5 cups sharp cheddar-style vegan cheese (like Violife) and 1 cup vegan Gruyère (Miyoko's brand works well). Substitute cream cheese with 8 oz vegan cream cheese (Kite Hill), and use full-fat coconut milk instead of heavy cream.
The sauce will be lighter but still rich.
Lower-Carb Option
Cut carbs by using cauliflower rice (4 cups, steamed) instead of pasta. Mix with the cheese sauce and bake in a 9x9-inch dish for 20 minutes at 375°F. For extra binding, stir in 2 tbsp almond flour with the breadcrumbs.
This version is lighter but still packed with cheesy flavor. 💪
Nut-Free Considerations
Skip the breadcrumb topping and use crushed potato chips (like Lay's Classic) or toasted oats for crispiness. For extra crunch, sprinkle 1 tbsp cornflakes on top before baking. These alternatives avoid nuts while keeping the texture satisfying.
Vegetarian-Friendly
This recipe is already vegetarian, but ensure your cheeses are vegetarian-certified (some whey-based cheeses use animal rennet). For extra protein, stir in 1 cup cooked lentils** (drained) with the macaroni. The lentils add heartiness without altering the creamy texture significantly.
Nutrition facts
Frequently asked questions
Why does my baked mac and cheese get watery?
Overcooking the pasta or using too much liquid in the cheese sauce are the most common culprits. Always cook pasta al dente (1 minute less than package instructions) and drain it completely. For the sauce, use full-fat dairy products—low-fat versions add moisture. The double-bake method helps set the cheese properly, but if it's still watery, bake an extra 5-10 minutes covered with foil.
Can I make this ahead of time?
Yes! Assemble the dish up to 2 days in advance and refrigerate uncovered. When ready to bake, add 10-15 minutes to the baking time (cover with foil for the first 20 minutes at 350°F). For freezing, bake the dish first, cool completely, then wrap tightly. Freeze for up to 3 months and reheat covered at 350°F until bubbly.
What's the best cheese substitute if I can't find Gruyère?
Use Parmesan or fontina for a similar meltiness, but expect a slightly different flavor profile. For extra richness, add 1/4 cup extra sharp cheddar. If you're avoiding dairy, nutritional yeast (2 tbsp) adds a cheesy depth to the sauce. Always shred your own cheese—pre-shredded versions contain anti-caking agents that make the sauce grainy.
How do I get the perfect crispy topping?
The key is in the breadcrumb mixture—use panko (not regular breadcrumbs) and toast it with butter and garlic powder until golden. Spread it evenly and press down firmly before baking. For extra crispiness, broil for 1-2 minutes at the very end (watch closely to avoid burning). If your topping isn't crispy enough, bake at 400°F for the final 5 minutes uncovered.
Can I add other vegetables to this recipe?
Finely chopped spinach, broccoli, or roasted mushrooms work beautifully—just stir them in after the pasta is cooked. For heartier additions like bacon or caramelized onions, cook them first and mix in with the cheese sauce. Keep portions small (about 1 cup total) to maintain the creamy texture. Avoid watery vegetables like zucchini or tomatoes.
