How to Make Baked Mac and Cheese: Step-by-Step

This post contains affiliate links. As an Amazon Associate, we earn from qualifying purchases.

To make baked mac and cheese, cook butter and flour into a roux, whisk in milk to build a bechamel, stir the cheese in off the heat, and bake at 350 degrees F for 35 to 40 minutes. Let it rest 15 minutes; cheese added to a sauce that is too hot turns grainy.

Grainy is the failure that ruins the whole pan when you are learning how to make baked mac and cheese. The Kitchn explains the mechanism plainly: cheese melts when its fats soften, but excess heat makes the proteins seize and clump. What looks silky on the spoon turns to wet sand in the baking dish.

Below is the method, then the four places the sources split: sauce temperature, milk ratio, oven strategy, and whether the pasta gets boiled first. Every number belongs to a named recipe, and I’ll tell you whose.

Key Takeaways

  • Grate your own cheese. Pre-shredded bags are coated in anti-clumping starch that stops the shreds melting properly.
  • Bake at 350 degrees F, but expect a wide time spread: 15 minutes in Natasha’s Kitchen, 20 to 25 minutes in The Kitchn, and 35 to 40 minutes in Serious Eats.
  • Rest the casserole 10 to 15 minutes. NYT Cooking asks for at least 10; Serious Eats asks for 15.
  • Make-ahead works, but the numbers differ. The Kitchn says 2 days refrigerated or 3 months frozen. Serious Eats says up to 5 days refrigerated, with 15 extra minutes in the oven.

Why Baked Mac and Cheese Sauce Breaks Above 170 Degrees F

baked mac and cheese sauce temperature thermometer preventing grainy broken cheese sauce

Cheese sauce turns grainy above 170 degrees F, according to The Kitchn. Their how to make baked mac and cheese instruction is direct: target the sauce at 160 to 170 degrees F, and if it is above 170, cool it before adding cheese.

Cheese is an emulsion of fat droplets suspended in a protein-and-water matrix. Above 170 degrees F, protein strands contract and squeeze out the fat held inside. The result is separation: fat pools at the edges of the pan while protein clumps into visible grit.

Alton Brown works colder. His baked macaroni and cheese cools the bechamel to 145 to 150 degrees F before the cheese goes in, then adds it in four equal portions, stirring gently between each one. Residual heat does the melting, not the burner.

Common mistake: Dumping the whole bowl of cheese in at once. Alton Brown adds it in four equal portions for a reason.

What Each Symptom Actually Means

Symptom Most likely cause Fix
Grainy, sandy texture Cheese added above 170 degrees F Cool the sauce first, grate the cheese fine
Orange oil pooling at the edges Sauce broke in the oven
Dry, stiff casserole Not enough sauce for the pasta
Bland all the way through Pasta cooked in plain water

How to Make Baked Mac and Cheese, Step by Step

A roux is flour cooked into melted fat until the raw-flour taste disappears, and both Serious Eats and Alton Brown build the entire dish on one.

Before you start: Alton Brown’s instruction is explicit: don’t boil. On the other end of the cook, Serious Eats puts the refrigerator window for leftovers at 5 days.

The Kitchn builds its roux from butter and flour. Serious Eats uses 3 tablespoons of flour, with its 8 tablespoons of butter divided between the sauce and the topping. Both work.

Whisking milk into that roux gives you a bechamel sauce, and the thickness of the bechamel decides whether the finished casserole is scoopable or stiff. Alton Brown cooks his about 3 minutes, until the starch is fully gelatinized and the sauce coats the back of a spoon. Natasha’s Kitchen simmers hers 2 to 3 minutes to a light gravy consistency.

I use all-purpose flour for the roux and keep the cook short.

The Order of Operations

  1. Salt the pasta water heavily. NYT Cooking calls this seasoning the noodles from the inside out.
  2. Cook the macaroni just shy of al dente. Serious Eats pulls it about 2 minutes early because the pasta keeps softening in the oven.
  3. Reserve 1/2 cup of pasta water before you drain. Alton Brown and Natasha’s Kitchen both specify exactly that much.
  4. Cook the roux 1 1/2 to 2 minutes, until it stops smelling like raw flour and starts smelling

Frequently Asked Questions

Can I use a different cheese than cheddar?

Yes, but choose one that melts smoothly. Gruyere, fontina, and Monterey Jack all blend well, while very hard aged cheeses can turn oily when heated. If you want sharp flavor, combine a small amount of an aged cheese with a softer melting variety.

Why does my mac and cheese taste bland even with a lot of cheese?

Salt and acid are usually the missing pieces. Season the bechamel with salt, mustard powder, or a dash of hot sauce before the cheese goes in, then taste again after melting. A little acid, such as a spoonful of mustard or a pinch of cayenne, sharpens the flavor without making it spicy.

What pasta shape works best for baking?

Short, sturdy shapes with ridges or tubes hold sauce well and keep their bite in the oven. Elbow macaroni is the classic choice, but cavatappi, penne, and shells all work. Avoid thin or delicate shapes that turn to mush during baking.

Can I skip the roux and still get a creamy sauce?

You can, but the texture changes. Some recipes use evaporated milk, cornstarch, or a processed cheese to thicken without flour. A roux gives the most reliable body and browning, so if you skip it, expect a looser sauce that may not set as firmly.