...

by Naomy Wells

Published on:

A close-up of a golden-brown, bubbly baked mac and cheese recipe in a casserole dish, topped with crispy breadcrumbs.

The search for the perfect homemade mac and cheese can feel endless. So often, what comes out of the oven is a little dry, a bit grainy, or just not as creamy as you dreamed. This baked mac and cheese recipe is the one that ends the search.

It delivers a ridiculously creamy, velvety smooth cheese sauce every single time, without fail. I’m going to share the simple secret that makes this dish foolproof, creating the ultimate comfort food that stays just as creamy even when you reheat it.

Why You’ll Love This Recipe

The Secret to an Ultra-Creamy Sauce

The game-changer in this recipe is adding a bit of cream cheese to the sauce. This isn’t just for flavor; it’s a scientific trick. Cream cheese acts as a powerful emulsifier, which means it helps bind the fats from the cheese and butter with the liquids from the milk.

This prevents the sauce from breaking, ensuring a perfectly smooth, velvety texture that never gets grainy or oily. It’s my secret weapon for a guaranteed flawless cheese sauce.

Perfect for Reheating

That same cream cheese trick solves the number one problem with leftover baked macaroni and cheese. It stabilizes the sauce so beautifully that it reheats without separating or becoming greasy. Your mac and cheese will be just as luscious and creamy on day two as it was fresh from the oven.

A True Family Favorite

This is more than just a recipe; it’s the definition of comfort food. It has become a non-negotiable family favorite in my house for weeknight dinners and special occasions alike. Whether you serve it as a main course or as a standout side dish for a holiday meal, it’s the kind of casserole that gets rave reviews at any potluck dish gathering.

Ingredients Needed

  • 1 lb. dried elbow pasta
  • 1/2 cup unsalted butter
  • 1/2 cup all purpose flour
  • 1 1/2 cups whole milk
  • 2 1/2 cups half and half
  • 4 oz cream cheese, cubed
  • 4 cups shredded medium cheddar cheese (divided (measured after shredding))
  • 2 cups shredded Gruyere cheese (divided (measured after shredding))
  • 1/2 Tbsp. salt
  • 1/2 tsp. black pepper
  • 1/4 tsp. paprika

Ingredient Notes & Substitutions

The Cheeses: I find that a blend of medium cheddar cheese and Gruyere cheese offers the perfect balance. Cheddar brings that classic, sharp flavor we all love, while Gruyere adds a nutty complexity and melts into a beautiful, gooey texture. For the best results, always shred your own cheese from a block.

The Pasta: Classic elbow pasta is the traditional choice for a reason, but feel free to experiment. Any pasta shape with plenty of nooks and crannies to hold the sauce, like cavatappi or shells, will work wonderfully.

The Dairy: Using a combination of whole milk and half-and-half creates a sauce that is rich and decadent without feeling overly heavy. I recommend letting your dairy come to room temperature before starting for the smoothest sauce.

Hands stirring a creamy cheese sauce in a pot, a key step in a baked mac and cheese recipe.

How to Make The Best Baked Mac and Cheese

Preparation and Cooking the Pasta

First, preheat your oven to 325 degrees F. Lightly grease a 9×13 inch baking dish and set it aside for later. Next, bring a large pot of salted water to a rolling boil. Add the dried elbow pasta and cook it for one minute less than the package directions for al dente. This slight undercooking is crucial, as the pasta will continue to cook in the oven. Drain the pasta well and set it aside.

Making the Creamy Cheese Sauce

While the pasta cooks, shred your cheddar and Gruyere cheeses. In a large saucepan or Dutch oven, melt the butter over medium heat. Sprinkle in the flour and whisk them together to form a roux. Continue cooking and whisking for about one minute until the mixture looks like wet sand. This step cooks out the raw flour taste.

Slowly pour in the room temperature half-and-half and whole milk, whisking constantly to prevent any lumps from forming. Continue whisking often as you heat the mixture over medium heat until it thickens. You’ll know it’s ready when the béchamel sauce is thick enough to coat the back of a spoon.

Remove the saucepan from the heat. Stir in the salt, pepper, and paprika. Now, add the cubed cream cheese and about 3 cups of the shredded cheese blend. Stir gently until all the cheese is completely melted and the sauce is velvety smooth.

Assembling and Baking the Casserole

