Side Dishes
This baked mac and cheese recipe for 4 delivers the ultimate comfort food experience—crispy golden edges that shatter with every bite and a gooey pull-apart center so rich it practically melts in your mouth.
After years of perfecting my technique, I’ve cracked the code for that ideal texture: tender pasta bathed in a velvety cheese sauce, topped with a buttery breadcrumb crust that turns golden under the broiler. The secret?
Cooking the pasta al dente and letting the sauce reduce just enough to coat every noodle without breaking.
What makes this recipe truly special is how it balances simplicity with restaurant-quality results. With just 15 minutes of hands-on prep and 25 minutes in the oven, you’ll have a dish that tastes like it took hours to make.
The cheese blend—sharp cheddar, creamy Gruyère, and a touch of cream cheese—creates depth of flavor that’s impossible to resist. And don’t worry about fancy techniques; this method is foolproof, even for beginners, but delivers results that’ll impress anyone at your table.
The moment you pull it from the oven, you’ll understand why this is my go-to weeknight dinner. That crispy top gives way to molten cheese that stretches between every forkful, while the pasta stays perfectly al dente.
It’s the kind of dish that disappears faster than you can say “second helping,” and it reheats beautifully for leftovers. Whether you’re feeding a family or hosting game night, this recipe is your secret weapon for effortless comfort.
For extra indulgence, I like to add a sprinkle of smoked paprika to the breadcrumb topping or fold in crispy bacon bits into the cheese sauce. But even as-is, it’s a crowd-pleaser that requires no special ingredients—just patience for the sauce to thicken properly.
Trust me, the wait is worth every gooey, cheesy bite. Let’s get baking!
Ingredients for baked mac and cheese recipe for 4
Pantry staples plus a few cheesy upgrades for that signature crispy-gooey magic.
| Ingredient | Amount | Notes |
|---|---|---|
| Elbow Macaroni 🍝 | 12 oz | Dry, medium elbow shape |
| Sharp White Cheddar Cheese 🧀 | 2 cups | Shredded, block preferred |
| Gruyère Cheese 🧀 | 1 cup | Shredded, aged 12+ months |
| Cream Cheese 🧀 | 4 oz | Full-fat, room temperature |
| Unsalted Butter 🧈 | ½ cup | Cold, cubed for sauce |
| Heavy Whipping Cream 🥛 | ½ cup | Full-fat, cold |
| Yellow Onion 🧅 | 1 whole | Medium, finely diced |
| Garlic Cloves 🧄 | 3 cloves | Fresh, minced |
| All-Purpose Flour 🌾 | 2 tbsp | For roux, sifted |
| Panko Breadcrumbs 🍞 | ½ cup | Plain, not seasoned |
| Dry Mustard Powder 🌶️ | ½ tsp | For depth of flavor |
| Smoked Paprika 🌶️ | ¼ tsp | Optional for topping |
| Salt 🧂 | 1 ½ tsp | Kosher or sea salt |
| Black Pepper 🌶️ | ½ tsp | Freshly ground |
| Extra-Virgin Olive Oil 🫒 | 1 tbsp | For greasing dish |
The cheese is where this dish shines—Gruyère adds creaminess while sharp cheddar brings the tang. Grab block cheeses from the store deli counter and shred them yourself (pre-shredded gets gummy). For the Gruyère, look for aged 12+ months—it melts like a dream. The cream cheese? Full-fat is non-negotiable—low-fat won't give you that velvety texture. I always buy Kraft Natural for the cheddar since it's reliable, but feel free to mix in your favorite sharp cheddar.
No Gruyère? Swiss cheese works in a pinch—same creamy melt. Out of panko? Regular breadcrumbs toasted in the oven do the trick. The mustard powder might sound odd, but it cuts through the richness and adds depth. For extra indulgence, fold in crispy bacon bits (about 4 oz) into the cheese sauce—trust me, it's worth it. The smoked paprika is optional but adds a smoky kick to the topping that pairs perfectly with the cheesy goodness below.
This reheats beautifully—just cover with foil and warm in the oven for 10-15 minutes at 350°F. Leftovers keep for 4-5 days in the fridge, but honestly, it disappears so fast you won't have any. For make-ahead magic, assemble the dish (without baking) and refrigerate for up to 24 hours—bake straight from cold. The breadcrumb topping gets extra crispy if you broil it for 2-3 minutes at the end—just watch it like a hawk!
Why You'll Love This Recipe
- One-Pot Magic: I swear by this recipe—just toss the pasta, cheese, and butter in one dish, bake, and boom. No boiling water to clean, no separate pans, no stress. The Gruyère melts into this velvety blanket over the mac, and honestly? I’ve made it while scrolling through my phone.
- Cheese Overload (In the best way): Sharp cheddar and Gruyère together? That’s not just flavor—it’s a flavor bomb. The cream cheese keeps it luscious, but the sharpness cuts through like a bright summer day. My kids fight over the last bite, and that’s saying something.
- Weeknight & Potluck Hero: Need dinner in 30 minutes? This delivers. Too fancy for a Tuesday but too simple for company? Perfect. I’ve brought it to book clubs, game nights, and even my mom’s house—no one ever questions the ingredients, just the seconds.
- Leftovers That Don’t Suck: Most baked mac turns into a sad, dry mess the next day. Not this. The butter keeps it rich, the cheese stays gooey, and I’ve reheated slices straight from the fridge with zero complaints. Plus, it’s cheap—Gruyère’s the splurge, but a little goes a long way.
Step-by-step instructions for baked mac and cheese
Here's how to create that perfect balance of crispy golden top and gooey, pull-apart cheese.
Cook the Elbow Macaroni to Al Dente Perfection
Bring a large pot of water to a rolling boil and add 1 tablespoon of the salt. Once boiling, add the 12 oz elbow macaroni and cook until 1 minute before the package directions specify for al dente. This ensures the pasta finishes cooking in the oven while absorbing the cheesy sauce.
Drain the pasta in a colander and rinse briefly under cold water to stop the cooking process. Shake off any excess water—you want the pasta to be moist but not dripping. This step prevents a watery sauce later. Transfer the drained pasta to a large bowl and set aside.
Build the Ultimate Cheese Sauce
In a separate large skillet, melt the 0.5 cup unsalted butter over medium heat. Add the finely diced yellow onion and cook for 5 minutes until softened and translucent. Stir in the minced garlic cloves and cook for another 30 seconds until fragrant—don't let it brown or it'll turn bitter.
Sprinkle the 2 tablespoons all-purpose flour over the onions and garlic, stirring constantly for 1 minute to create a roux. Slowly pour in the 0.5 cup heavy whipping cream while whisking to combine. Reduce heat to low and let the mixture thicken for 2-3 minutes until it reaches a smooth, creamy consistency.
Combine Cheese and Create the Perfect Texture
Reduce heat to low and gradually add the 2 cups sharp white cheddar cheese, 1 cup gruyère cheese, and 4 oz cream cheese to the sauce, stirring constantly until completely melted and smooth. The mixture should be thick but still pourable. If it's too thick, add 1-2 tablespoons of pasta water to loosen it.
Add the cooked pasta to the cheese sauce and stir gently to coat each strand evenly. Fold in the 0.5 teaspoon dry mustard powder and 0.5 teaspoon black pepper for that extra depth of flavor. Taste and adjust seasoning with additional salt if needed—this is your chance to perfect the balance of flavors before baking.
Assemble and Bake for the Perfect Crispy Top
Preheat your oven to 375°F. Grease a 9x9-inch baking dish with 1 tablespoon extra-virgin olive oil to prevent sticking. Transfer the macaroni and cheese mixture to the prepared baking dish and spread it evenly into a single layer.
In a small bowl, mix together the 0.5 cup panko breadcrumbs and 0.25 teaspoon smoked paprika (if using). Sprinkle this mixture evenly over the top of the macaroni and cheese, pressing down gently to create that crispy crust we're after. Bake for 20-25 minutes until the top is golden brown and the edges are bubbling.
Rest and Serve with Confidence
Remove the baking dish from the oven and let it rest for 5 minutes before serving. This resting period allows the cheese to set slightly, making it easier to slice and preventing a runny mess. The top should be crispy and golden, while the inside remains creamy and gooey.
Use a spatula to loosen the edges if needed, then serve directly from the baking dish. The perfect baked mac and cheese should have that irresistible contrast—crispy on top, creamy and cheesy inside, with each bite pulling apart beautifully. Enjoy immediately while it's hot and gooey!
Pro Tips For Making Baked Mac And Cheese Recipe For 4
- TOAST THE PASTA FIRST: The starchy water from elbow macaroni is your glue—don’t drain it completely. Instead, toast the drained pasta in a dry pan over medium heat for 2-3 minutes until it’s golden in spots. This adds texture and helps the cheese sauce cling better (yes, even if it smells weird at first).
- GRATE THE CHEESE FINE: Sharp white cheddar and Gruyère lose their magic if they’re chunky. Use the small holes on your box grater—no food processor, no skipping. The finer the shreds, the smoother the melt, and the less lumpy your final dish will be. I learned this after staring at a sad, grainy mac and cheese.
- BAKE COVERED THEN UNCOVERED: Start your mac and cheese at 375°F (190°C) covered with foil for 20 minutes—this lets the cheese melt evenly without burning. Then, crank the oven to 400°F (200°C) and bake uncovered for the last 10 minutes. The uncovered time gives you that golden crust without a sad, soggy top.
- USE COLD CREAM CHEESE: Take the cream cheese straight from the fridge—no softening needed. Cold cream cheese blends smoother into the sauce and prevents that greasy, separated mess. Just cut it into small cubes first so it melts faster. Trust me, your future self will notice the difference.
Troubleshooting this dish
Sauce Too Thin?
If your cheese sauce ends up too thin after baking, it's usually because the pasta released too much water. Next time, drain the pasta extra well and let it sit in a colander for 2-3 minutes to absorb excess moisture.
For immediate fixes, stir in 1-2 tablespoons cornstarch mixed with 1 tablespoon cold water—it thickens instantly. I've also had success adding 1/4 cup shredded extra cheese (like cheddar) and letting it melt in, which adds body without altering flavor. 🧀
Top Not Crispy?
The breadcrumb topping needs proper heat to crisp. If yours stays pale, broil for 2-3 minutes at the end—watch it like a hawk! For extra insurance, toast the panko in a dry skillet over medium heat for 2 minutes before sprinkling it on top.
I also recommend pressing down firmly with the back of a spoon to create a solid layer. Another pro trick? Mix 1 tablespoon melted butter into the breadcrumbs before topping—it creates a richer, crispier crust.
Cheese Separating?
Cheese separation happens when the sauce gets too hot. Always melt cheeses gradually over low heat and stir constantly. For extra insurance, whisk in 1 tablespoon heavy cream at the end to help emulsify.
If it's already separating, stir in 1/4 cup cold cooked pasta or 1 tablespoon flour mixed with 1 tablespoon water to bind everything together. I've also had success using 1/2 teaspoon Dijon mustard in the sauce—it acts as a natural emulsifier.
Pasta Overcooked?
Overcooked pasta makes your mac and cheese mushy. To prevent this, cook the pasta 1 minute less than package instructions and finish in the oven. For extra insurance, rinse pasta briefly in cold water after draining to stop cooking immediately.
If it's already overdone, stir in 1/4 cup grated Parmesan or 2 tablespoons cornstarch to add structure. I've also found that adding 1/2 cup diced cooked bacon to the sauce helps absorb excess moisture while adding flavor.
Baking Dish Too Small?
If your dish overflows or doesn't bake evenly, transfer to a larger baking dish. For a 9x9-inch dish, use 12 oz pasta—any more and it'll be too crowded.
If you're using a different size, adjust baking time: 8x8-inch needs 15-20 minutes, while 9x13-inch may require 25-30 minutes. I recommend using a light-colored metal baking dish—it conducts heat better than dark dishes and prevents hot spots.
For extra insurance, place the dish on the middle rack where heat circulates evenly.
Leftovers Too Dry?
Reheating mac and cheese properly is key. Cover with foil and warm in the oven at 350°F for 10-15 minutes. For extra moisture, add 1-2 tablespoons milk or cream before reheating.
If it's still dry, sprinkle 1 tablespoon hot water over the top and cover tightly for 5 minutes to steam.
I've also had success making a quick "cheese sauce" by melting 1/4 cup butter, 1/4 cup milk, and 1/2 cup shredded cheese**, then stirring it into the leftovers until creamy again. 💫
Nutrition facts
Frequently asked questions
Why does your recipe use Gruyère instead of just cheddar?
Gruyère adds that signature creamy, nutty depth that regular cheddar can't match. While cheddar gives the sharp tang we love, Gruyère melts like a dream and creates that luxurious, velvety texture. For a budget-friendly version, you can substitute with Swiss cheese—it's almost as creamy and adds a subtle sweetness that pairs beautifully with the cheddar's sharpness.
Can I make this ahead of time for a dinner party?
Assemble the dish (without baking) up to 24 hours ahead and refrigerate. When ready to serve, bake straight from cold—it'll still develop that perfect crispy top. For extra insurance, cover with foil and bake at 350°F for 30-35 minutes (5-10 minutes longer than fresh). Pro tip: Let it rest 10 minutes after baking to set before serving.
What's the secret to that perfect crispy top?
The magic happens with panko breadcrumbs and a little butter. Toast the panko in a dry skillet for 2 minutes before topping, then mix in 1 tablespoon melted butter for extra richness. Press down firmly with the back of a spoon to create a solid layer, and broil for 2-3 minutes at the very end—just watch it like a hawk!
How do I fix runny mac and cheese?
If your sauce is too thin, stir in 1-2 tablespoons cornstarch mixed with 1 tablespoon cold water—it thickens instantly. For a more natural fix, add 1/4 cup shredded extra cheese and let it melt in. If it's already baked, sprinkle 1 tablespoon grated Parmesan on top and broil for 1-2 minutes to create a cheesy crust that absorbs excess moisture.
Can I use this recipe for a vegetarian potluck?
This recipe is already vegetarian-friendly! Just make sure your cheeses are dairy-free if needed. For extra flair, add sautéed mushrooms or roasted cherry tomatoes to the cheese sauce. Serve with a side of garlic bread and a crisp green salad for a complete vegetarian spread. The crowd will never guess it's dairy-only!
