Baked White Mac and Cheese with Shells

By Caroline BennettUpdated:
Baked white mac and cheese with a bubbling, golden-brown cheese crust and tender pasta shells in a creamy white sauce.
Baked White Mac and Cheese
  • Prep15 Mins
  • Cook35 Mins
  • Servings8
Preventing the sauce from breaking is the primary challenge when making white mac and cheese. This approach employs a slow-melt technique to help achieve a velvety consistency.
  • Time: 15 min active + 35 min cooking + 10 min resting
  • Flavor & Texture: Sharp, nutty, and rich with a crisp topping
  • Perfect for: Affordable weeknight meals for the whole family

White Mac and Cheese

Dry, rubbery pasta shells are a common fail. Often, the sauce evaporates in the oven, leaving you with a gummy block of cheese instead of a creamy dish.

This recipe fixes that by undercooking the pasta and using a specific ratio of milk and cream. It ensures the sauce stays lush and clings to every shell.

You can expect a pale, rich finish from the white cheddar and Gruyère. It's a comforting meal that comes together in an hour without breaking the bank.

The Trick Behind the Texture

  • Roux Base: Cooking flour into melted butter makes a thickener that gives the milk sauce body. This creates a stable, thick base that stays smooth.
  • Off-Heat Melting: Adding cheese after the pot leaves the burner stops the proteins from tightening. This prevents the sauce from turning grainy.

Ingredient Deep Dive

  • 1 lb (450 g) medium pasta shells
  • 1 tbsp (15 g) kosher salt, for the pasta water
  • 4 tbsp (57 g) unsalted butter
  • 1 clove garlic, minced
  • 1/3 cup (42 g) all-purpose flour
  • 2 1/2 cups (600 ml) whole milk, warmed
  • 1/2 cup (120 ml) heavy cream
  • 3 cups (340 g) freshly grated white cheddar (about 12 oz)
  • 1 cup (115 g) freshly grated Gruyère (about 4 oz)
  • 1 tsp (5 g) kosher salt, adjusted to taste
  • 1/2 tsp (1.5 g) dry mustard powder
  • Pinch ground nutmeg (about 1/8 tsp / 0.25 g)
  • 1/4 tsp (0.5 g) freshly ground black pepper
  • 1/2 cup (30 g) panko breadcrumbs
  • 2 tbsp (28 g) unsalted butter, melted
IngredientRoleIf You Don't Have It
White CheddarSharpness and bodyMonterey Jack (milder flavor)
GruyèreNutty depthSwiss cheese (approximate flavor)
PankoLight, airy crunchRegular breadcrumbs (denser result)
Dry MustardCuts through the fatA pinch of paprika or omit

For the Cheese Sauce

Using block cheese is a must here. Pre-shredded bags are coated in potato starch to stop clumping, but that starch prevents the cheese from melting smoothly into the sauce. Grating it by hand takes five minutes and makes the sauce much more silky.

Kitchen Tools

You'll need a large pot for the pasta and a separate heavy-bottomed pot for the sauce. A whisk is essential for the roux to keep it lump-free. For the final bake, a 9x13-inch baking dish or a 2 1/2-quart casserole dish works best.

Key Steps

1. Prep: Preheat and Grate

Preheat the oven to 375°F (190°C). Grate both the white cheddar and Gruyère, then set them aside. Warm the milk and cream in the microwave for about 1 minute, or in a small saucepan until steamy. Note: Warm dairy blends into the roux faster and reduces lumps.

Prep: Preheat and Grate: whole milk, heavy cream, freshly grated white cheddar, freshly grated gruyère

2. Boil the Pasta

Bring a large pot of water to a boil and add 1 tbsp kosher salt. Cook the shells for about 8 minutes, or until they are 2 minutes short of the package directions. They should feel firm when bitten. Drain the pasta without rinsing. Note: Keeping the surface starch helps the sauce stick.

3. Build the Roux

Melt 4 tbsp unsalted butter in a pot over medium heat. Add the minced garlic and cook for 30 seconds until fragrant. Whisk in the flour and cook for 1 to 2 minutes, stirring constantly, until it smells nutty and looks pale golden.

4. Simmer the Sauce

Pour in the warm milk and cream slowly while whisking. Bring the mixture to a gentle simmer. Cook for 4 to 6 minutes, stirring often, until the sauce is thick enough to coat the back of a spoon. If it looks too thin, simmer for 1 to 2 minutes more.

Thick white bechamel sauce in a cooking pot

5. Mix the Cheese

Remove the pot from the burner. Add the grated cheeses in three handfuls, stirring until each batch melts before adding the next. Stir in the mustard powder, nutmeg, pepper, and 1 tsp salt. Taste it and adjust the salt if needed.

6. Combine and Bake

Fold the drained pasta into the cheese sauce until every shell is coated. Spoon the mixture into your baking dish and smooth the top.

Toss the panko with 2 tbsp melted butter. Bake the mac and cheese for 10 minutes, then sprinkle the buttered panko over the top. Bake for another 10 to 15 minutes, for a total of 20 to 25 minutes, until the top is golden brown and the sauce bubbles at the edges.

Pasta shells tossed in a creamy white cheese sauce

7. Final Rest

Let the dish rest for 10 minutes before serving. This allows the sauce to set so it scoops cleanly instead of running.

When It Does Not Turn Out

If the sauce breaks, it's usually a temperature issue. Cheese is sensitive to direct heat and can separate into oil and clumps if it boils. Always pull the pan off the heat before adding the shreds.

If the pasta feels mushy, it was likely overcooked in the boiling water. Since it spends 20 minutes in the oven, the "under-boiling" step helps keep the shells from collapsing.

