Appetizers
This baked garlic mac and cheese recipe delivers the perfect balance of crispy golden edges and velvety, garlic-infused cheese that transforms a simple comfort food into something extraordinary. The secret lies in a rich, aromatic cheese sauce infused with roasted garlic and a buttery breadcrumb topping that creates that coveted crunch. I've perfected this method over years of testing, ensuring every bite delivers maximum flavor without sacrificing that melt-in-your-mouth texture.
The recipe begins with perfectly cooked elbow macaroni, tossed in a luxurious cheese sauce that's been slowly built with sharp cheddar, Gruyère, and a touch of cream cheese for that signature creaminess.
What sets this apart is the roasted garlic—slowly caramelized until sweet and mellow—infused throughout the sauce, creating layers of flavor that elevate this classic dish. The sauce is then topped with a golden, crispy breadcrumb crust that adds both texture and visual appeal.
What you'll end up with is a dish that looks like it belongs on a fine-dining menu but comes together with simple pantry staples and basic techniques.
The macaroni stays tender and al dente, the cheese sauce is rich yet not overly heavy, and that crispy crust adds just the right amount of crunch. It's the kind of recipe that brings people together—whether for a casual weeknight dinner or a special occasion.
This baked mac and cheese serves 6-8 and can be prepped ahead, making it perfect for meal planning. The dish holds together beautifully when reheated, so you can assemble it in advance and bake when ready.
Garnish with extra crispy breadcrumbs, chopped parsley, or a sprinkle of smoked paprika for added depth. Let's get started on creating this restaurant-quality comfort food at home.
Ingredients for baked garlic mac and cheese
Simple pantry staples transform into restaurant-quality baked garlic mac and cheese.
| Ingredient | Amount | Notes |
|---|---|---|
| Elbow Macaroni 🍝 | 12 oz | Dry, medium or elbow shape |
| Extra-Sharp Cheddar Cheese 🧀 | 2 cups | Shredded, block preferred |
| Gruyère Cheese 🧀 | 1 cup | Shredded, aged for depth |
| Cream Cheese 🧈 | 8 oz | Full-fat, room temperature |
| Heavy Whipping Cream 🥛 | 1 cup | Full-fat for creaminess |
| Whole Milk 🥛 | ½ cup | Warmed for smooth sauce |
| Fresh Garlic Cloves 🧄 | 8 cloves | Roasted until caramelized |
| Unsalted Butter 🧈 | 4 tbsp | Cold, cubed for roasting |
| All-Purpose Flour 🌾 | 2 tbsp | For thickening sauce |
| Panko Breadcrumbs 🍞 | 1 cup | For crispy topping |
| Granulated Garlic Powder 🧄 | 1 tsp | Extra garlic flavor |
| Smoked Paprika 🌶️ | ½ tsp | For subtle smokiness |
| Diamond Crystal Kosher Salt 🧂 | 1 ½ tsp | Adjust to taste |
| Freshly Ground Black Pepper 🌶️ | ½ tsp | Freshly cracked |
The cheeses make all the difference here. Gruyère adds nutty depth while sharp cheddar delivers that signature tang—don't skimp on quality. I always grab block cheddar from the deli counter and shred it myself (pre-shredded gets clumpy). For Gruyère, Whittard of Chelsea or any specialty cheese shop has great options. The cream cheese is non-negotiable—full-fat gives that signature creaminess. Roasting the garlic with butter until caramelized (about 20 minutes at 400°F) creates that sweet, mellow flavor that separates this from basic mac and cheese.
No Gruyère? Parmesan or fontina work in a pinch, though the flavor profile changes. Short on sharp cheddar? Extra-sharp white cheddar or even Pecorino Romano adds a different but delicious twist. The panko breadcrumbs are key for that crispy crust—Trader Joe's has the best-priced bagged version. For extra richness, add 1/4 cup grated Parmesan to the topping mix. The flour is just for thickening, but if you're gluten-free, cornstarch or gluten-free flour blend works perfectly. And yes, you can make this dairy-free with vegan cheeses and cashew cream, but it won't be the same.
This dish reheats beautifully—actually tastes better the next day as flavors meld. Assemble it ahead and refrigerate for up to 24 hours before baking. For make-ahead meals, portion into greased baking dishes and freeze for up to 3 months. Thaw overnight in the fridge before baking. The breadcrumb topping stays crispy if you broil for 2-3 minutes at the end. Garnish with extra crispy breadcrumbs or chopped parsley right before serving—smoked paprika adds a nice finishing touch too. Leftovers keep 4-5 days in the fridge, though they rarely last that long.
Why You'll Love This Recipe
- One-Pot Magic: I swear by this—just toss everything in one baking dish, no straining, no extra bowls. The macaroni cooks right in the cheesy sauce, and honestly? That’s my kind of cooking.
- Garlic-Gruyère Dream: The Gruyère melts into this velvety blanket while the sharp cheddar adds bite, and that minced garlic? Oh, it infuses the cream cheese sauce until every bite feels like a hug. Between us, it’s the only mac I’ll make now.
- Leftovers That Win: This reheats like a champ—crispy top, gooey center, no drying out. I make a double batch on Sundays because my kids (and my lazy self) will eat it for lunch the next two days without complaint.
- Budget Comfort Food: Elbow mac and a handful of cheeses? This feeds four for under $10. It’s the kind of dish that makes you feel fancy without breaking the bank, and somehow still tastes like love. (Yes, even on a Tuesday night.)
Step-by-step instructions for baked garlic mac and cheese
Here's how to create a perfectly balanced dish with a crispy golden crust and rich, garlicky cheese filling.
Roast the Garlic for Maximum Flavor
Preheat your oven to 400°F. Peel the 8 cloves fresh garlic and place them on a small baking sheet lined with parchment paper. Drizzle with 1 tablespoon olive oil (not listed but commonly used) and sprinkle with a pinch of the diamond crystal kosher salt. Roast for 15-20 minutes until the edges are golden brown and the cloves are soft and caramelized.
This roasting step develops deep, sweet garlic flavors that infuse the entire dish. You'll know they're ready when they smell intensely aromatic and the edges have turned a beautiful golden brown. Let them cool slightly before mincing—this makes them much easier to work with and prevents burning your fingers.
Cook the Pasta and Prepare the Cheese Sauce
Boil the 12 oz elbow macaroni in salted water according to package directions until al dente—about 1 minute less than suggested. Drain and set aside. In a large skillet, melt 4 tbsp unsalted butter over medium heat. Add the minced roasted garlic and cook for 30 seconds until fragrant.
Whisk in the 2 tbsp all-purpose flour and cook for 1 minute to create a roux. Gradually add the 1 cup heavy whipping cream and 0.5 cup whole milk while whisking constantly to prevent lumps. Bring to a gentle simmer and cook for 3-4 minutes until slightly thickened.
Combine Cheeses for Ultimate Creaminess
Reduce heat to low and add the 2 cups extra-sharp cheddar cheese, 1 cup gruyère cheese, and 8 oz cream cheese all at once. Stir constantly until completely melted and smooth—this should take about 3-4 minutes. Season with 1.5 tsp diamond crystal kosher salt, 0.5 tsp freshly ground black pepper, and 1 tsp granulated garlic powder.
Add the cooked pasta and mix thoroughly until every strand is coated in the creamy cheese sauce. The mixture should be thick but still pourable. If it's too thick, add 1-2 tablespoons of pasta water to loosen it. Taste and adjust seasoning if needed—this is where the flavors come together, so don't rush this step.
Assemble and Bake for Golden Crust
Transfer the macaroni mixture to a greased 9x13-inch baking dish. In a small bowl, combine 1 cup panko breadcrumbs with 0.5 tsp smoked paprika and 1 tablespoon melted butter. Sprinkle this mixture evenly over the top of the macaroni, pressing down gently to ensure good coverage.
Bake at 375°F for 20-25 minutes until the top is golden brown and the edges are bubbling. The key is to watch closely after 20 minutes—ovens vary, and you want that perfect crispy crust without burning. For extra browning, broil for 1-2 minutes at the end, watching carefully to prevent burning.
Rest and Serve for Perfect Texture
Remove from the oven and let rest for 5-10 minutes before serving. This resting period allows the cheese to set slightly, making it easier to slice and preventing a runny mess. The internal temperature should reach 165°F at the center.
Cut into squares and serve immediately. Each bite should deliver a perfect balance of creamy, garlicky cheese filling with a crispy, golden crust. The gruyère adds depth, the cheddar provides sharpness, and the roasted garlic ties it all together. For extra flair, garnish with additional black pepper and a sprinkle of smoked paprika.
Pro Tips For Making Baked Garlic Mac And Cheese
- Preheat Like It’s 1985: Your oven should hit 375°F and sit for 15 minutes before baking—no exceptions. I learned this the hard way when my first batch came out uneven because the pan was cold. Trust me, the cheese sauce needs that hot start to melt into a silky blanket, not a sad, lumpy mess.
- Shred Cheese Like a Pro: Skip the food processor for Gruyère and cheddar—hand-grate it instead. The extra air pockets make the sauce creamier, and you avoid that dreaded grainy texture. (Yes, it takes 10 minutes, but your future mac and cheese will thank you.)
- Don’t Rush the Cream: Warm the heavy whipping cream in a separate saucepan until it’s steaming but not boiling before mixing it into the cheese. Cold cream shocks the sauce and makes it separate—like a bad breakup. A few minutes of patience keeps everything smooth.
- Broil for 3 Minutes: The final broil isn’t just for looks—watch it like a hawk and pull it out at the first sign of golden brown. Overdo it, and you’ll burn the top while the bottom stays doughy. (I’ve done it. You don’t want to either.)
Regional styles of this recipe
Southern Comfort Style
In the South, mac and cheese often gets a hearty, extra-cheesy twist with additions like diced ham or smoked bacon.
I like to fold in ½ cup cooked diced ham (like Hormel Black Label) into the cheese sauce before baking—it adds a salty, savory depth that balances the richness. For extra indulgence, sprinkle ½ cup crushed Ritz crackers mixed with 2 tbsp melted butter on top instead of panko.
Bake at 375°F for 22-25 minutes until bubbly and golden. This version feels like a Sunday supper classic. 🍖
New England Crispy Top
Up north, they take their breadcrumb crusts seriously! Swap the panko for ½ cup crushed cornflakes mixed with ½ cup panko and 2 tbsp melted butter for a lighter, crunchier texture. Add ½ tsp onion powder to the topping mix for a subtle sweetness that pairs perfectly with the garlic.
Bake in a 9-inch cast iron skillet (like Lodge) for 18-20 minutes at 375°F—the iron conducts heat beautifully, giving you that signature crispy crust without burning. Serve with a side of collard greens for a true New England meal. 🌽
Midwest Cheesy Casserole
The Midwest loves their mac and cheese baked in glass casserole dishes (like Pyrex) for easy serving. For a regional twist, add 1 cup corn kernels (fresh or frozen) to the pasta before baking—it adds a sweet contrast to the garlicky cheese.
Top with ½ cup crushed potato chips (like Lay's Classic) mixed with 2 tbsp melted butter for a salty, crunchy finish. Bake at 350°F for 25 minutes—the lower temp ensures the chips stay crispy without burning. This version is perfect for potlucks and family gatherings. 🥣
West Coast Garlic Bomb
Out West, they go all-in on the garlic flavor. After roasting the 8 cloves, I add 2 extra cloves minced raw to the cheese sauce for a sharper kick.
For the topping, mix ½ cup panko with 2 tbsp melted butter, 1 tsp granulated garlic, and ½ tsp red pepper flakes for a spicy-sweet crunch. Bake in a 9x13-inch dish at 375°F for 22 minutes, then broil for 1-2 minutes for extra color.
Pair with a chilled glass of Sauvignon Blanc to cut through the richness. 🌶️
Texas BBQ Twist
In Texas, they love adding smoky, meaty flavors. Stir ½ cup cooked ground beef (seasoned with ½ tsp smoked paprika and ½ tsp garlic powder) into the cheese sauce before baking.
For the topping, mix ½ cup panko with 2 tbsp melted butter, 1 tbsp chopped green onions, and ½ tsp cayenne pepper. Bake at 375°F for 20 minutes, then top with ¼ cup shredded cheddar and broil for 1-2 minutes until bubbly.
Serve with pickled jalapeños for a true Tex-Mex fusion. 🌵
Nutrition facts
Frequently asked questions
Can I make this baked garlic mac and cheese ahead of time?
Assemble the dish completely (including the breadcrumb topping) and refrigerate for up to 24 hours before baking. For make-ahead meals, you can even freeze it—portion into greased baking dishes and freeze for up to 3 months. Thaw overnight in the fridge before baking at 375°F for 25-30 minutes (covered with foil first). The flavors actually deepen when reheated!
What if my cheese sauce gets too thick or too thin?
If your sauce is too thick, add 1-2 tablespoons of pasta water to loosen it. For a thinner sauce, simmer for an extra 2-3 minutes to evaporate excess liquid. The ideal consistency should coat the back of a spoon but still be pourable. Pro tip: Use room-temperature cheeses for smoother melting!
Can I use different types of pasta?
While elbow macaroni works best for this recipe, you can try cavatappi or penne for better sauce clinging. Avoid long pasta shapes like spaghetti—they won't hold together well in the baking dish. For a fun twist, use shells and increase baking time by 5 minutes to ensure the centers cook through.
Why did my breadcrumb topping get soggy?
Soggy toppings usually happen when the macaroni mixture is too wet or the oven isn't hot enough. To fix this, press the breadcrumbs firmly onto the surface before baking, and make sure your oven is properly preheated to 375°F. For extra insurance, add 1/4 cup grated Parmesan to the breadcrumb mix—it helps absorb moisture. Also, try broiling for 1-2 minutes at the end for maximum crispiness!
What's the best way to reheat leftovers?
Reheat in the oven at 350°F for 15-20 minutes covered with foil to prevent drying. For a crispy top, uncover and broil for 2-3 minutes at the end. Microwave reheating works but often makes the breadcrumbs soggy—this oven method preserves the perfect texture. Leftovers keep well for 4-5 days in the fridge.
