Appetizers
This baked mac and cheese recipe with shredded cheese delivers the ultimate combination of crispy top crust and gooey, melty centers. The secret lies in a two-step baking process that transforms ordinary shredded cheese into a luxurious, golden-brown masterpiece.
Every bite offers that perfect contrast—crunchy edges giving way to creamy, cheesy goodness that clings to each tender elbow macaroni.
Professional chefs know the key to restaurant-quality mac and cheese is patience and technique—starting with a proper cheese sauce that doesn't separate, then building that signature crispy crust. We'll use a blend of sharp cheddar and Gruyère for depth, with just enough cream to create that signature velvety texture.
The double-baking method ensures your mac and cheese achieves that coveted golden-brown crust while keeping the interior perfectly tender.
What makes this recipe stand out is its foolproof approach to achieving that perfect balance of textures and flavors. The initial baking creates a creamy base, while the second baking adds that satisfying crunch that everyone loves.
This isn't just comfort food—it's a dish that transforms any weeknight dinner into something special, worthy of a holiday table.
The best part? You can customize it with your favorite add-ins like crispy bacon, fresh herbs, or a sprinkle of smoked paprika. Whether you're feeding a family or craving a single serving, this baked mac and cheese delivers the ultimate in cheesy satisfaction with minimal effort.
Let's get started on creating your perfect batch.
Ingredients for baked mac and cheese recipe with shredded cheese
Six ingredients transform into the ultimate cheesy masterpiece—crispy crust meets melty perfection.
| Ingredient | Amount | Notes |
|---|---|---|
| Elbow Macaroni 🍝 | 2 lb | Uncooked, standard elbow shape |
| Sharp Cheddar Cheese 🧀 | 2 cups | Shredded, block preferred |
| Gruyère Cheese 🧀 | 1 cup | Shredded, aged for best flavor |
| Heavy Cream 🥛 | 1 cup | Full-fat for rich texture |
| Whole Milk 🥛 | 1 cup | Warmed for smooth sauce |
| Unsalted Butter 🧈 | ½ cup | Cut into small cubes |
| All-Purpose Flour 🌾 | ¼ cup | For velvety sauce |
| Yellow Onion 🧅 | 1 whole | Finely diced, small dice |
| Garlic Cloves 🧄 | 4 cloves | Minced for aromatic base |
| Dijon Mustard 🍯 | 1 tbsp | For subtle tang |
| Kosher Salt 🧂 | 1 ½ tsp | Adjust to taste |
| Black Pepper 🌶️ | ½ tsp | Freshly ground preferred |
| Panko Breadcrumbs 🍞 | ½ cup | For crispy crust |
| Extra-Virgin Olive Oil 🫒 | 1 tbsp | For breadcrumb coating |
The cheese blend is non-negotiable here. Sharp cheddar gives that tangy kick, while Gruyère adds depth and melt. Grab the block versions—pre-shredded gets clumpy and lacks that perfect texture. Whole Foods or specialty cheese shops carry the best Gruyère, but your local grocery store's block cheddar works too. Pro tip: shred your own for maximum freshness. The elbow macaroni? Barilla or De Cecco are my go-tos—they hold up perfectly during double-baking. If you're feeling fancy, try cavatappi instead for extra cheesy pockets.
No sharp cheddar? Extra sharp or pepper jack works in a pinch. Gruyère unavailable? Fontina or Emmental are great substitutes. The heavy cream can be swapped for half-and-half if you're watching fat, but trust me on the full-fat version for that signature richness. For the breadcrumbs, Panko is a must—it's what gives that perfect crunch. Short on time? Toast regular breadcrumbs with a little butter first. The Dijon mustard might seem small, but it's what keeps the sauce from separating. No mustard? A splash of lemon juice does the trick.
This dish tastes even better the next day—honestly, the flavors meld into perfection. Store leftovers covered in the fridge for 4-5 days. For the double-baking magic, assemble the dish ahead and refrigerate overnight. The extra chill time makes the crust even crispier. Freezing? Assemble, bake once, then freeze for up to 3 months**. Reheat covered at 350°F until bubbly. And if you're making this for a crowd, double the recipe—it disappears fast!
Why You'll Love This Recipe
- One-Pot Magic: I swear by this—just boil the pasta, mix in the cheeses and cream, then bake. No extra pots, no fuss. The Gruyère melts into that velvety sauce while the cheddar adds sharp bite, all in one dish.
- Crispy-Creamy Dream: That golden top crust? Pure satisfaction. The sharp chedddar and nutty Gruyère blend into a rich sauce, but the edges? Crispy enough to hold a fork. (Yes, even on a Tuesday night.)
- Leftovers That Win: Honestly, this makes too much—but that’s the best kind. Reheat slices in the oven, and it’s like fresh-baked again. My kids beg for it cold too, wrapped in foil like a grilled cheese.
- Budget-Buster Meal: Elbows cost pennies, and a block of cheddar stretches farther than you’d think. The heavy cream and milk add richness without breaking the bank. Feeds four for under $10—my secret weapon for busy nights.
Step-by-step instructions for baked mac and cheese with shredded cheese
Here's how to create that perfect double-baked mac and cheese with crispy golden crust and gooey, melty layers.
Cook the Elbow Macaroni to Perfect Al Dente
Bring a large pot of water to a rolling boil and add 2 tablespoons kosher salt (about 1 teaspoon per pound of pasta). Add the 2 lb elbow macaroni and cook until 1 minute before the package directions specify for al dente. This ensures it finishes cooking in the oven without becoming mushy.
Drain the pasta in a colander, then immediately return it to the pot. Toss with 1 tablespoon extra-virgin olive oil to prevent sticking. I like to do this right away because the residual heat helps distribute the oil evenly. The pasta should look glossy and separated—not clumping together.
Build the Creamy Cheese Sauce
In a separate large skillet, melt the 0.5 cup unsalted butter over medium heat. Add the finely diced 1 whole yellow onion and cook for 5 minutes until softened and translucent. Stir in the 4 cloves minced garlic and cook for another 30 seconds until fragrant—don't let it brown or it'll turn bitter.
Reduce heat to medium-low and whisk in the 0.25 cup all-purpose flour, stirring constantly for 1-2 minutes until the mixture forms a smooth paste. Slowly pour in the 1 cup warmed whole milk and 1 cup heavy cream, whisking continuously to prevent lumps. Let the sauce simmer for 3-4 minutes until it thickens enough to coat the back of a spoon.
Combine Pasta and Cheese Mixture
Remove the skillet from heat and stir in the 2 cups sharp cheddar cheese and 1 cup gruyère cheese until fully melted and smooth. Add the 1 tablespoon Dijon mustard, 1.5 teaspoons kosher salt, and 0.5 teaspoon black pepper, mixing until well combined. Pour this creamy mixture over the cooked pasta and stir thoroughly until every strand is coated.
Here's where it gets fun—taste and adjust the seasoning. I usually add a pinch more salt and a crack of black pepper to taste. The cheese should be fully melted with just a few streaks of white remaining. If the mixture seems too thick, add 1-2 tablespoons warm milk to loosen it slightly.
Assemble and First Bake
Transfer the macaroni mixture to a 9x13-inch baking dish, spreading it evenly into a single layer. The dish should be about ¾ full—this gives room for the cheese to expand during baking. Cover the dish tightly with aluminum foil and bake at 350°F for 20 minutes. This first bake ensures the cheese melts completely and the pasta absorbs all the sauce.
After 20 minutes, remove the foil and check the macaroni. It should be bubbling around the edges with a few golden spots forming. If the top looks dry, drizzle 1-2 tablespoons warm milk over it to prevent cracking. Return to the oven uncovered for another 5 minutes to let the top start setting.
Create the Crispy Topping and Final Bake
While the macaroni bakes, mix together the 0.5 cup panko breadcrumbs, 1 tablespoon extra-virgin olive oil, and 1 teaspoon black pepper in a small bowl until evenly combined. Once the macaroni has baked for 25 minutes total, remove it from the oven and sprinkle the breadcrumb mixture evenly over the top, pressing down gently with a spatula.
Return to the oven and bake at 375°F for 10-12 minutes until the top is deep golden brown and the edges are bubbling. You'll know it's perfect when the crust is crispy enough to hold its shape but still melty underneath. Let it rest for 5 minutes before slicing—this helps the cheese set slightly and makes serving easier.
Serve with Confidence
Slice into 6 generous portions and serve immediately. The contrast between the crispy golden breadcrumb topping and the creamy, cheesy interior is what makes this dish so irresistible. For extra indulgence, garnish each serving with an additional sprinkle of sharp cheddar cheese and freshly cracked black pepper. The cheese should be stretchy, with beautiful melty streaks throughout each bite.
This mac and cheese delivers on every promise—rich, creamy layers, a perfectly crispy top, and that satisfying cheesy pull in every bite. The combination of sharp cheddar and nutty gruyère gives it depth, while the breadcrumb topping adds a delightful crunch that keeps everyone coming back for more.
Pro Tips For Making Baked Mac And Cheese Recipe With Shredded Cheese
- USE PASTA WATER: Drain your elbow macaroni, but don’t rinse it—save that starchy water. Mix about ¼ cup into the cheese sauce before baking. The starch thickens the sauce faster and gives it that velvety texture you can’t get otherwise. (Yes, even if you’re impatient like me.)
- SHRED CHEESE FRESH: Buy your sharp cheddar and Gruyère pre-shredded? Skip it. The anti-caking agents in pre-shredded cheese make the sauce grainy and watery. Instead, grate it yourself—just before mixing—and keep the cheese cold until the last minute. The difference in melt is night and day.
- BAKE COVERED FIRST: Don’t let the top brown too fast—cover the baking dish with foil for the first 20 minutes. This lets the cheese melt evenly without turning into a sad, crusty brick. Uncover only after the sauce has fully set, then broil for 2-3 minutes to get that golden top. (Your future self will thank you.)
- SWAP CREAM FOR SAUCE: Heavy cream is rich, but a 50/50 mix of whole milk and cream gives a lighter, more balanced sauce. If you’re short on time, use half-and-half—just add a splash of milk to thin it out if needed. The cheese will still melt perfectly, and the texture won’t be heavy.
Common mistakes when making great baked mac and cheese recipe with shredded cheese
Overcooking the Pasta
One of the biggest mistakes is overcooking the elbow macaroni before baking. When you cook it to the package's full time, it becomes mushy in the oven, turning your creamy masterpiece into a sad, gummy mess.
I always cook it just 1 minute before the package says al dente—this lets it finish cooking perfectly in the oven while absorbing all that cheesy goodness. 🍝
Skipping the Double-Bake
Some recipes try to shortcut the process with a single bake, but that's where the magic happens! The first bake melts the cheese completely, while the second bake creates that coveted crispy crust.
If you skip the second bake, you'll miss out on that satisfying crunch that makes this dish irresistible. Trust me, the extra 10-12 minutes at 375°F is worth it.
Using Pre-Shredded Cheese
Pre-shredded cheese contains anti-caking agents that prevent proper melting, leading to a grainy texture. Always use block cheese that you shred yourself—it melts beautifully and creates those perfect cheesy streaks.
For this recipe, sharp cheddar and Gruyère are non-negotiable for that rich, velvety texture. If you're in a pinch, extra sharp cheddar works, but it won't have the same depth.
Not Preheating the Oven
An oven that isn't properly preheated can lead to uneven cooking and a soggy crust. Always preheat your oven to 350°F for the first bake and 375°F for the final crust.
I like to give it 15-20 minutes to fully preheat before putting the dish in—this ensures even baking and that perfect golden-brown finish. A quick test is to touch the oven rack: it should be hot but not burning your hand.
Overmixing the Cheese Sauce
Once you add the cheese to the sauce, resist the urge to stir vigorously. Overmixing can create lumps and break down the pasta, turning your creamy sauce into a gluey mess. Gently fold the cheese in until it's just melted, then let it sit for a minute to thicken naturally.
If it's too thick, add just 1-2 tablespoons of warm milk to loosen it slightly—never overdo it.
Ignoring the Resting Time
Skipping the 5-minute rest after baking is a common mistake that leads to messy slices and runny cheese. This brief resting period lets the cheese set slightly, making it easier to slice cleanly and preventing a gooey disaster.
I promise, those extra minutes are worth it for that perfect first bite. 💫
Nutrition facts
Frequently asked questions
Why does my baked mac and cheese turn out dry or crumbly?
The most common cause is overbaking or using too much flour in the sauce. For creamy perfection, ensure your pasta is cooked just 1 minute before al dente and use only 0.25 cup flour for the roux. If the mixture seems too thick, add just 1-2 tablespoons warm milk to restore creaminess. Covering with foil during the first 20 minutes of baking also prevents drying.
Can I make this recipe ahead of time?
Assemble the dish up to 24 hours ahead and refrigerate uncovered. The next day, bake at 350°F for 30-35 minutes (covered with foil for the first 20 minutes) to restore creaminess. For a crowd, double the recipe—it reheats beautifully. The flavors actually improve overnight as the cheese melds together.
What's the best cheese substitute if I don't have Gruyère?
For that nutty depth, try Fontina or Emmental—both melt beautifully. If you prefer a sharper flavor, swap in extra sharp cheddar or pepper jack. Avoid pre-shredded cheese (it contains anti-caking agents that prevent proper melting). For a smoky twist, add ½ cup smoked gouda to the mix. Always shred your own for the best texture!
How do I fix a broken crust after baking?
If the breadcrumb topping cracks during baking, don't panic! Sprinkle 1-2 tablespoons warm milk over the top and return to the oven for 5-7 minutes to steam and re-seal. For extra insurance, press another layer of breadcrumbs on top before the final bake. A broken crust doesn't ruin the dish—it just means you'll have more cheesy edges to enjoy!
Can I make this gluten-free?
Yes, but with adjustments. Use gluten-free elbow macaroni (like Barilla or Jovial) and replace the all-purpose flour with 0.25 cup cornstarch or gluten-free flour blend for the roux. For the breadcrumb topping, swap panko for gluten-free breadcrumbs** or crushed gluten-free crackers. The texture will be slightly different but still delicious! Pro tip: Add 1 tablespoon xanthan gum to the pasta water to improve binding.