Fixing Common Problems

ProblemRoot CauseSolution
Grainy SauceHeat too high or pre-shredded cheeseStir in cheese off-heat and grate by hand
Thin/Runny SauceNot simmered long enoughSimmer roux and milk 2 extra minutes before adding cheese
Dry PastaOvercooked before bakingBoil for 2 minutes less than the box says

Make-ahead and Leftover Tips

Keep leftovers in a sealed bowl in the refrigerator for 3 to 4 days. For longer storage, you can freeze portions for up to 2 months. The sauce might look a bit loose after thawing, but it comes back together when heated.

To reheat without drying it out, add 2 to 3 tablespoons of milk to each serving. Warm it covered in the oven at 350°F (175°C) for 15 to 20 minutes, or microwave for 1 to 2 minutes, stirring halfway through.

When reheating cooked leftovers, check with a food thermometer that the center reaches 165°F (74°C); the appliance temperature and time alone do not confirm this.

If you want to assemble this white mac and cheese ahead of time, put the pasta and sauce in the dish but wait to add the topping. Cover and refrigerate for up to 1 day. Add 5 to 10 minutes to the baking time, and sprinkle the buttered panko over the top after the first 10 minutes of baking.

Variations and Swaps

Original IngredientSubstituteWhy It Works
Gruyère (1 cup)Swiss (1 cup)Similar nuttiness, though slightly milder
Heavy Cream (1/2 cup)Half and Half (1/2 cup)Lighter result, still provides necessary fat
Panko (1/2 cup)Regular Breadcrumbs (1/2 cup)Same crunch, though the texture is denser

For a bit of heat, stir in diced jalapeños before baking. If you want more color, a pinch of smoked paprika in the panko topping adds a campfire flavor. To make it a full meal, fold in steamed broccoli florets during the mixing step.

Great Side Dish Pairings

A white ceramic bowl holding creamy pasta shells topped with a perfectly toasted, golden-white bubbling cheese layer.

Since this dish is very rich, it needs something bright or acidic to balance the plate. A crisp apple and fennel salad or roasted lemon green beans work well.

If you're leaning into the comfort food theme, serve it with some warm garlic pull apart bread to scoop up any extra sauce.

Good to Know

What is white mac and cheese made of?

White mac and cheese is made with medium pasta shells tossed in a sauce built on butter, minced garlic, and flour, thinned with warm whole milk and heavy cream. The sauce gets its body from freshly grated white cheddar and Gruyère, plus dry mustard, a pinch of nutmeg, and black pepper, and a buttery panko topping gives it a golden crust.

Why did the sauce stay too wet and not cling to the noodles?

After the milk and cream are added, the sauce generally requires a longer simmer. Maintain a gentle bubble for 4 to 6 minutes, stirring frequently, until it thickens, and allow an additional 1 to 2 minutes if it still seems too thin. Drain the pasta without rinsing so the starch on the shells helps the sauce cling.

Why is the pasta mushy when I cook it to the package time?

Pull the shells when they are about 8 minutes into the boil, 2 minutes short of the package directions, while they still feel firm when bitten. They keep cooking once they are folded into the hot sauce and baked, so cooking them to full package time leaves them soft.

Why does the cheese sauce turn grainy or oily?

Cheese turns grainy or oily when it goes into sauce that is still on the burner, so take the pot off the heat before adding any cheese. Add the cheddar and Gruyère in three handfuls, letting each addition melt completely before adding the next, which keeps the sauce smooth.

How can I add more flavor, since the plain version tastes mild?

Taste the sauce after the cheese melts and adjust the salt in small steps, since the recipe leaves room for that. A little extra black pepper also adds a sharper bite that suits the sharp white cheddar well.

Baked White Mac and Cheese

Baked White Mac and Cheese – Recipe Card
Baked White Mac and Cheese, Recipe Card
4.2 / 5 (6 Reviews)
Preparation time:15 Mins
Cooking time:35 Mins
Resting time:10 Mins
Total time:1 Hr
Servings:8 servings
Category: Main CourseCuisine: American
print Pin

Ingredients:

Instructions:

Nutrition Facts
Per serving
Calories
648 calories
% Daily Value*
Total Fat 36 g
   Saturated Fat 23 g
Sodium 675 mg
Total Carbohydrate 54 g
   Dietary Fiber 2 g
   Total Sugars 6 g
Protein 26 g
* Percent Daily Values are based on a 2,000 calorie diet.
Rate This Recipe
Tap a star to rate
Rate, Share, Comment:
Submit Review:
Ratings at a Glance
5
(2)
4
(3)
3
(1)
2
(0)
1
(0)
Recipe Comments:
Gomez205

Made this for dinner last night and my kids devoured it! So creamy and the top got perfectly crispy.
Foster

I'm OBSESSED with this recipe! I made it for my family last night and it was a total hit! I added a pinch of nutmeg and it took it to the next level! The creamy sauce is perfection and I love that it's so quick to make. I'm definitely making
Landon Lee

I'm so glad I found this recipe! I made it for dinner tonight and it was a huge hit with my family! My kids loved it! I was a bit skeptical about the stovetop method, but it was so easy and quick to make. The creamy sauce is amazing! I
Fisher

I made this for my family and it was...fine. The sauce was a bit too runny for my taste, but the kids loved it. I added some extra cheese on top and it helped a bit. Still, it was a quick and easy dinner, and I'll use this recipe again
Grant

Love this recipe, so easy and turned out amazing!
Serenity T.

I made this recipe for my family and it was a total hit! I did add a pinch of cayenne pepper to give it a little kick, and it took it from great to amazing!
Jump to Recipe