Baked Mac and Cheese Recipe

Discover the best mac and cheese recipe that’s ultra-creamy, loaded with two cheeses, and baked to golden, bubbly perfection — comfort food doesn’t get better than this.

There’s this moment when you pull a pan of homemade baked mac and cheese out of the oven and the whole kitchen smells like a warm hug. My family has been making this easy homemade mac and cheese for years, and honestly, no box mix even comes close.

Fair warning: once you make this creamy homemade baked mac and cheese, you’ll never go back to the blue box again. It’s that good.

Why You’ll Love This Mac and Cheese Recipe

This isn’t your average weeknight pasta. This is the BEST homemade baked mac and cheese — the kind you bring to potlucks and people ask you for the recipe on the spot.

We’re talking a velvety, from-scratch cheese sauce layered with two kinds of cheese, baked until golden and bubbling on top. It’s rich, it’s cozy, and it’s absolutely worth every single step.

Whether you’re feeding a crowd or just treating yourself to something spectacular, this baked mac and cheese delivers every single time. It’s the definition of a crowd-pleaser.

mac and cheese recipe

The Most Irresistible Baked Mac and Cheese

Discover the best mac and cheese recipe that’s ultra-creamy, loaded with two cheeses, and baked to golden, bubbly perfection — comfort food doesn’t get better than this.
Cook Time 15 minutes
Resting Time 5 minutes
Course Dinner
Cuisine American
Servings 8 servings

Equipment

  • Large pot
  • Saucepan
  • Whisk
  • Mixing bowl
  • 3-quart baking dish

Ingredients
  

Pasta

  • 1 lb Dried elbow pasta

Sauce Base

  • ½ cup Unsalted butter
  • ½ cup All-purpose flour
  • 1 ½ cups Whole milk
  • 2 ½ cups Half and half

Cheese

  • 4 cups Shredded medium cheddar divided
  • 2 cups Shredded Gruyere divided

Seasoning

  • ½ Tbsp Salt
  • ½ tsp Black pepper
  • ¼ tsp Paprika smoked preferred

Instructions
 

  • Preheat oven to 325°F and grease a 3-quart baking dish. Set aside.
  • Cook pasta in salted boiling water for one minute less than package directions. Drain and drizzle with a little oil.
  • Shred cheeses and divide into three portions for sauce, middle layer, and topping.
  • Melt butter in a saucepan over medium heat. Whisk in flour and cook for about 1 minute.
  • Slowly whisk in half and half and milk. Cook, whisking often, until thickened.
  • Remove from heat and stir in seasonings and cheese until smooth.
  • Combine pasta with cheese sauce. Add half to baking dish, sprinkle cheese, then top with remaining pasta.
  • Top with remaining cheese and bake for 15 minutes until bubbly and golden.
  • Let rest for 5 minutes before serving.

Notes

Always shred cheese fresh for best melting. You can substitute Gruyere with fontina or smoked gouda. Add breadcrumb topping for crunch or mix in vegetables or bacon for variation. Let the dish rest before serving for best texture.
Keyword baked mac and cheese, comfort food, mac and cheese

Ingredients You’ll Need

The secret to this creamy homemade baked mac and cheese is using two cheeses — medium cheddar and Gruyere. The combo creates a sauce that’s sharp, nutty, and impossibly smooth.

Ingredients for mac and cheese recipe
Category Ingredient Amount
Pasta Dried elbow pasta 1 lb.
Sauce Base Unsalted butter 1/2 cup
Sauce Base All-purpose flour 1/2 cup
Sauce Base Whole milk 1 1/2 cups
Sauce Base Half and half 2 1/2 cups
Cheese Shredded medium cheddar (divided) 4 cups
Cheese Shredded Gruyere (divided) 2 cups
Seasoning Salt 1/2 Tbsp.
Seasoning Black pepper 1/2 tsp.
Seasoning Paprika (smoked is best!) 1/4 tsp.

Chef Tip #1: Half and half is the magic ingredient here. It gives the sauce that rich, velvety body without being as heavy as straight cream. Don’t swap it out!

How to Make Baked Mac and Cheese

Don’t let the from-scratch cheese sauce intimidate you. Once you make it once, you’ll realize it’s surprisingly simple — and the payoff is absolutely massive.

Step 1: Prep Your Oven and Dish

Preheat your oven to 325 degrees F and grease a 3-quart baking dish (9×13″). Set it aside. Low and slow is the move here — it keeps the cheese sauce from breaking and drying out.

Step 2: Cook the Pasta

Bring a large pot of salted water to a boil. Add the dried elbow pasta and cook it one minute less than the package says for al dente. We’re finishing it in the oven, so you want it slightly underdone.

Drain the pasta and drizzle with a tiny bit of olive oil to keep it from clumping together. Nobody wants a pasta brick in their mac and cheese.

How to Make mac and cheese recipe

Step 3: Shred and Divide Your Cheese

While the water heats up, shred all your cheeses and toss them together. Then divide into three piles: about 3 cups for the sauce, 1.5 cups for the middle layer, and 1.5 cups for the top.

Please, please, please shred your own cheese here. Pre-shredded cheese has anti-caking agents that mess with melting. Fresh-shredded = silky smooth sauce. Trust the process.

Step 4: Make the Roux

Melt butter in a large saucepan over medium heat. Sprinkle in the flour and whisk to combine — it’ll look like wet sand, and that’s totally fine. Cook for about 1 minute, whisking often, to cook out the raw flour taste.

Step 5: Build the Cheese Sauce