In a large bowl, combine the drained pasta with your finished cheese sauce. Stir until every piece of pasta is generously coated. Pour half of this mixture into your prepared baking dish and spread it into an even layer. Sprinkle 1 1/2 cups of the remaining shredded cheese over the top. Add the rest of the pasta mixture on top of that.

Finally, sprinkle the last 1 1/2 cups of cheese evenly over the surface. Bake for 15 minutes, or until the sauce is bubbly and the cheese on top is melted and lightly golden brown. Let it rest for a few minutes before serving.

Your Guide to a Flawless Cheese Sauce

The #1 Rule: Shred Your Own Cheese

I cannot stress this enough: for the creamiest cheese sauce, you must shred your own cheese from a block. Pre-shredded cheeses are coated with anti-caking agents like potato starch or cellulose to prevent them from clumping in the bag. These additives interfere with the melting process and are the primary cause of a gritty or clumpy sauce. Taking a few extra minutes to shred it yourself makes all the difference.

Troubleshooting a Broken Sauce

A broken sauce will look oily or separated and feel grainy. Our cream cheese method is the best way to prevent this from ever happening. However, if you find yourself with a broken sauce, you can try to save it. Remove the pot from the heat immediately and whisk vigorously while adding a tablespoon of very hot water. This can sometimes help re-emulsify the sauce and bring it back together.

Getting the Thickness Just Right

The key to the perfect sauce consistency is patience when thickening the béchamel base, before you add the cheese. If your sauce seems too thin, let it cook for a few more minutes, whisking often, until it thickens up. If it becomes too thick, simply whisk in an extra splash of milk until it reaches the desired consistency.

Pro Tips & Variations

Pro Tips for Success

  • Always undercook your pasta slightly. It will absorb sauce and finish cooking in the oven, so this step prevents a mushy final dish.
  • Use room temperature milk and half-and-half. Adding cold dairy to a hot roux can cause the sauce to become lumpy.
  • Don’t be shy with seasonings. A pinch of ground mustard or garlic powder can amplify the cheesy flavor beautifully.
  • Let the finished casserole rest for 5 to 10 minutes after it comes out of the oven. This allows the sauce to set up perfectly.

Fun Variations to Try

  • Crunchy Topping: For a crispy crust, toss panko breadcrumbs or crushed Ritz crackers with a couple of tablespoons of melted butter and sprinkle over the top before baking.
  • Add Protein: Make it a complete meal by stirring in crispy cooked bacon, pulled pork, or shredded rotisserie chicken with the pasta and sauce.
  • Spice it Up: For a little kick, mix in some finely chopped jalapeños or a pinch of cayenne pepper with the other spices.
  • Stovetop Version: If you’re short on time, you can skip the baking. Simply cook the pasta fully to al dente, make the cheese sauce, and stir everything together to serve immediately as a creamy stovetop mac and cheese.

Serving & Storage

What to Serve with Mac and Cheese

This homemade mac and cheese is hearty enough to be the star of the show, but it also makes an incredible side dish. It pairs wonderfully with everything from roasted chicken and meatloaf to pulled pork sandwiches. It is an absolute must-have for any Thanksgiving recipe spread or holiday meal.

Make-Ahead and Storage Instructions

This recipe is perfect for making ahead of time. You can fully assemble the casserole, then cover it tightly with foil and refrigerate for up to two days. When you are ready to bake, you may need to add about 10-15 minutes to the baking time since it will be starting from cold. Store any leftovers in an airtight container in the refrigerator for up to 4 days.

The Best Way to Reheat Mac and Cheese

Thanks to the stable sauce, reheating mac and cheese is a breeze. For best results, place it in an oven-safe dish, add a splash of milk, cover with foil, and bake at 350°F until heated through. You can also reheat it on the stovetop over low heat, stirring gently and adding a splash of milk to restore its creaminess. For food safety, ensure it reaches an internal temperature of 165°F.

I truly believe this is the ultimate baked mac and cheese recipe you’ll ever need. The simple addition of cream cheese guarantees a perfect result, giving you a rich, creamy, and deeply satisfying dish every single time. It empowers even a beginner cook to create a show-stopping casserole. I hope you love it as much as my family does. Please feel free to leave a comment below with your favorite variations!

Frequently Asked Questions

What are the best cheeses for the creamiest baked mac and cheese?

