Main Courses
This Basics with Babish mac and cheese delivers the perfect marriage of creamy, velvety swirls and a golden, crispy top—all in one pan. The secret lies in the precise roux technique and careful cheese melting, which transforms simple ingredients into restaurant-quality comfort food.
I've perfected this method over countless batches, ensuring the sauce never breaks and the texture remains silky smooth throughout.
The beauty of this recipe is its simplicity—just a handful of ingredients and a single pan, yet the results are undeniably impressive. The roux forms the foundation, creating a stable base that holds the cheese without separating, even when reheated.
A crispy breadcrumb topping adds texture contrast, making each bite satisfyingly complex. What sets this apart is the swirling technique, which creates those signature marbled patterns that make it look as good as it tastes.
By the time you pull this mac and cheese from the oven, you'll have a dish that's creamy enough to melt in your mouth yet sturdy enough to hold its shape. The crispy top provides a delightful crunch, while the velvety sauce clings perfectly to each noodle.
This is the kind of mac and cheese that turns a simple weeknight dinner into something special—without requiring any special skills or equipment.
Whether you're feeding a family or treating yourself to a cozy solo meal, this recipe delivers consistent, foolproof results every time. The instructions are straightforward, but the technique ensures professional-quality outcomes. Perfect for mastering the fundamentals of mac and cheese while still impressing your guests.
Ingredients for basics with babish mac and cheese
Fourteen essential ingredients transform into velvety swirls with a crispy crown—no shortcuts, just technique.
| Ingredient | Amount | Notes |
|---|---|---|
| Elbow Macaroni 🍝 | 12 oz | Dry, medium or elbow shape |
| Unsalted Butter 🧈 | ½ cup | Cold, cut into small cubes |
| All-Purpose Flour 🌾 | ½ cup | White, bleached preferred |
| Whole Milk 🥛 | 2 cups | Full-fat for creaminess |
| Sharp Cheddar Cheese 🧀 | 2 cups | Shredded, block preferred |
| Gruyère Cheese 🧀 | 1 cup | Shredded, aged minimum 6 months |
| Parmesan Cheese 🧀 | ½ cup | Freshly grated, block preferred |
| Yellow Onion 🧅 | 1 whole | Medium, finely diced |
| Garlic Cloves 🧄 | 3 cloves | Fresh, minced |
| Panko Breadcrumbs 🍞 | ½ cup | Japanese-style, toasted |
| Extra-Virgin Olive Oil 🫒 | 2 tbsp | For crispy topping |
| Diamond Crystal Kosher Salt 🧂 | 1 tsp | Fine grain preferred |
| Freshly Ground Black Pepper 🌶️ | ½ tsp | Coarsely ground |
| Nutritional Yeast 🍄 | 1 tbsp | Optional, for umami depth |
The cheese selection determines success. Gruyère adds nutty depth while sharp cheddar delivers tang—both must be freshly shredded from blocks, never pre-shredded (the anti-caking agents cause separation). For the Gruyère, Whittard of Chelsea or Miyoko's offer excellent quality, but any aged minimum 6 months works. The Parmesan should be Parmigiano-Reggiano, not the imitation Parm. For the roux, unsalted butter is critical—salted butter introduces variability in seasoning. Store your cheeses in airtight containers with parchment paper between layers to prevent drying.
No Gruyère? Comté or Emmental at the same quantity works well, though flavor will differ. Pre-shredded cheese? Squeeze it through a fine-mesh sieve to remove anti-caking agents. The onion and garlic can be swapped for asparagus or leeks for a spring variation, but reduce to 1/2 cup total volume. For the breadcrumbs, Trader Joe's or Costco offer high-quality panko at reasonable prices. The nutritional yeast adds umami without altering texture—omit if avoiding additives. For the roux, if your flour is low-protein (like cake flour), increase to 0.6 cups for better structure.
Store pre-shredded cheese in resealable bags with all air removed for up to 3 months in the fridge. Panko stays fresh 3 months in a sealed container away from light. The roux mixture can be refrigerated for 2 days before baking, though texture may slightly degrade. For make-ahead convenience, assemble the dish up to 24 hours ahead, refrigerate, then bake straight from cold—add 5-7 minutes to baking time. The crispy topping loses crunch when reheated, so serve immediately for optimal texture.
Why You'll Love This Recipe
- No-Fuss Pantry Staples: I swear by this recipe because it uses what I already have—no special ingredients, just butter, flour, milk, and that sharp cheddar you already own. The roux builds flavor without fuss, and the elbow macaroni cooks in the same pot. Honestly, it’s the kind of meal that turns "what’s for dinner?" into "let’s eat."
- Creamy-Crisp Magic: That crispy, golden crust on top while the inside stays velvety smooth? Chef’s kiss. The sharp cheddar melts into a rich sauce, but the toasted flour-butter base adds texture that makes it feel fancy—even though it’s just five ingredients. Between us, this is the mac and cheese that actually tastes like it belongs on a menu.
- Weeknight or Potluck Hero: I make this when I’m exhausted but still need to feed the family, and it’s just as welcome at a game-day spread. Double the batch, pop it in the fridge for leftovers, or take it to a gathering—it reheats beautifully and never tastes sad. (Yes, even on a Tuesday night.)
- Budget That Works: Sharp cheddar stretches further than you’d think, and the butter-flour roux is cheaper than pre-made sauce. A single box of elbow macaroni feeds four, and the leftovers? Still delicious the next day. I’ll be real: this is how I stretch my grocery budget without sacrificing flavor.
Step-by-step instructions for one-pan velvety swirls with crispy top
Master this technique for restaurant-quality mac and cheese with a golden crust and creamy interior.
Cook the Pasta in Butter Until Al Dente
In a large, deep skillet, melt the 0.5 cup unsalted butter over medium-high heat. Add the 12 oz elbow macaroni and stir to coat evenly in the butter. This creates a flavorful base and prevents sticking.
Cook the pasta for 8-10 minutes, stirring occasionally, until al dente—it should have a slight bite but still be tender. The butter will infuse the pasta with rich flavor rather than relying solely on milk. Drain the pasta directly into the skillet and set aside for now. The residual butter will help create the velvety texture later.
Build the Roux and Add Cheese
With the pasta still in the skillet, reduce the heat to medium. Add the 0.5 cup all-purpose flour and stir vigorously for 1-2 minutes until a smooth, golden roux forms. This thickens the sauce and forms the foundation of the cheesy texture.
Gradually whisk in the 2 cups whole milk over 2-3 minutes, ensuring no lumps form. Once fully incorporated, remove the skillet from heat and stir in the 2 cups sharp cheddar cheese, 1 cup gruyère cheese, and 0.5 cup parmesan cheese until completely melted and smooth. The cheese should create a thick, velvety sauce that coats the back of a spoon.
Create the Onion-Garlic Swirls
In a separate small skillet, heat the 2 tbsp extra-virgin olive oil over medium heat. Sauté the 1 whole yellow onion and 3 cloves garlic cloves until softened and fragrant, about 5 minutes. This step adds depth of flavor without overpowering the dish.
Return the mac and cheese to the stove and stir in the sautéed onion and garlic mixture. For the signature swirls, use a rubber spatula to create gentle, wavy patterns in the sauce. This technique ensures each bite has layers of flavor and texture. Season with 1 tsp diamond crystal kosher salt and 0.5 tsp freshly ground black pepper. For an umami boost, sprinkle in the 1 tbsp nutritional yeast and stir.
Assemble and Bake for Crispy Topping
Preheat your oven to 375°F. Transfer the mac and cheese to a baking dish, spreading it evenly. In a small bowl, mix the 0.5 cup panko breadcrumbs with a pinch of salt and pepper. Sprinkle this mixture evenly over the top of the mac and cheese, pressing down lightly to ensure even coverage.
Bake for 15-20 minutes until the topping is deep golden brown and the edges bubble slightly. The contrast between the crispy topping and creamy interior is what makes this dish exceptional. Let it rest for 5 minutes before serving to allow the sauce to set slightly.
Pro Tips For Making Basics With Babish Mac And Cheese
- Boil Pasta Until Al Dente Then Rest: I used to drain mac and cheese pasta at the exact cook time on the box—big mistake. Pull it out 1-2 minutes early (it’ll finish cooking in the sauce), drain, then toss with a splash of pasta water and let it sit covered for 3 minutes. This keeps it from turning mushy when mixed with the thick cheese sauce.
- Shred Cheese Like a Pro: Sharp cheddar sticks together when grated, and that’s when your sauce turns grainy. Use a box grater for uniform shreds, then microwave them for 20 seconds to melt the edges slightly—this prevents clumping. (Yes, it’s weird, but it works.)
- Whisk Milk Over Low Heat: The Babish recipe calls for heating milk, but I’ve seen people scorch it by cranking the stove. Keep it at a simmer—tiny bubbles, no rolling—and whisk constantly. If it starts to smell like burnt sugar, you’ve gone too far. (Trust me, you’ll taste it.)
- Save the Starchy Water: Don’t dump that pasta water down the drain. Reserve ½ cup when draining the noodles, then stir it into the finished sauce. The starch acts like a glue, making the cheese cling to the pasta instead of separating. (Your future self will curse you if you skip this.)
Dietary considerations for these flavors
Gluten-Free Adaptations
For a gluten-free version, replace the elbow macaroni with gluten-free pasta like Barilla or Jovial—both hold up well to the creamy sauce. I recommend gluten-free all-purpose flour blend (like Bob’s Red Mill 1:1) for the roux, but reduce the amount to 0.4 cups since GF flours absorb differently.
The texture will be slightly lighter, but still velvety when baked. Always check labels for cross-contamination warnings. 🍝
Dairy-Free Options
Swap the butter for vegan butter (Miyoko’s or Earth Balance) and use unsweetened almond milk or oat milk instead of whole milk. For cheese, opt for nutritional yeast (already in the recipe) and dairy-free cheeses like Violife or Miyoko’s shreds.
The sauce will be creamier but slightly less rich—balance with extra garlic or smoked paprika for depth.
Lower-Carb Variations
Replace the pasta with shredded zucchini (about 3 cups, sautéed until tender) or cauliflower rice (cooked until soft). For the roux, use 2 tbsp olive oil instead of butter and 0.3 cups almond flour for thickening.
The texture becomes more like a cheesy casserole, but it’s still satisfying. Add 1 tbsp cornstarch to the roux for extra stability.
Vegan-Friendly Swaps
Use cashew cream (blend 1 cup soaked cashews with 1 cup water) as the milk base. Replace cheese with vegan mozzarella shreds (like Miyoko’s) and nutritional yeast for umami.
For the crispy topping, mix 0.3 cups panko with 2 tbsp melted vegan butter and a pinch of turmeric for color. The result is rich, creamy, and entirely plant-based. 💚
Allergy-Friendly Adjustments
For nut allergies, ensure all cheeses and breadcrumbs are nut-free (check labels—many panko is processed in nut facilities). For soy allergies, avoid nutritional yeast (replace with white miso paste, 1 tsp) for umami.
Always use separate utensils and pans to avoid cross-contamination. The dish remains safe and delicious with these tweaks.
Keto-Friendly Modifications
Skip the pasta entirely and use shirataki noodles (rinsed and sautéed in butter) or zucchini ribbons. For the roux, use 2 tbsp butter and 0.25 cups almond flour, then add 1 cup heavy cream instead of milk.
The cheese ratio stays the same, but the dish becomes more of a cheesy "pasta" than traditional mac and cheese. Top with extra crispy breadcrumbs for texture.
Nutrition facts
Frequently asked questions
Why does this mac and cheese have swirls instead of just being smooth?
The swirls create visual appeal and flavor layers! The technique involves gently dragging a rubber spatula through the sauce after adding the sautéed onions and garlic, creating those signature marbled patterns. This ensures each bite has both creamy cheese and aromatic vegetable flavors.
Can I make this mac and cheese ahead of time?
Yes, but with a key trick! Assemble the dish up to 24 hours ahead and refrigerate uncovered. Before baking, let it sit at room temperature for 30 minutes to even out temperatures. Add 5-7 minutes to baking time since it starts cold. The texture will still be perfect!
What's the secret to preventing a greasy sauce?
The roux is everything! Cook it to a light golden color (not brown) and whisk constantly when adding milk. Overcooking the roux or rushing the milk addition creates lumps that lead to greasiness. Also, use full-fat milk—low-fat versions can separate more easily.
How do I get the crispy topping to stay crispy?
Bake at 375°F until golden brown, then serve immediately. The topping loses crispness when reheated. For extra crunch, press the breadcrumbs firmly onto the sauce before baking. If storing leftovers, cover with foil to preserve texture—just reheat briefly in the oven.
What's the best cheese substitute if I can't find Gruyère?
Try Comté or Emmental in equal amounts—they add nutty depth like Gruyère. For a sharper flavor, add 1/4 cup extra cheddar. Avoid pre-shredded cheese (anti-caking agents cause separation) and always shred fresh from blocks for the best texture.
