Pasta

Baked Mac and Cheese

Silky three-cheese sauce — sharp cheddar, gruyère and parmesan — folded through pasta and baked under a golden smoked-paprika panko crust. Includes the two rules that separate velvety mac from grainy mac: warm milk into the roux, and cheese off the heat. Always.

By Hanan · Salt & Hearth

Published July 19, 2026 · Updated July 27, 2026

Full quantities, times and temperatures · How we make this site

Baked Mac and Cheese

Prep

20 min

Cook

30 min

Total

50 min

Serves

6

Be the first to rate this recipe

Tap a star to rate

This is the mac and cheese that ruins boxed versions for you forever — a glossy, three-cheese béchamel clinging to every ridge of cavatappi, crowned with a smoked-paprika panko crust that shatters when you dig in. The sauce is deeply savory rather than one-note cheesy, thanks to gruyère's nuttiness, parmesan's salt, and a spoonful of Dijon working quietly in the background. Make it for a Sunday dinner centerpiece, a potluck that needs a showstopper, or the night before a holiday when you want one less thing to think about. The two non-negotiable rules — warm milk into the roux, cheese off the heat — are what stand between this and a broken, oily mess, so give them the respect they deserve.

Why you'll love this recipe

  • Silky sauce with zero grainy or oily texture
  • Three cheeses build real depth, not just salt
  • Panko crust adds crunch in every bite
  • Pasta finishes cooking in the oven, not mushy
  • Make-ahead friendly for busy dinners or holidays

Ingredients

Baked Mac and Cheese ingredients

Pasta

  • 14 oz (400g) elbow macaroni or cavatappi
  • Generously salted boiling water

Cheese sauce

  • 4 tbsp (60g) unsalted butter
  • 1/2 cup (60g) all-purpose flour
  • 3 1/3 cups (800ml) whole milk, warmed
  • 3/4 cup (200ml) heavy cream
  • 2 cups (200g) sharp cheddar, freshly grated
  • 1 cup (100g) gruyère or comté, freshly grated
  • 3/4 cup (80g) parmesan, freshly grated
  • 1 tsp Dijon mustard
  • 1/2 tsp smoked paprika
  • 1/4 tsp freshly grated nutmeg
  • Salt and freshly ground black pepper

Breadcrumb crust

  • 1 cup (80g) panko breadcrumbs
  • 2 tbsp (30g) unsalted butter, melted
  • 1/4 cup (30g) parmesan, finely grated
  • 1/2 tsp smoked paprika

Ingredient notes & substitutions

Cavatappi or elbow macaroni:
Cavatappi's ridges and hollow center trap more sauce than smooth elbows, but either works — just don't overcook it, since it bakes further in the oven.
Sharp cheddar, gruyère, and parmesan:
Grate all three yourself off the block — pre-shredded bags are dusted with anti-caking starch that keeps the sauce from going fully smooth.
Whole milk, warmed:
Warming the milk before it hits the roux is what prevents lumps, so give it a minute in the microwave or a warm saucepan before whisking it in.
Heavy cream:
This is what pushes the sauce from good to truly silky and rich; don't swap in half-and-half if you want that classic velvety mouthfeel.
Dijon mustard:
You won't taste mustard at all — it just makes the cheese flavor pop, so don't leave it out even if you're skeptical.
Panko breadcrumbs:
Panko stays crisp longer than regular breadcrumbs in the oven's steam; toss them with melted butter and parmesan so they toast instead of just drying out.

Method

  1. 1

    Cook the pasta in heavily salted boiling water for 2 minutes less than the package says — it finishes cooking in the oven. Reserve a cup of pasta water, then drain without rinsing. Melt the butter in a large heavy saucepan over medium heat, add the flour all at once and whisk constantly for a full 2 minutes, until pale golden and slightly nutty-smelling. Pour in the warm milk in a slow, steady stream, whisking non-stop, then add the cream. Cook, stirring often, about 5 minutes until the sauce coats the back of a spoon. Remove the pan completely from the heat and count to 30 — cheese added over a boil turns grainy and oily. Stir in the cheddar, gruyère and parmesan in two additions, stirring until fully smooth between each, then season with the Dijon, smoked paprika, nutmeg, salt and pepper. Preheat the oven to 400°F (200°C). Fold the drained pasta through the sauce until every piece is coated, loosening with a splash of reserved pasta water if very thick, and pour into a buttered baking dish. Mix the panko with the melted butter, parmesan and smoked paprika and scatter evenly over the top. Bake 20–25 minutes, until bubbling at the edges and deep golden on top. Rest 5 minutes before serving.

    Baked Mac and Cheese — step 1

Tips

  • Grate your own cheese — bagged shreds are coated in anti-caking starch that makes the sauce grainy. This is the single biggest upgrade in the recipe.
  • Warm milk into the roux = lump-free béchamel. Cold milk is why sauces go lumpy.
  • The Dijon doesn't taste like mustard — it amplifies the cheese. Don't skip it.

Variations to try

  • Stir in 1/2 cup crumbled crispy bacon or diced ham into the sauce before baking for a smokier, heartier dish.
  • Swap gruyère for fontina or smoked gouda if you want a softer, more melty stretch and a subtler smoke note.
  • Add 1 cup steamed broccoli florets or sautéed mushrooms folded in with the pasta for a vegetable-forward version.
  • For extra heat, mix 1/4 teaspoon cayenne or a few dashes of hot sauce into the cheese sauce along with the Dijon.

Storage & make-ahead

Let leftovers cool completely, then cover and refrigerate for up to 4 days — the sauce will firm up in the fridge but loosens right back up when reheated. Warm individual portions in the microwave with a splash of milk, or reheat the whole dish covered in a 325°F oven until bubbly. You can assemble the whole casserole (minus the panko topping) up to a day ahead, refrigerate covered, then add the topping and bake straight from the fridge, adding about 10 extra minutes. This dish also freezes well before baking — wrap tightly and freeze up to 2 months, then thaw overnight in the fridge before topping and baking as directed.

Frequently asked questions

Why did my cheese sauce turn grainy or oily?
This almost always happens when cheese is stirred in while the sauce is still boiling or too hot — pull the pan completely off the heat and let it sit 30 seconds before adding the cheese, and make sure you're using freshly grated cheese, not pre-shredded.
Can I make this ahead of time?
Yes — assemble the mac and cheese without the panko topping, cover, and refrigerate up to a day ahead, then add the buttered panko mixture right before baking so it stays crisp.
Can I use a different cheese if I don't have gruyère?
Comté is the closest swap and keeps that same nutty flavor, but fontina or a smoked gouda also work well if you want a slightly different character.
Why do I undercook the pasta before baking?
The pasta keeps absorbing sauce and cooking further in the oven, so pulling it 2 minutes short of al dente keeps it from turning mushy by the time it's golden on top.
✉️ Email Recipe

Get the recipes first

New comfort food recipes in your inbox — no spam, unsubscribe any time.