Baked Mac and Cheese With Roux: How It Works
| ~9 min read | Mac and Cheese
Sections
Yes, a roux is the standard and most reliable way to make baked macaroni and cheese. You melt butter, whisk in an equal amount of flour, cook the paste briefly to remove the raw flour taste, then stream in milk to build a béchamel, melt cheese into that sauce, and bake it with cooked pasta. The roux is what thickens the milk into a sauce that clings to every noodle and survives the oven without turning greasy or watery.
That said, the roux is only half the story. The cheese you choose, how much sauce you make per pound of pasta, and the temperature you bake at all determine whether you end up with creamy spoonfuls or a dry, curdled brick. The sections below cover the mechanics, the ratios that matter, and the problems that send bakes sideways.
Why a Roux Instead of Just Melting Cheese
Cheese melted directly into hot pasta or milk tends to split. Cheese proteins and fats separate under sustained heat, so you get oily pools and a grainy texture. A roux solves this by giving the fat and starch a chance to bond with the liquid first, creating a stable emulsion that can then hold melted cheese in suspension.
Starch granules in the flour absorb liquid and swell when heated, thickening the milk into a béchamel. That thickened base physically coats the cheese proteins and slows their clumping. It is the same principle behind cheese fondue being stabilized with cornstarch, and it is why a roux-based cheese sauce reheats far better than a pot of cheese melted straight into cream.
There is a second reason specific to baked macaroni: the oven is a hostile environment. A casserole spends 20 to 35 minutes at 350–375°F (175–190°C), and any sauce that is only marginally stable will break under that sustained heat. A roux-thickened sauce has enough body to stay cohesive, and the starch also absorbs some of the moisture the pasta releases as it continues cooking in the oven.
How a Roux Actually Works: Stages and Ratios
Roux is defined by weight, not volume, which is why recipes that say "2 tablespoons butter, 2 tablespoons flour" are approximate. Equal weights of flour and fat is the classic starting point, and the color you cook it to changes both flavor and thickening power.
- White roux — cooked 1–2 minutes, just until the raw flour smell fades. Maximum thickening power, mild flavor. Best for cheese sauce.
- Blond roux — cooked 3–5 minutes to a pale tan. Slightly nutty, slightly less thickening. Good for a sharper, more savory mac.
- Brown roux — cooked 10–20 minutes to a deep brown. Strong toasted flavor, much weaker thickening. Not ideal here; you would need more flour.
For a baked casserole, a medium-thick béchamel is the target: roughly 1 ounce (28 g) each of butter and flour per 1 cup (240 ml) of milk. For a 1-pound (450 g) box of pasta, plan on about 2 to 2½ cups of milk and 2 to 2½ tablespoons each of butter and flour. That yields enough sauce to coat the pasta generously plus a little extra to be absorbed during baking.
Sauce-to-pasta ratio is the single biggest factor in creaminess. Under-sauce it and you get dry noodles no matter how good your roux was. A pound of pasta needs at least 3 cups of finished cheese sauce; more forgiving versions use up to 4 cups.
Step-by-Step Method
- Cook the pasta to just shy of al dente. Salt the water generously — about 1 tablespoon of kosher salt per gallon (3.8 L). For elbow macaroni, that means roughly 6 to 7 minutes rather than the full package time. It finishes cooking in the oven and will turn to mush if fully cooked first. Reserve about 1 cup of pasta water before draining.
- Make the roux. Melt the butter over medium heat, whisk in the flour, and cook 1 to 2 minutes, stirring constantly, until it smells toasted rather than raw. Do not let it brown for a classic white sauce.
- Add the milk gradually. Pour in the milk in a thin stream, whisking constantly to prevent lumps. Cold or warm milk both work; the key is steady whisking. Simmer 5 to 8 minutes until the sauce coats the back of a spoon.
- Season before the cheese. Add dry mustard (about ½ teaspoon per batch), a pinch of cayenne or paprika, salt, and black pepper. Mustard powder helps emulsify the cheese and sharpens the flavor.
- Melt the cheese off the heat. Pull the pot off the burner, then stir in shredded cheese a handful at a time until smooth. Boiling cheese sauce after the cheese goes in is the fastest route to a grainy, broken sauce.
- Combine and bake. Fold the sauce into the drained pasta, loosening with reserved pasta water if it looks tight. Transfer to a buttered baking dish, top with buttered breadcrumbs or more cheese, and bake at 350°F (175°C) for 20 to 30 minutes until bubbling at the edges.
Choosing Cheese for a Roux-Based Bake
Not all cheese melts the same way. The best baked mac and cheese blends a cheese that melts smoothly with one that carries flavor.
- Sharp cheddar — the backbone. Aged cheddar brings flavor but can turn grainy or oily when heated hard; grate it finely and never boil the sauce after it goes in.
- Gruyère or Swiss — melts beautifully and adds nutty depth. Excellent partner to cheddar.
- Fontina — creamy and reliable, good for body.
- Monterey Jack — mild, excellent melter, good for a kid-friendly batch.
- Parmesan — best used as a finishing cheese or in the topping rather than the bulk of the sauce.
Avoid very young, high-moisture cheeses like fresh mozzarella as the primary cheese — they release water and dilute the sauce. Pre-shredded cheese is convenient but is coated in anti-caking starch, which can make the sauce pasty; grating your own from a block gives a better result. If you must use pre-shredded, whisk it in gently off the heat.
Common Problems and How to Fix Them
- Grainy or curdled sauce — caused by too much heat after the cheese goes in, or by acidic, long-aged cheese. Fix: keep the sauce below a simmer once cheese is added, and blend in a little mustard powder or a splash of evaporated milk.
- Lumpy béchamel — milk added too fast or the roux not whisked while liquid goes in. Fix: whisk hard, or strain the sauce before adding cheese.
- Dry bake — not enough sauce, pasta cooked fully before baking, or the casserole left in too long uncovered. Fix: use more sauce, undercook the pasta, and cover with foil for the first half of baking.
- Greasy surface — too much cheese relative to sauce, or an extended hold in the oven. Fix: keep the cheese-to-sauce balance sensible and bake just until bubbling.
- Raw flour taste — the roux was pulled off the heat too soon. Fix: cook the butter and flour together at least 1 to 2 minutes before adding milk.
Roux-Based Versus Other Methods
Roux is the classic, but it is not the only approach. Knowing the alternatives helps you pick the right one for the occasion.
- Roux (béchamel) method — most stable, best for baking, reheats well. Takes an extra 10 minutes and one more pot.
- Evaporated milk method — thickens without flour; quicker, but less stable in the oven and can taste sweeter.
- Sodium citrate or processed cheese — chemically emulsified, gives an ultra-smooth sauce that never breaks, though the flavor is less sharp.
- Starch-thickened (cornstarch) sauce — works, but cornstarch sauces can turn gluey and are less forgiving during baking.
- No-sauce "layered" style — pasta, cheese, and milk poured over; simpler and lighter but less creamy and more prone to separation.
For a baked casserole specifically, the roux method earns its reputation. The extra step is short and the payoff is a sauce that holds together through the oven and through reheating.
Storage, Reheating and Food Safety
Macaroni and cheese is a dairy- and egg-free sauce in most versions, but it is still a high-moisture cooked dish and needs careful handling.
- Refrigerate leftovers within 2 hours of cooking (1 hour if the room is above 90°F / 32°C), at 40°F (4°C) or below.
- Most cooked mac and cheese keeps 3 to 4 days in the fridge.
- Freeze leftovers at 0°F (-18°C); the texture may become slightly grainy, but the dish stays safe. Thaw in the fridge, never on the counter.
- Reheat leftovers and the whole casserole to 165°F (74°C), checked with a food thermometer. Reheat in a covered dish at 350°F (175°C) with a splash of milk or pasta water to restore creaminess, or in the microwave in short bursts, stirring between.
- If your recipe includes egg in the sauce, treat it as an egg dish and cook to 160°F (71°C). Never taste raw egg-based sauce or raw dough; if you want a no-cook egg component, use pasteurized eggs.
One practical note on reheating: a baked casserole dries out on the second pass because the pasta keeps absorbing sauce. Loosening with a few tablespoons of milk before reheating and covering the dish restores most of the original texture.
Frequently Asked Questions
Can I make baked mac and cheese without a roux?
Yes. You can thicken the sauce with cornstarch, use evaporated milk, rely on processed cheese for emulsification, or pour milk over layered pasta and cheese. Each produces a different texture; the roux version is the most stable for oven baking and reheating, but the alternatives are legitimate and faster.
Why did my cheese sauce turn grainy?
Almost always heat. Boiling or simmering the sauce after the cheese is added causes the cheese proteins to tighten and squeeze out fat, giving a grainy, oily texture. Melt cheese off the heat or over the lowest setting, add it gradually, and stir rather than whisk aggressively. Very sharp, long-aged cheddar is also more prone to this than younger cheese.
How much sauce do I need for a pound of pasta?
Plan on 3 to 4 cups of finished cheese sauce per pound (450 g) of dry pasta for a baked casserole. That means roughly 2 to 2½ cups of milk thickened with about 2 to 2½ tablespoons each of butter and flour, then loaded with 3 to 4 cups of shredded cheese. More sauce is safer than less, since the pasta absorbs moisture in the oven.
Should I cover baked macaroni and cheese while it bakes?
Covering with foil for the first 15 to 20 minutes keeps the surface moist and helps the pasta finish cooking without drying out; uncover for the last 10 minutes to brown the topping. If you are using a breadcrumb topping, add it after the covered phase so it does not steam and go soggy.
Can I make the roux and sauce ahead of time?
Yes. The béchamel or finished cheese sauce can be made up to 3 days ahead and refrigerated in a covered container; press plastic wrap onto the surface to prevent a skin from forming. Reheat gently with a splash of milk, whisking, before combining with pasta. You can also assemble the whole unbaked casserole a day ahead, refrigerate it, and bake it straight from cold, adding 10 to 15 minutes to the baking time.
What pasta shape is best for baked mac and cheese?
Elbow macaroni is traditional because its curves trap sauce. Other good choices are cavatappi, rigatoni, penne, shells, and fusilli — shapes with ridges or hollows that hold sauce well. Cook any shape to just shy of al dente, since it continues cooking in the oven.