Creamy Baked Mac and Cheese

Some dishes just need to be made from scratch, and baked mac and cheese is at the top of that list. This version starts with a simple butter and flour roux, turns it into a silky cheese sauce with sharp cheddar and nutty Gruyere, and finishes in the oven under a crisp, buttery panko topping. It is creamy in the middle, crunchy on top and never dry or greasy.

Below I walk through why this homemade baked macaroni and cheese works, the best cheeses to use, step-by-step directions, troubleshooting tips, easy variations, how to make it ahead for holidays and how to store leftovers. The printable recipe card with exact measurements and estimated nutrition is at the bottom of the page.

Baked mac and cheese with a golden panko crust, served straight from the casserole dish
Baked mac and cheese with a golden panko crust, served straight from the casserole dish. Photo: David Trinks / Unsplash
At a glance: 20 minutes prep · 30 minutes baking · 9×13-inch baking dish · serves 8 · make ahead friendly

Why This Baked Mac and Cheese Recipe Works

After years of testing in my own kitchen, I found that great baked mac and cheese comes down to a handful of details. Skip them and you get a dry, clumpy casserole. Follow them and you get a bubbling, spoonable dish with real cheese flavor.

  • A classic roux sauce. Butter and flour thicken the milk into a stable base that will not break in the oven.
  • Undercooked pasta. The macaroni boils for 2 minutes less than the package says, since it finishes cooking in the sauce as it bakes.
  • Two kinds of cheese. Sharp cheddar brings tang and Gruyere brings creaminess and a nutty depth.
  • A sauce that is a little loose. The pasta drinks up liquid in the oven, so the sauce should look slightly thinner than you expect.
  • A crunchy topping. Panko tossed in melted butter gives you the golden crust that makes baked mac and cheese different from stovetop.

The result is the kind of side dish or main that disappears from the table first. It works for a weeknight dinner, a potluck or the center of your holiday spread.

Ingredients for Homemade Baked Macaroni and Cheese

You will need only basic pantry and dairy items. A few small choices make a big difference in the final texture.

  • Elbow macaroni: One pound (450 g). Cavatappi, shells and cellentani also work because they hold the sauce.
  • Whole milk: Four cups (960 ml), warmed slightly so the sauce comes together smoothly.
  • Butter and all-purpose flour: Make the roux that thickens the sauce.
  • Sharp cheddar cheese: Twelve ounces (340 g), freshly shredded. Sharp cheddar gives that classic tang.
  • Gruyere cheese: Four ounces (115 g). It melts beautifully. Monterey Jack or fontina are good substitutes.
  • Seasonings: Dry mustard, smoked paprika, garlic powder, black pepper and a pinch of cayenne boost the cheese flavor without making it taste spicy.
  • Panko breadcrumbs: Toasted in butter for a light, crispy topping.
Quick tip: Shred your own cheese from a block. Pre-shredded cheese is coated with starch to prevent clumping, and that coating keeps it from melting as smoothly, which can leave the sauce grainy.

If you want an extra-creamy texture, replace 1 cup of the milk with half-and-half or evaporated milk. I use whole milk most of the time since it gives plenty of richness, but either swap works well.

Choosing the Best Cheese Blend

Cheese is the star, so it is worth a little thought. The goal is a balance of flavor and melt. Sharp cheddar has the bold taste everyone expects but can turn slightly oily on its own, while softer cheeses melt into velvet but taste mild.

CheeseWhat it addsGood to know
Sharp cheddarTangy, classic mac and cheese flavorChoose aged white or yellow cheddar from a block
GruyereNutty, creamy meltA little goes a long way
Monterey JackMild, super smooth meltingGreat budget-friendly stand-in for Gruyere
Smoked goudaDeep smoky flavorUse in place of up to half the cheddar
ParmesanSalty, savory depthBest in the topping or as a small addition

I avoid extra-sharp cheeses aged more than two years, because they tend to be crumbly and do not melt as evenly. Whatever you choose, let the shredded cheese sit on the counter for 15 minutes while you cook the pasta, since cheese at room temperature melts more gently and smoothly into the hot sauce.

How to Make Baked Mac and Cheese

