Main Courses
The basics with Babish mac and cheese recipe reveal how to nail that golden crust and creamy, melty perfection—easier than you’d expect for restaurant-style results.
The key lies in a foolproof cheese sauce technique and a breadcrumb topping that creates that coveted golden crust while keeping the interior creamy and rich. I've perfected this method through years of testing, ensuring no grainy cheese or watery sauce here.
This recipe balances traditional methods with modern shortcuts, using a simple stovetop roux for the sauce base before baking it to golden perfection. The result? A dish where each bite offers that satisfying contrast—crunchy top, velvety cheese, and perfectly cooked pasta underneath.
It's the kind of comfort food that transforms an ordinary weeknight into something special without requiring advanced skills.
What makes this mac and cheese truly stand out is the texture: the top stays crispy even after cutting, while the cheese remains smooth and gooey throughout.
The secret is baking at the right temperature and using a mix of cheeses for depth—sharp cheddar for flavor, Gruyère for nuttiness, and cream cheese for that signature creaminess. This is comfort food at its finest, with professional results you can achieve in your own kitchen.
Whether you're feeding a family or treating yourself, this recipe scales beautifully and comes together in under 30 minutes. The best part? Leftovers reheat perfectly, making it ideal for meal prep. Let's get started on creating your ultimate mac and cheese experience.
Ingredients for basics with babish mac and cheese
Pantry staples plus a few key cheeses—this is where the magic happens.
| Ingredient | Amount | Notes |
|---|---|---|
| Elbow Macaroni 🍝 | 12 oz | Dry, medium or elbow shape |
| Unsalted Butter 🧈 | ½ cup | Cold, cut into pieces |
| All-Purpose Flour 🌾 | ½ cup | Sifted for smooth sauce |
| Sharp Cheddar Cheese 🧀 | 2 cups | Shredded, block preferred |
| Gruyère Cheese 🧀 | ¾ cup | Shredded, aged for nuttiness |
| Cream Cheese 🧀 | 4 oz | Softened, full-fat preferred |
| Whole Milk 🥛 | 1 ½ cups | Warm for smooth sauce |
| Yellow Mustard 🍯 | 1 tbsp | For tangy depth |
| Garlic Powder 🧄 | ½ tsp | Freshly ground preferred |
| Ground Black Pepper 🌶️ | ¼ tsp | Freshly cracked |
| Kosher Salt 🧂 | 1 tsp | Adjust to taste |
| Panko Breadcrumbs 🍞 | ½ cup | For crispy topping |
| Extra-Virgin Olive Oil 🫒 | 2 tbsp | For breadcrumb mix |
| Fresh Parsley 🌿 | ¼ cup | Chopped, for garnish |
The cheeses are non-negotiable here. Gruyère from a specialty store (like Whole Foods) adds that signature nuttiness, while sharp cheddar from a block—not pre-shredded—melts smoother. Cream cheese keeps things velvety, but don't use low-fat. The butter? Cold and cubed for the roux—this makes all the difference. I grab my Gruyère at Costco when it's on sale, but the regular grocery store cheddar works fine. Just shred it yourself—pre-shredded gets clumpy and watery.
No Gruyère? Parmesan at half the amount adds a similar depth, though it's not identical. Fresh out of parsley? Dried parsley at one-third the quantity works, but fresh is brighter. The mustard is key—it cuts through the richness. Dijon mustard works too, but yellow keeps it classic. For the breadcrumbs, panko is a must—it stays crispy while regular breadcrumbs get soggy. No panko? Toast regular breadcrumbs in the oven first. And yes, you can make this dairy-free with vegan cheese, but it won't be the same (trust me, I've tried).
This reheats like a dream—5 minutes at 350°F with a splash of milk revives it perfectly. Keeps for 4 days in the fridge, freezes for 3 months if you portion it right. I always make a double batch because leftovers are even better the next day. Store the breadcrumb mix separately if you want to keep the topping extra crispy—just sprinkle it on fresh before baking.
Why You'll Love This Recipe
- Pantry-Friendly Magic: I’ll never stress over grocery runs again—just butter, flour, and two cheeses (sharp cheddar + Gruyère) transform into something rich and velvety. No weird ingredients, no last-minute shopping trips.
- Creamy-Crisp Perfection: That buttery roux and melted Gruyère? It’s the kind of cheesy pull that makes you forget about "healthy eating" for a second. The sharp cheddar adds a tangy punch—like a hug in sauce form.
- Lunchbox Hero: Make a double batch, pack it in containers, and you’ve got weeknight dinners covered. Kids won’t complain (honestly), and it reheats like a dream—no soggy pasta in sight.
- Budget Stretch: A pound of elbow mac, a block of cheddar, and a bag of flour stretch farther than takeout. I’ve fed four people for $8 with this—leftovers? Even better the next day.
Step-by-step instructions for crispy top, melty cheese mastery
Here's the foolproof method to achieve that perfect golden crust and velvety cheese center.
Cook the Elbow Macaroni Al Dente
Bring a large pot of water to a rolling boil and add 12 oz elbow macaroni. Salt the water generously—it should taste like the ocean. Cook the pasta for 1 minute less than the package instructions (usually 11-12 minutes). You want it al dente—firm to the bite but fully cooked through.
Before draining, reserve 1 cup of pasta water in a measuring cup. This starchy water is essential for creating a smooth, velvety sauce later. Drain the pasta and transfer it to a large bowl, shaking off any excess water. Don't rinse it—those surface starches help the cheese cling perfectly.
Make the Cheese Sauce
In a separate large pot, melt 0.5 cup unsalted butter over medium heat. Once melted, reduce the heat to low and whisk in 0.5 cup all-purpose flour to form a smooth roux. Cook for 1-2 minutes, stirring constantly, until the mixture turns a light golden color and smells nutty.
Slowly pour in 1.5 cups whole milk while whisking vigorously to prevent lumps. Add 1 tbsp yellow mustard, 0.5 tsp garlic powder, 0.25 tsp ground black pepper, and 1 tsp kosher salt. Bring the mixture to a gentle simmer, then reduce heat to low and stir in 2 cups sharp cheddar cheese and 0.75 cup gruyère cheese. Stir until completely melted and smooth.
Remove the pot from heat and fold in the 4 oz softened cream cheese and the cooked elbow macaroni. If the sauce is too thick, add 2-3 tablespoons of reserved pasta water to reach your desired consistency. The sauce should coat the back of a spoon but still be thick enough to hold its shape.
Assemble and Bake for Crispy Top
Preheat your oven to 375°F. Grease a 9x9-inch baking dish with a little extra-virgin olive oil to prevent sticking. Pour the macaroni and cheese mixture into the dish and spread it evenly. Use a spatula to create a smooth, level surface.
In a small bowl, combine 0.5 cup panko breadcrumbs and 2 tbsp extra-virgin olive oil. Sprinkle this mixture evenly over the top of the macaroni and cheese, pressing down gently with the back of a spoon to ensure it sticks. This creates that coveted crispy crust we're after.
Bake to Golden Perfection
Bake the macaroni and cheese for 20-25 minutes until the top is deep golden brown and the edges are bubbling. If the top browns too quickly, tent it loosely with aluminum foil to prevent burning while the center finishes cooking.
You'll know it's done when the cheese is completely melted and the top has a beautiful, crispy crust. Remove from the oven and let it rest for 5-10 minutes before serving. This resting time allows the cheese to set slightly, making it easier to slice and serve.
Garnish and Serve
Before serving, sprinkle the top with 0.25 cup chopped fresh parsley for a pop of color and freshness. Serve immediately while the cheese is still warm and gooey. Each bite should deliver that perfect combination of crispy, golden top and creamy, cheesy center.
This dish holds well for 2-3 hours at room temperature, but it's best enjoyed fresh out of the oven. If you have leftovers, store them in the refrigerator for up to 3 days and reheat in the oven or microwave until warmed through.
Pro Tips For Making Basics With Babish Mac And Cheese
- Cook pasta al dente, then drain fast: The recipe calls for elbow macaroni, and I learned this the hard way—overcooked noodles turn mushy when mixed with the cheese sauce. Boil until just firm to the bite (about 1 minute less than package time), then drain immediately and rinse under cold water for 10 seconds. This stops cooking and removes excess starch that’ll make your sauce gluey.
- Grate cheese fresh, not pre-shredded: Pre-shredded cheese has anti-caking agents that turn your sauce grainy. Use a box grater for sharp cheddar and Gruyère—skip the fine holes, they make the sauce clumpy. If you’re lazy (I know, I know), at least buy block cheddar and shred it yourself. The texture difference is night and day.
- Melt butter low and slow: The roux is where the magic happens, but rushing it burns the flour before the cheese can emulsify. Cook the butter over medium-low heat until it’s just melted and foamy—no browning, no sizzling. If it smells nutty, you’ve gone too far. Patience here keeps the sauce silky.
- Reserve some pasta water: You’ll need it, trust me. As you stir in the cheese, the sauce will look thick and dry—this is normal. Add splash-by-splash pasta water until it’s creamy but coats the back of a spoon. I used to ignore this and ended up with a stiff, sad paste. Keep a ladle of starchy water nearby.
Dietary considerations for these flavors
Gluten-Free Adaptation
For a gluten-free version, swap the elbow macaroni for gluten-free pasta—I recommend Barilla Gluten-Free Penne or De Cecco Gluten-Free Elbows because they cook evenly and hold the cheese sauce well.
The roux remains the same, but use gluten-free all-purpose flour like King Arthur Measure for Measure to avoid clumping. The texture won’t be identical, but it’s still creamy and delicious. 🌱
Dairy-Free Options
Creating a dairy-free mac and cheese is tricky, but it’s possible with the right substitutes. Replace butter with olive oil or dairy-free butter (like Miyoko’s), and use nutritional yeast (about ¼ cup) for a cheesy flavor.
For the cheese, blend cashews (soaked in warm water) with lemon juice, garlic powder, and turmeric for color. Brands like Violife or Follow Your Heart also make excellent dairy-free cheeses. The result won’t be the same, but it’s a great alternative for those avoiding dairy.
Lower-Carb Version
To make this lower-carb, skip the pasta entirely and use cauliflower rice (about 4 cups) as the base. Cook it until tender, then mix it into the cheese sauce as you would the macaroni.
For extra richness, add 2 tbsp cream cheese or dairy-free cream cheese to compensate for the missing pasta starch. The texture will be lighter, but it’s still satisfying and packed with flavor. This version is perfect for keto or low-carb diets.
Vegan Cheese Sauce
For a fully vegan mac and cheese, focus on the sauce first. Melt ½ cup vegan butter (like Earth Balance), whisk in ½ cup gluten-free flour, and cook until golden. Slowly add 1.5 cups unsweetened almond milk (or oat milk for creaminess) and 2 tbsp nutritional yeast.
Stir in 1 cup vegan cheddar shreds (like Daiya or Violife) and ½ cup vegan cream cheese until smooth. The pasta can be gluten-free or chickpea-based for extra protein. The result is cheesy, creamy, and totally plant-based!
Allergy-Friendly Swaps
If you have nut allergies, avoid cashew-based cheeses and opt for soy-based vegan cheeses or seed-based alternatives like sunflower seed cheese. For gluten-free and dairy-free combined, use quinoa pasta (like Ancient Harvest) and a nutritional yeast + olive oil roux.
Always check labels for hidden allergens—brands like 365 by Whole Foods offer reliable allergy-friendly options. When in doubt, homemade is safest!
Protein Boost
To add protein without altering the dish’s texture, stir in ½ cup cooked lentils or crumbled tempeh into the cheese sauce. For a meaty twist, mix in shredded rotisserie chicken or crumbled bacon (cooked separately) after baking.
These additions keep the dish hearty and satisfying while maintaining the creamy, cheesy goodness. It’s a great way to turn this into a full meal!
Nutrition facts
Frequently asked questions
Can I make this mac and cheese without baking?
For a stovetop version, mix the cooked pasta with the cheese sauce in a pot over low heat until fully melted. Stir in 2 tbsp butter for extra richness, then fold in ¼ cup panko breadcrumbs at the end to mimic the crispy texture. Serve immediately—this version is creamy but lacks the golden crust.
Why does my cheese sauce get grainy?
Grainy sauce usually means overheating or using pre-shredded cheese. Always melt cheeses low and slow, and use block cheese that you shred yourself—pre-shredded contains anti-caking agents that create lumps. For extra smoothness, whisk in 1 tbsp milk at the end to emulsify.
How do I prevent the breadcrumb topping from getting soggy?
Press the breadcrumb mix firmly into the cheese before baking to create a barrier. For extra insurance, bake the dish on the middle rack (not top) and avoid opening the oven door during cooking. If it starts browning too fast, tent with foil. The key is a hot oven and dry breadcrumbs—never skip the olive oil in the mix!
Can I use different cheeses in this recipe?
Yes! Swap Gruyère for Parmesan (½ cup) or fontina for extra nuttiness. For a smoky flavor, add ½ cup smoked Gouda. Just keep the total cheese amount consistent—2.75 cups total (including cream cheese). Avoid cheeses with high moisture content like mozzarella, or your sauce may separate.
How long can I keep leftovers?
Store leftovers in an airtight container for up to 4 days in the fridge. Reheat covered at 350°F for 10-15 minutes with a splash of milk to revive the texture. For best results, freeze portions without the breadcrumb topping—sprinkle fresh panko after reheating to restore crispiness.
