HomeComfort Food › Baked Mac and Cheese

Baked mac and cheese

By Ami · July 26, 2026 · ★★★★★ 4.9 from 31 reviews · Jump to Recipe · Print

This baked mac and cheese is the comfort food recipe I make when I want everyone at the table quiet for ten straight minutes: an extra-creamy two-cheese sauce, tender elbow pasta, and a golden panko crust — all in about 45 minutes. It's the cozy cousin of my baked ziti and it disappears just as fast.

Baked mac and cheese in a white ceramic dish with golden bubbly cheese crust and creamy cheese pull

This is the creamy, golden-topped casserole of your childhood dreams.

Here's what you'll need.

Nothing fancy — the only rule is to buy block cheese and shred it yourself, because pre-shredded cheese is coated in starch and won't melt smooth.

Ingredients for baked mac and cheese portioned into small bowls: elbow macaroni, shredded cheddar, gruyere, butter, flour, milk, dijon, smoked paprika, and panko

Here's how it all comes together.

Step 1 — Boil the pasta (almost)

Cook the elbow macaroni in well-salted water for 2 minutes less than the package says. It finishes cooking in the oven, and this keeps it from going mushy.

Elbow macaroni boiling in a large pot of salted water
Step 2 — Make the roux

Melt the butter in a saucepan, whisk in the flour, and cook for about 1 minute until it smells faintly nutty. This is what thickens your sauce without any gumminess.

Butter and flour whisked into a pale golden roux in a saucepan
Step 3 — Whisk in the milk

Pour the milk in slowly, whisking the whole time, and let it simmer 3–4 minutes until it coats the back of a spoon. Stir in the dijon and smoked paprika.

Milk being whisked into the roux to make a smooth creamy white sauce
Step 4 — Melt in the cheese

Off the heat, stir in the cheddar and gruyère a handful at a time until the sauce is glossy and completely smooth. Taste and season.

Shredded cheddar and gruyere melting into the cream sauce
Step 5 — Assemble and top

Fold the pasta into the sauce, pour everything into a buttered 9x13 dish, and scatter the reserved cheese and panko over the top.

Macaroni and cheese sauce in a baking dish topped with shredded cheese and panko breadcrumbs
Step 6 — Bake until golden

Bake at 375°F for 20–25 minutes until the top is deeply golden and the edges are bubbling. Rest 5 minutes before serving — it thickens as it sits.

Baked mac and cheese fresh out of the oven with a golden bubbly crust
Plated serving of creamy baked mac and cheese with a cheese pull on a fork

Things I learned while testing this recipe.

Make it ahead — it's even better that way.

Here's what I'd serve with this.

Just in case you have leftovers.

Storing: Refrigerate in an airtight container for up to 4 days. Reheating: Add a splash of milk and warm gently on the stove or microwave at 50% power so the sauce loosens back up — or crisp individual portions in the air fryer at 350°F for 5 minutes for the best leftover crust of your life. Tracking your macros? Pair a serving with extra protein using our protein calculator, or go straight for today's other new recipe, high protein cheeseburger bowls.

More easy comfort food recipes for busy weeknights...

Baked ziti with bubbly mozzarella
Baked Ziti
Crockpot pot roast with carrots and potatoes
Crockpot Pot Roast
Marry me chicken in creamy sun-dried tomato sauce
Marry Me Chicken
One-pot garlic parmesan chicken pasta
One-Pot Garlic Parmesan Chicken Pasta

Baked Mac and Cheese

★★★★★ 4.9 from 31 reviews

Extra-creamy baked mac and cheese with a two-cheese sauce and golden panko crust — the easy comfort food recipe that works every single time.

Prep: 15 min · Cook: 30 min · Total: 45 min · Servings: 8 · Category: Comfort Food · Cuisine: American

Ingredients

Instructions

  1. Boil the pasta: Cook macaroni in salted water 2 minutes short of package directions. Drain. Preheat oven to 375°F.
  2. Make the roux: Melt butter in a large saucepan over medium heat, whisk in flour, cook 1 minute.
  3. Whisk in the milk: Add milk slowly while whisking; simmer 3–4 minutes until thickened. Stir in dijon, paprika, salt, and pepper.
  4. Melt in the cheese: Off the heat, stir in 2½ cups cheddar and all the gruyère until smooth.
  5. Assemble and top: Fold in the pasta, pour into a buttered 9x13 dish, top with remaining ½ cup cheddar and the panko.
  6. Bake until golden: Bake 20–25 minutes until golden and bubbling. Rest 5 minutes before serving.
Notes: Shred your own cheese — pre-shredded won't melt smooth. Assemble up to 24 hours ahead and refrigerate unbaked (add 10 minutes to bake time). Swap gruyère for monterey jack or fontina if needed.

Nutrition (per serving, estimated): 560 calories · 25g protein · 46g carbs · 30g fat

Love a crispy golden top?

My air fryer does the leftover-reheating (and half my weeknight cooking) — the Ninja Crispi Cookbook is packed with easy crispy-everything recipes like our chicken tenders and bang bang salmon bites.

Get the Cookbook →

FAQ

Why is my baked mac and cheese grainy?
The cheese got too hot. Always stir cheese in off the heat, and never let the sauce boil afterward.
Can I use pre-shredded cheese?
You can, but the anti-caking starch on it makes the sauce slightly grainy and less glossy. Block cheese takes 2 extra minutes and is worth it.
Can I make baked mac and cheese ahead of time?
Yes — assemble, cover, and refrigerate up to 24 hours, then bake from cold with 10 extra minutes. It also freezes unbaked for up to 2 months.
What cheese melts best for mac and cheese?
Sharp cheddar plus a great melter: gruyère, fontina, or monterey jack. Avoid pre-crumbled or aged crumbly cheeses on their own.