Slowly pour in about 2 cups of the half and half, whisking constantly until smooth. Then add the rest of the half and half plus the whole milk, still whisking the whole time.

Keep heating over medium heat, whisking very often, until the sauce thickens to a semi-condensed-soup consistency. It should coat the back of a spoon nicely. This step takes patience, but it’s so worth it.

“The sauce should be thick enough that when you drag a spoon through it, the line holds for a moment. That’s your sign.”

Remove from heat and stir in the spices and 1.5 cups of cheese until melted. Then add another 1.5 cups and stir until the sauce is completely smooth and glossy.

Step 6: Combine and Layer

In a large mixing bowl, combine the drained pasta with the cheese sauce and stir until every single piece of pasta is coated. Pour half the pasta mixture into your prepared baking dish.

Sprinkle 1.5 cups of shredded cheese over that layer. Then add the rest of the pasta on top. This inner cheese layer is what takes this easy homemade mac and cheese to the next level — pockets of melted cheese throughout every bite.

Step 7: Top and Bake

Sprinkle the last 1.5 cups of cheese evenly over the top. Bake for 15 minutes, until the cheese is bubbly and lightly golden brown on top.

Try to let it rest for 5 minutes before serving. I know it’s hard. The smell alone is basically torture. But it helps the sauce set up and makes serving a whole lot cleaner.

The Best mac and cheese recipe

Expert Tips for the Best Results

On the Cheese

Always shred your cheese fresh from the block. The pre-bagged stuff is coated with starches that prevent proper melting and can make your sauce grainy. Gruyere and sharp cheddar are the dream team here.

Want to mix it up? Try swapping some Gruyere for fontina or smoked gouda. Just keep the cheddar as your base for that classic mac and cheese flavor everyone loves.

On the Sauce

Don’t rush the roux. Cooking the flour for a full minute before adding dairy removes the raw, pasty flavor that can ruin a béchamel. Medium heat and constant whisking is your best friend through this whole process.

If your sauce ends up lumpy, don’t panic. Just strain it through a fine mesh sieve or hit it briefly with an immersion blender. Good as new.

Variations Worth Trying

Add a crispy breadcrumb topping by mixing panko with melted butter and sprinkling it over the cheese layer before baking. It adds a satisfying crunch that contrasts beautifully with the creamy sauce.

Want to sneak in some veggies? Stir roasted broccoli, caramelized onions, or even some crispy bacon into the pasta before layering. This creamy homemade baked mac and cheese is very customizable.

This bakes up beautifully as a side dish alongside pull-apart garlic herb bread — seriously, the combo is out of this world.

Storage and Reheating

Storage Method Container Duration
Refrigerator Airtight container Up to 4 days
Freezer Freezer-safe container Up to 2 months
Room Temperature Covered dish No more than 2 hours

To reheat from the fridge, add a splash of milk to the portion and microwave in 30-second intervals, stirring in between. This keeps it creamy instead of clumpy. The oven at 325 degrees F for 15-20 minutes (covered with foil) works great for reheating a larger batch.

Leftover mac and cheese also makes a killer grilled cheese filling — just saying. No-waste kitchen win right there.

What to Serve with Mac and Cheese

This rich and cheesy baked mac and cheese pairs perfectly with something fresh and bright. A crisp cucumber and sweet pepper salad or a colorful summer tomato salad cuts through the richness beautifully.

For dessert, go all out. Red velvet brownie bites or mini fruit tarts with puff pastry are crowd-favorite finishers for a meal like this.

Frequently Asked Questions

Can I make this mac and cheese recipe ahead of time?

Yes! Assemble the whole dish up to 24 hours in advance, cover tightly with foil, and refrigerate. When you’re ready, let it sit at room temp for 20-30 minutes, then bake as directed. You may need to add 5-10 extra minutes since it’s starting cold.

Can I use a different type of pasta?

Elbows are classic, but cavatappi, shells, or penne all work great because they have ridges and curves that hold onto the cheese sauce. Avoid very thin or delicate pasta shapes — they tend to get mushy after baking.

Why did my cheese sauce turn out grainy?

Grainy sauce usually happens when cheese is added over high heat or when pre-shredded (coated) cheese is used. Always remove the pan from heat before stirring in the cheese, and always shred fresh from the block. If it still happens, a quick blitz with an immersion blender can smooth things right out.

Can I freeze baked mac and cheese?

You can, though the texture is best fresh or from the fridge. If freezing, let it cool completely, then store in a freezer-safe container for up to 2 months. Thaw overnight in the fridge and reheat in the oven covered with foil, adding a splash of milk to revive the creaminess.

Is this recipe easy enough for beginners?

Absolutely — this easy homemade mac and cheese is very beginner-friendly. The only step that takes a little focus is the roux and cheese sauce, but with medium heat and steady whisking, you’ll nail it on your first try. Take it slow and you’ll be rewarded with the creamiest, most satisfying mac and cheese of your life.

Ready to Make the Best Mac and Cheese of Your Life?

There it is — the mac and cheese recipe that’s going to ruin all other mac and cheese for you (in the best possible way). This creamy homemade baked mac and cheese is rich, cozy, and made entirely from scratch with real ingredients.

Give it a try this week and let us know how it went in the comments below! Did you add your own twist? We want to hear about it.

If you loved this recipe, please save it to your Pinterest boards so other comfort food lovers can find it too. Sharing is caring — especially when mac and cheese is involved.

Photo of author

Sofia Martinez

Mediterranean-Latin fusion chef at Tasty at Home. Pinterest creator, kitchen experimenter, and your new cooking buddy. Let's make magic together!

Leave a Comment

Recipe Rating