The best approach is to use a blend. A good sharp cheddar provides that classic, tangy mac and cheese flavor, while a superior melting cheese like Gruyere adds nutty depth and a wonderfully smooth, gooey texture. Always shred your own from a block for the best results.

How do you keep mac and cheese sauce from getting grainy?

There are two essential secrets to a smooth sauce. First, shred your own cheese to avoid the anti-caking agents in pre-shredded bags. Second, our recipe’s secret weapon is adding cream cheese, which acts as an emulsifier to keep the sauce perfectly smooth and stable.

Can I prepare baked mac and cheese ahead of time?

Yes, absolutely. This recipe is ideal for making ahead. You can assemble the entire casserole, cover it, and keep it in the refrigerator for up to two days before you need to bake it. It’s a lifesaver for holiday meal prep.

What is the best way to reheat mac and cheese so it stays creamy?

The best way is to reheat it gently. You can warm it in the oven, covered with foil, with a splash of milk to add moisture. Alternatively, you can reheat it in a saucepan on the stovetop over low heat, again with a splash of milk, stirring gently until warm.

Why is my baked mac and cheese dry?

Dryness is often caused by a few common issues. The pasta may have been overcooked initially, there might not be enough sauce for the amount of pasta, or the casserole was baked for too long or at too high a temperature, causing the sauce to break or evaporate.

Can I make this recipe without baking it?

Definitely. For a quick stovetop version, cook the pasta to a perfect al dente. While it cooks, prepare the cheese sauce as directed. Once both are ready, simply combine them in a large pot, stir well, and serve immediately for an incredibly creamy meal.

A close-up of a golden-brown, bubbly baked mac and cheese recipe in a casserole dish, topped with crispy breadcrumbs.

The Creamiest Baked Mac and Cheese Recipe (No-Fail Sauce!)

Discover the ultimate baked mac and cheese recipe, featuring a secret ingredient for a ridiculously creamy, velvety smooth cheese sauce that never fails. This comfort food classic is perfect for family dinners and reheats beautifully, ensuring luscious results every time.
Prep Time 20 minutes
Cook Time 35 minutes
Total Time 55 minutes
Servings: 8 servings
Course: Casserole, Main Dish, Side Dish
Calories: 850

Ingredients
  

  • 1 lb. dried elbow pasta
  • 1/2 cup unsalted butter
  • 1/2 cup all purpose flour
  • 1 1/2 cups whole milk
  • 2 1/2 cups half and half
  • 4 oz cream cheese cubed
  • 4 cups shredded medium cheddar cheese (divided (measured after shredding))
  • 2 cups shredded Gruyere cheese (divided (measured after shredding))
  • 1/2 Tbsp. salt
  • 1/2 tsp. black pepper
  • 1/4 tsp. paprika

Equipment

  • 9×13 Inch Baking Dish
  • Large Pot
  • Large saucepan or Dutch oven
  • whisk
  • Large bowl

Method
 

Preparation and Cooking the Pasta
  1. First, preheat your oven to 325 degrees F. Lightly grease a 9×13 inch baking dish and set it aside.
  2. Bring a large pot of salted water to a rolling boil. Add the dried elbow pasta and cook it for one minute less than the package directions for al dente.
  3. Drain the pasta well and set it aside.
Making the Creamy Cheese Sauce
  1. While the pasta cooks, shred your cheddar and Gruyere cheeses.
  2. In a large saucepan or Dutch oven, melt the butter over medium heat. Sprinkle in the flour and whisk them together to form a roux. Continue cooking and whisking for about one minute until the mixture looks like wet sand.
  3. Slowly pour in the room temperature half-and-half and whole milk, whisking constantly to prevent any lumps from forming. Continue whisking often as you heat the mixture over medium heat until it thickens and coats the back of a spoon.
  4. Remove the saucepan from the heat. Stir in the salt, pepper, and paprika.
  5. Add the cubed cream cheese and about 3 cups of the shredded cheese blend. Stir gently until all the cheese is completely melted and the sauce is velvety smooth.
Assembling and Baking the Casserole
  1. In a large bowl, combine the drained pasta with your finished cheese sauce. Stir until every piece of pasta is generously coated.
  2. Pour half of this mixture into your prepared baking dish and spread it into an even layer. Sprinkle 1 1/2 cups of the remaining shredded cheese over the top.
  3. Add the rest of the pasta mixture on top of that, then sprinkle the last 1 1/2 cups of cheese evenly over the surface.
  4. Bake for 15 minutes, or until the sauce is bubbly and the cheese on top is melted and lightly golden brown. Let it rest for a few minutes before serving.

