Skip to main content

Homemade Mac and Cheese From Scratch Recipe

| ~6 min read | Mac and Cheese

Sections
  1. Ingredients
  2. Instructions
  3. Tips
  4. Serving Suggestions
  5. Variations
  6. Storage and Reheating
  7. Frequently Asked Questions

Mac and cheese from scratch is a stovetop pasta dish where elbow macaroni is folded into a smooth cheese sauce made from a butter-and-flour roux loosened with milk and melted with real cheese. It works because the roux thickens the milk just enough to coat the pasta without turning gluey, and the cheese is added off the boil so it melts smoothly instead of breaking. Start to finish it takes about 30 minutes, and the result is richer and sharper than anything from a box.

Ingredients

  • 8 oz (225 g) dried elbow macaroni, or about 2 cups dry
  • 4 tbsp (56 g) unsalted butter
  • 1/4 cup (30 g) all-purpose flour
  • 2 cups (480 ml) whole milk, warmed slightly
  • 1/2 tsp salt, plus more for the pasta water
  • 1/4 tsp dry mustard powder (optional but good)
  • 1/8 tsp black pepper
  • 2 1/2 cups (about 280 g) shredded sharp cheddar, grated from a block
  • 1/2 cup (about 50 g) shredded Gruyère or Monterey Jack, for melt and stretch
  • Pinch of cayenne or a dash of hot sauce (optional)

Makes about 4 generous side servings or 3 main servings.

Instructions

  1. Boil the pasta. Bring a large pot of water to a rolling boil. Add a generous 1 tbsp of salt, then the macaroni. Cook 1 minute less than the package's al dente time, usually about 6 to 7 minutes for elbow macaroni. Scoop out and reserve 1/2 cup of the starchy pasta water, then drain the pasta. Do not rinse it.
  2. Make the roux. In a wide saucepan or Dutch oven, melt the butter over medium heat until foaming. Add the flour all at once and whisk constantly for 1 to 2 minutes, until the mixture smells toasted rather than raw but has not browned.
  3. Add the milk slowly. Pour in the warm milk in a thin stream, whisking the whole time so no lumps form. Add the salt, mustard powder, pepper, and cayenne or hot sauce if using.
  4. Thicken the sauce. Simmer gently, whisking often, for 4 to 6 minutes until the sauce coats the back of a spoon and a line drawn through it holds. It should be the consistency of heavy cream, not paste. If it tightens too much, whisk in a splash of the reserved pasta water.
  5. Melt the cheese off the heat. Pull the pan off the burner and let it sit for 1 minute. Add the cheddar and Gruyère in three handfuls, stirring after each until fully melted before adding more. Keeping the heat off is what prevents a grainy, oily sauce.
  6. Combine and serve. Fold the drained pasta into the sauce and stir until every piece is coated. Add reserved pasta water a tablespoon at a time if the sauce looks stiff. Taste and adjust salt. Serve immediately, while the sauce is still flowing.

Tips

  • Never use pre-shredded cheese for the bulk of it. Bagged shreds are dusted with anti-caking starch, which keeps them from melting into a smooth sauce. Grate from a block on the large holes of a box grater. A younger, softer cheese such as Monterey Jack or Colby melts more evenly than an all-cheddar sauce, which is why the recipe blends the two.
  • Control the heat after the milk goes in. If the sauce boils hard or the cheese hits a hot pan, the proteins squeeze together and the sauce turns grainy or leaks fat. Keep it at a bare simmer and add cheese off the heat.
  • Undercook the pasta slightly. It finishes cooking in the hot sauce and in the oven if you bake it, so 1 minute short of al dente keeps it from going mushy.
  • Fix a broken sauce. If the sauce looks oily or curdled, whisk in 1 to 2 tbsp of warm milk or pasta water and a small knob of butter over low heat. If it stays grainy, a pinch of sodium citrate or a slice of processed cheese will pull it back together.

Serving Suggestions

Serve it straight from the pot as a main with a green salad and a squeeze of hot sauce, or as a side next to roast chicken, meatloaf, baked ham, or grilled sausages. A crisp topping turns it into a bake: transfer to a buttered 9-by-13-inch dish, scatter 1/2 cup panko mixed with 2 tbsp melted butter over the top, and bake at 375°F (190°C) for 15 to 20 minutes until bubbling at the edges and golden. Any bake containing cooked chicken or other poultry must reach 165°F (74°C) throughout; check with a food thermometer rather than by color.

Variations

  • Smoky: swap 1 cup of the cheddar for smoked Gouda and add 1/4 tsp smoked paprika to the roux.
  • Bacon and onion: cook 4 slices of bacon until crisp, crumble, and soften 1/2 finely diced onion in a tablespoon of the rendered fat before making the roux.
  • Broccoli: blanch 2 cups of small broccoli florets in the pasta water for the last 2 minutes and fold them in with the pasta.
  • Different shapes: shell pasta, cavatappi, penne, and rotini all hold sauce well. Keep the dry weight at 8 oz so the sauce-to-pasta ratio stays the same.
  • Blue cheese version: replace 1/2 cup of the cheddar with crumbled blue cheese and cut the salt slightly, since blue cheese is salty.

Storage and Reheating

Refrigerate leftovers within 2 hours of cooking (1 hour if the room is above 90°F) in a shallow, covered container at 40°F (4°C) or below. It keeps 3 to 4 days. The sauce thickens considerably as it chills, so reheat gently: stovetop over low heat with 2 to 3 tbsp of milk or water stirred in, or in the microwave in 30-second bursts, stirring between each, until steaming. Reheated leftovers should reach 165°F (74°C). To freeze, portion into freezer bags or a foil pan, press out air, and freeze at 0°F (-18°C) for up to 2 months; thaw overnight in the refrigerator, never on the counter, then reheat as above. Expect the sauce to be slightly looser after freezing.

Frequently Asked Questions

Why did my cheese sauce turn grainy?

Almost always heat. Boiling the milk mixture, adding cheese to a pan that is still on the burner, or using a very sharp aged cheddar all push the proteins into clumps. Add cheese off the heat in small batches, keep the base at a gentle simmer, and blend in a softer cheese for smoothness.

Can I make it ahead of time?

Yes. Make the sauce up to 3 days ahead, cool it quickly, cover, and refrigerate; cook the pasta when you plan to serve it. You can also assemble the whole baked dish a day ahead, cover, and refrigerate, then bake it straight from cold with 10 extra minutes, making sure the center reaches 165°F (74°C).

Can I use milk alternatives or make it without flour?

Whole milk gives the richest sauce, but 2% milk works and needs about 1 extra minute to thicken. Oat and soy milk substitute well; unsweetened almond milk is thinner. For a flourless version, skip the roux and melt 8 oz of cream cheese and 1 cup of milk into the cheese off the heat, or toss hot pasta with a cheese-and-butter mixture plus pasta water.

Why does my baked mac and cheese dry out?

The sauce was too thick going into the oven or the bake ran too long. Make the stovetop sauce slightly looser than you want the final dish, add a splash of pasta water before baking, cover with foil for the first 15 minutes, and pull it as soon as it bubbles at the edges.

Is the pasta water really necessary?

It is not required for the basic version, but it is the easiest fix for a sauce that tightens. The starch in the water helps the sauce cling to the pasta and lets you loosen it without thinning the flavor the way plain water does. Salt the cooking water, not the pasta water you save.

Can I double the recipe?

Yes, but use a wide, heavy pan and increase the thickening time by a few minutes, since a larger volume of milk takes longer to come to a simmer. A double batch serves about 8 as a side and fits a 9-by-13-inch baking dish.

Similar articles