The whole recipe takes about an hour from start to finish. Here is the overview, and the exact amounts are in the recipe card below.

  1. Prep the oven and dish. Heat the oven to 350°F (175°C) and butter a 9×13-inch baking dish.
  2. Boil the pasta. Cook the macaroni in well-salted water for 2 minutes less than the package directions. It should still be quite firm. Drain well and set aside.
  3. Make the roux. Melt the butter in a large pot over medium heat, whisk in the flour and seasonings, and cook for 1 minute until bubbly and pale gold.
  4. Build the sauce. Slowly whisk in the warm milk, a little at a time. Simmer for 4 to 5 minutes, stirring often, until the sauce coats the back of a spoon.
  5. Melt in the cheese. Remove the pot from the heat and stir in about three quarters of the cheese by handfuls until smooth. Season with salt to taste.
  6. Combine and top. Fold the pasta into the sauce, pour it into the dish, and sprinkle with the remaining cheese. Toss the panko with melted butter and scatter it over the top.
  7. Bake. Bake uncovered for 25 to 30 minutes until bubbling at the edges and golden on top. Let it rest for 10 minutes before serving so the sauce thickens.
A scoop of baked mac and cheese being lifted from the dish with a creamy strand of cheese and a crisp golden topping
A scoop of baked mac and cheese being lifted from the dish with a creamy strand of cheese and a crisp golden topping. Photo: Keith Hanson Jr / Unsplash

For an even browner top, broil the dish for 1 to 2 minutes at the very end. Stay close to the oven, since panko can go from golden to burnt very quickly.

Tips for the Creamiest Baked Mac and Cheese

  • Take the pot off the heat before adding cheese. Cheese that gets too hot turns grainy and oily.
  • Warm the milk. Cold milk can cause lumps when it meets the roux.
  • Do not overcook the pasta. Mushy noodles are the number one cause of a disappointing casserole.
  • Season the sauce well. Pasta absorbs a lot of salt, so taste the sauce before combining and make it slightly bolder than you think you need.
  • Let it rest. Ten minutes out of the oven makes the difference between a runny scoop and a creamy, sliceable one.

If you love a good cheesy pasta bake, you might also like my cheesy chicken pasta casserole for dinner, or the ground beef noodle casserole when you need something more filling.

Easy Baked Mac and Cheese Variations

The basic method is endlessly adaptable. Here are some of my favorite twists.

  • Bacon and jalapeno: Stir in 6 slices of crumbled bacon and a diced, seeded jalapeno.
  • Smoked gouda: Replace the Gruyere with smoked gouda for a deep, campfire-style flavor.
  • Buffalo chicken: Add 2 cups of shredded cooked chicken tossed with buffalo sauce.
  • Veggie boost: Fold in steamed broccoli florets or a cup of thawed peas.
  • Extra crunchy topping: Mix crushed buttery crackers or crushed pretzels into the panko.
  • Individual portions: Divide the mixture among eight ramekins and bake for 18 to 20 minutes.

Serving Baked Mac and Cheese for the Holidays

Baked mac and cheese is a fixture at many holiday tables, and it is easy to plan because you can assemble it a day ahead. On Thanksgiving, Thursday, November 26, 2026, I pair it with garlic mashed potatoes and classic green bean casserole, since the oven can handle both while the turkey rests.

For a weeknight dinner, it is wonderful next to something smoky, like crockpot pulled pork, and a simple green salad. Browse more side dish recipes to round out the menu.

Common Mistakes and How to Fix Them

ProblemLikely causeHow to fix it
Dry mac and cheeseSauce too thick or pasta overcookedKeep the sauce loose and boil the pasta 2 minutes short
Grainy sauceCheese added over high heat or pre-shredded cheeseRemove from heat and shred cheese from a block
Greasy topLow-quality or overheated cheeseUse real sharp cheddar and stir cheese in off the heat
Lumpy sauceCold milk or milk added too fastWarm the milk and whisk it in gradually
Soggy toppingBreadcrumbs not coated in butter or dish coveredToss panko in butter and bake uncovered
Bland flavorNot enough salt or mustardSeason the sauce to taste before baking

Make Ahead, Storage and Reheating

To make it ahead, assemble the casserole without the topping, cover it tightly and refrigerate for up to 24 hours. Add the buttered panko just before baking, and add 5 to 10 minutes to the baking time since it starts cold. Cooked leftovers keep in an airtight container in the refrigerator for 3 to 4 days.

Dairy-based dishes should not sit out for long. The USDA leftovers and food safety guidance advises refrigerating perishable food within 2 hours and reheating leftovers to 165°F (74°C).