Nutrition

Calories: 850kcalCarbohydrates: 60gProtein: 40gFat: 50gSaturated Fat: 30gCholesterol: 120mgSodium: 900mgPotassium: 300mgFiber: 3gSugar: 5gVitamin A: 300IUVitamin C: 5mgCalcium: 500mgIron: 2mg

Notes

For the creamiest cheese sauce, always shred your own cheese from a block, as pre-shredded varieties contain anti-caking agents that can interfere with melting. The cream cheese in this recipe acts as an emulsifier, preventing the sauce from breaking and ensuring a smooth, velvety texture.
Always undercook your pasta slightly; it will finish cooking in the oven, preventing a mushy final dish. Use room temperature milk and half-and-half to prevent lumps when adding to the roux. Let the finished casserole rest for 5 to 10 minutes after baking for the sauce to set perfectly.
This casserole can be assembled up to two days ahead, covered tightly, and refrigerated. When baking from cold, add 10-15 minutes to the baking time. Store any leftovers in an airtight container in the refrigerator for up to 4 days.
To reheat, place in an oven-safe dish, add a splash of milk, cover with foil, and bake at 350°F until heated through, or reheat on the stovetop over low heat with a splash of milk.
Nutrition information is estimated based on common ingredients and serving sizes and may vary.

Tried this recipe?

Let us know how it was!

A fan favorite!

The Best Crispy Baked Zucchini (Never Soggy!)

May 9, 2026

Discover delicious and healthy baked zucchini recipes perfect for any meal. Easy ideas for sides, vegetarian dinners, and more with fresh zucchini.

Creamy Roasted Zucchini Soup (Deep Flavor, No Cream!)

May 9, 2026

Enjoy a comforting bowl of zucchini soup for dinner. This healthy and delicious recipe is perfect for using fresh garden zucchini.

Easy Chicken Zucchini Bake

May 9, 2026

Discover a delicious and easy chicken zucchini bake recipe, perfect for a healthy weeknight dinner. Simple, flavorful, and family-friendly!

The Crispiest Fried Zucchini Recipe (Never Soggy!)

The Crispiest Fried Zucchini Recipe (Never Soggy!)

May 9, 2026

Make crispy fried zucchini for a delicious dinner side or appetizer. This easy recipe delivers perfectly golden, flavorful zucchini every time.

Easy Zucchini Noodle Recipe (Never Soggy!)

Easy Zucchini Noodle Recipe (Never Soggy!)

May 8, 2026

Discover delicious and healthy zucchini noodle recipes perfect for dinner. Enjoy guilt-free pasta alternatives with these easy and flavorful dishes.

The Best Zucchini Lasagna Recipe

The Best Zucchini Lasagna Recipe

May 8, 2026

Discover a delicious and healthy zucchini lasagna recipe. This comforting, low-carb dish is perfect for a satisfying family dinner.

The Ultimate Stuffed Zucchini Recipe

The Ultimate Stuffed Zucchini Recipe

May 7, 2026

Discover delicious stuffed zucchini recipes perfect for a healthy and satisfying dinner. Explore vegetarian & meat-filled options.

The BEST Zucchini Boat Recipe (Crispy & Never Watery!)

The BEST Zucchini Boat Recipe (Crispy & Never Watery!)

May 7, 2026

Discover delicious and healthy zucchini boat recipes, perfect for a satisfying dinner. Explore easy and versatile ways to enjoy this classic dish.

The Best Zucchini Boat Recipe (No More Soggy Boats!)

The Best Zucchini Boat Recipe (No More Soggy Boats!)

May 7, 2026

Discover delicious and healthy zucchini boat recipes, perfect for a satisfying dinner. Explore vegetarian, meat-filled, and low-carb options.

Easy Squash and Zucchini Recipe (Never Mushy!)

Easy Squash and Zucchini Recipe (Never Mushy!)

May 7, 2026

Explore delicious and versatile squash and zucchini recipes! Find healthy side dishes, comforting mains, and creative ways to enjoy these fresh vegetables.

Next

Leave a Comment

Recipe Rating