How to Make Baked Macaroni and Cheese From Scratch
| ~6 min read | Mac and Cheese
Sections
The most common way baked macaroni and cheese goes wrong is the sauce splitting in the oven, leaving a greasy pool under a dry crust. That happens when the cheese is heated too hard or the sauce is too thin going in. Make a proper roux-based cheese sauce, keep the oven at 375F/190C, and pull the dish when the center is set and bubbling at the edges, not when the top is dark brown.
The Cheese Sauce Base
Everything rests on a béchamel thickened with flour and butter, then cheese melted in off the heat. The ratio that works is 2 tablespoons butter and 2 tablespoons flour to 2 cups (480 ml) of milk, which gives a sauce thick enough to hold a spoon trail. That amount of sauce coats about 8 oz (225 g) of dry elbow macaroni, which is roughly 2 cups dry and serves 4 to 6 as a side.
Use whole milk. Lower-fat milk makes a thinner sauce that can break in the oven, and the fat helps the cheese melt smoothly. Melt the butter over medium heat, whisk in the flour, and cook it for 1 to 2 minutes until it smells toasty but has not browned. Pour the milk in slowly while whisking so no lumps form, then cook 5 to 7 minutes, stirring, until the sauce coats the back of a spoon.
Take the pan off the heat before the cheese goes in. Boiling cheese sauce is what makes it grainy, because the proteins tighten and squeeze out fat. Stir in grated cheese a handful at a time until it melts, then season with salt, pepper and a pinch of mustard powder or a teaspoon of Dijon, which sharpens the flavor without tasting like mustard.
Fast Weeknight Method
This version skips the stovetop sauce and builds the base from a cheese-and-milk mixture that thickens in the oven. It is less silky than a roux sauce but takes about 15 minutes less hands-on time.
- Heat the oven to 375F/190C. Boil 8 oz (225 g) dry elbow macaroni in salted water for 1 minute less than the package says, then drain.
- In a bowl, whisk 2 large eggs with 1 cup (240 ml) whole milk, 1 teaspoon salt, 1/2 teaspoon black pepper and 1/2 teaspoon mustard powder. Raw egg carries a risk of illness, so wash hands and surfaces after handling and use pasteurized eggs if you prefer.
- Stir in 3 cups (about 340 g) shredded sharp cheddar and the drained pasta until evenly coated.
- Scrape into a buttered 9-by-13-inch baking dish, press level, and pour 1/2 cup (120 ml) more milk over the top.
- Bake uncovered for 30 to 35 minutes, until the center is set and the edges bubble. The internal temperature of the custard should reach 160F/71C.
- Rest 10 minutes before serving so the custard firms up.
The egg sets the mixture like a custard, so it slices cleanly. If you want a crust, scatter 1/2 cup (about 55 g) breadcrumbs mixed with 1 tablespoon melted butter over the top before baking.
Thorough Roux Method
This is the version to make when the dish is the main event. The sauce is cooked twice, once on the stove and once in the oven, which deepens the flavor and gives a creamier center.
- Heat the oven to 375F/190C and butter a 9-by-13-inch dish.
- Boil 1 lb (450 g) dry elbow macaroni in well-salted water for 2 minutes less than the package says, then drain and toss with a teaspoon of butter so it does not stick.
- Melt 4 tablespoons (56 g) butter in a saucepan over medium heat. Whisk in 4 tablespoons (30 g) all-purpose flour and cook 1 to 2 minutes, stirring, until it smells nutty.
- Add 4 cups (960 ml) whole milk in a slow stream, whisking constantly. Cook 6 to 8 minutes, whisking, until the sauce is thick enough to coat a spoon.
- Off the heat, stir in 4 cups (about 450 g) grated cheese in handfuls. Use a mix: sharp cheddar for flavor, Gruyère or Monterey Jack for melt. Add 1 teaspoon salt, 1/2 teaspoon pepper and 1 teaspoon Dijon mustard.
- Fold the pasta into the sauce, then scrape into the dish. Top with 1 cup (about 110 g) breadcrumbs tossed with 2 tablespoons melted butter.
- Bake 25 to 30 minutes, until bubbling at the edges and the crumb is golden. If the top browns before the center bubbles, cover loosely with foil.
- Rest 10 to 15 minutes before serving.
Grate your own cheese. Pre-shredded bags are dusted with starch to stop clumping, and that starch keeps the cheese from melting into a smooth sauce. A box grater and a block of cheddar take about 5 minutes.
Which Method to Use
Use the fast method when you want dinner on the table in under an hour and you are feeding a family on a weeknight. Use the roux method when you have 20 extra minutes, when you are cooking for a holiday or a potluck, or when you want a sauce that stays creamy after reheating.
The fast method holds up best eaten fresh. The roux version reheats better because the flour-thickened sauce does not separate as readily.
If This, Then That
If the sauce looks thin before baking, cook it 2 more minutes on the stove; it should coat a spoon. If the cheese clumps, the heat was too high, so lower it and stir in the cheese off the burner. If the top is browning too fast, tent foil over the dish. If the center still looks loose at the end of the bake time, give it 5 more minutes and check again. If you are doubling the recipe, use two dishes rather than one deep one, so the center cooks through at the same rate.
How to Tell It Worked
A finished baked macaroni and cheese has a set center that barely moves when you nudge the dish, bubbling sauce at the edges and a topping that is golden rather than dark. A knife inserted in the middle should come out hot and coated, not wet with clear liquid. If the dish sloshes, it needs more time.
Let it rest before you cut. The sauce thickens as it cools for 10 minutes, and cutting early gives you a runny portion. Serve it hot; a dairy-and-egg dish should not sit out more than 2 hours at room temperature, or 1 hour if the room is above 90F/32C.
Store leftovers covered in the refrigerator for 3 to 4 days. Reheat in a 350F/175C oven, covered, with a splash of milk stirred in, for 15 to 20 minutes, until the center reaches 165F/74C. Microwaving works for single portions but can make the pasta rubbery.
Getting the Crust Right
Breadcrumbs mixed with melted butter brown faster than plain crumbs. Panko gives a lighter, crunchier top; fresh soft crumbs absorb more butter and brown more evenly. Add the topping halfway through baking if you want a pale, soft crust, or from the start for a crisp one. A broiler for the last 1 to 2 minutes deepens the color, but stay at the oven and watch it, because crumbs go from golden to burnt quickly.