To reheat, spoon a portion into a dish, add a splash of milk, cover and warm at 350°F (175°C) for 15 to 20 minutes, or microwave in 30-second bursts, stirring between each. To freeze, wrap the cooled, unbaked casserole well and freeze for up to 2 months, then thaw in the refrigerator overnight and bake as directed.

Frequently Asked Questions

What cheese is best for baked mac and cheese?

A mix of sharp cheddar for flavor and a good melting cheese like Gruyere, Monterey Jack or fontina gives the best balance of tang and creaminess.

Do I need to boil the pasta first?

Yes. Boil it for 2 minutes less than the package directions, since it keeps cooking and absorbing sauce in the oven.

Why is my baked mac and cheese dry?

The pasta absorbed too much sauce. Make the sauce a little looser than seems right, and avoid overbaking past the point the edges bubble and the top turns golden.

Can I make baked mac and cheese ahead of time?

Yes. Assemble it without the topping up to 24 hours ahead, refrigerate, then add the panko and bake a little longer.

Can I use evaporated milk instead of whole milk?

Yes, evaporated milk makes a very smooth sauce. Use it in place of part or all of the milk, and taste before adding extra salt.

Ready to cook? Here is the full printable baked mac and cheese recipe with exact measurements and estimated nutrition.

Baked mac and cheese with a golden panko crust, served straight from the casserole dish

Baked Mac and Cheese

Tender macaroni in a silky sharp cheddar and Gruyere sauce, topped with buttery panko and baked until golden and bubbly.
Prep Time 20 minutes
Cook Time 40 minutes
Resting 10 minutes
Total Time 1 hour
Servings: 8 servings
Course: Main Course, Side Dish
Cuisine: American
Calories: 620

Ingredients
  

Pasta and sauce
  • 1 pound elbow macaroni (450 g)
  • 4 tablespoons unsalted butter (56 g)
  • 1/3 cup all-purpose flour (42 g)
  • 1 teaspoon dry mustard
  • 1/2 teaspoon smoked paprika
  • 1/2 teaspoon garlic powder
  • 1/8 teaspoon cayenne pepper
  • 4 cups whole milk warmed (960 ml)
  • 12 ounces sharp cheddar cheese freshly shredded (340 g)
  • 4 ounces Gruyere cheese freshly shredded (115 g)
  • 1 1/2 teaspoons kosher salt or to taste
Topping
  • 3/4 cup panko breadcrumbs
  • 2 tablespoons unsalted butter melted (28 g)
  • 1/4 cup freshly grated Parmesan optional (25 g)

Method
 

Prepare
  1. Preheat the oven to 350°F (175°C) and butter a 9×13-inch baking dish.
  2. Boil the macaroni in well-salted water for 2 minutes less than the package directions. Drain and set aside.
Make the sauce
  1. Melt 4 tablespoons butter in a large pot over medium heat. Whisk in the flour, mustard, paprika, garlic powder and cayenne and cook for 1 minute.
  2. Gradually whisk in the warm milk and simmer for 4 to 5 minutes, stirring often, until the sauce thickly coats the back of a spoon.
  3. Remove from the heat. Stir in three quarters of the cheddar and Gruyere until smooth, then stir in the salt.
Assemble and bake
  1. Fold the macaroni into the sauce and pour into the prepared dish. Top with the remaining cheese.
  2. Toss the panko with the melted butter and Parmesan, if using, and sprinkle over the top.
  3. Bake uncovered for 25 to 30 minutes until bubbly and golden. Rest for 10 minutes before serving.

Notes

Make ahead: Assemble without the topping up to 24 hours ahead, refrigerate, then add the topping and bake 5 to 10 minutes longer.
Freezing: Freeze the unbaked casserole for up to 2 months.
Storage: Refrigerate leftovers for 3 to 4 days.
Nutrition is an estimate per serving.

I hope this baked mac and cheese brings a little extra comfort to your table. If you make it, please leave a comment and a star rating below and tell me which cheeses you used. Happy cooking, friends!

Free email bonus

30-Minute Meals

Loved this recipe? Get my collection of fast, family-favorite dinners, plus new seasonal recipes straight to your inbox.

Leave a Comment

Your email address will not be published. Required fields are marked *

Recipe Rating




Scroll to Top