cheesehelp

Mac and Cheese Recipe: Stovetop, With a Baked Option

Mac and cheese is short pasta folded into a smooth cheese sauce, and the recipe below makes it on the stovetop in about 45 minutes, with a short extra step if you want it baked.

The short answer

Make mac and cheese by whisking a roux, adding warm milk to make a béchamel, then stirring in grated sharp cheddar and Gruyère off the heat to finish a Mornay sauce. Fold in slightly underdone macaroni and serve it loose from the pan, or top it with buttered panko and bake at 350°F for 20 minutes.

A white bowl of creamy macaroni and cheese on a restaurant table, the elbow pasta coated in a glossy orange cheese sauce.
A bowl of creamy mac and cheese. Photo: Stuart Spivack from Cleveland, Ohio, USA, CC BY-SA 2.0, via Wikimedia Commons

The sauce is a Mornay, which is simply a béchamel (a white sauce of butter, flour and milk) with cheese melted into it.

Most failures come from the cheese, not the pasta: sauce that turns grainy, greasy or gluey. The fixes are small and all in the steps below: warm milk, a lower flame, cheese grated from a block and added off the heat.

Mac and cheese at a glance

This mac and cheese recipe is for a standard family dinner, with the stovetop and baked versions side by side.

StovetopBaked
Yield6 servings6 servings
Active time30 minutes40 minutes
Total timeAbout 45 minutesAbout 1 hour 10 minutes
HeatMedium-low burner350°F (175°C) oven
TextureLoose, glossy, creamyFirmer, with a crisp top
Best cheese8 oz sharp cheddar, 4 oz GruyèreSame, plus Parmesan in the crumbs
Make aheadSauce keeps 1 day; pasta is best freshAssemble a day ahead, bake straight from the fridge with 10 extra minutes

How to make mac and cheese

Here is how to make mac and cheese from scratch with one pot for the sauce and one for the pasta.

Ingredients for mac and cheese

These ingredients for mac and cheese serve six, with the baked topping at the end of the list.

  • 12 oz (340 g) elbow macaroni
  • 4 tablespoons (55 g) unsalted butter
  • 1/4 cup (30 g) all-purpose flour
  • 3 cups (720 ml) whole milk, warmed
  • 8 oz (225 g) sharp cheddar, aged 6 to 12 months, coarsely grated
  • 4 oz (115 g) Gruyère, coarsely grated
  • 1 teaspoon dry mustard powder
  • 1/4 teaspoon cayenne pepper
  • 1/8 teaspoon freshly grated nutmeg
  • 1 teaspoon kosher salt for the sauce, plus more for the pasta water
  • Baked option: 1 cup (50 g) panko breadcrumbs
  • Baked option: 2 tablespoons (28 g) melted butter
  • Baked option: 1 oz (30 g) Parmesan, finely grated

Steps for making mac and cheese

Follow these steps for making mac and cheese, and read the doneness signs, not just the clock.

  1. Heat the milk in a small pot or the microwave until steaming but not boiling, and grate both cheeses into one bowl.
  2. Boil the macaroni in a large pot of well-salted water for 2 minutes less than the package says (about 6 to 7 minutes), until bendy but still firm in the center, then drain without rinsing and set aside.
  3. Melt the butter in the empty pasta pot or a wide saucepan over medium heat until it foams, then whisk in the flour and cook for 1 minute, stirring, until it smells like biscuits and stays pale.
  4. Pour in the warm milk about a cup at a time, whisking after each addition until smooth, then simmer on medium-low for 4 to 5 minutes, stirring often, until the sauce coats the back of a spoon and a finger drawn across it leaves a clean line.
  5. Take the pot off the heat and whisk in the mustard powder, cayenne, nutmeg and salt.
  6. Stir in the cheese a handful at a time, waiting until each handful has melted before adding the next, until the sauce is smooth and glossy.
  7. Add the macaroni and stir until every piece is coated, about 1 minute over the lowest heat, loosening with a splash of milk or pasta water if the sauce looks tight.
  8. For stovetop mac and cheese, taste for salt and serve at once while the sauce is loose and shiny.
  9. For baked mac and cheese, heat the oven to 350°F (175°C), pour the sauced pasta into a buttered 2-quart (about 8 inch square) dish, and stir the panko, melted butter and Parmesan together to sprinkle over the top.
  10. Bake the dish for 20 to 25 minutes, until the sauce bubbles at the edges and the crumbs are deep golden, then rest it for 5 minutes before scooping.

The best cheese for mac and cheese

The best cheese for mac and cheese is a pair: a sharp cheddar for flavor and a softer melter for texture. Cheddar aged 6 to 12 months has enough tang without the tight, dry protein network of an older block, and Gruyère adds a nutty sweetness and a smooth, stretchy melt. The full guide to the best cheeses for mac and cheese compares the other options, from fontina and Monterey Jack to American cheese and sodium citrate, so this recipe sticks to one reliable blend.

Buy blocks and grate them yourself. Bagged shreds carry anti-caking coatings that keep them from clumping in the bag and also keep them from melting into a smooth sauce, a problem explained in why pre-shredded cheese melts badly. The Gruyère page and the cheddar profile cover what to look for at the store.

Why mac and cheese sauce turns grainy or greasy

Mac and cheese sauce turns grainy or greasy when the cheese proteins tighten and squeeze out fat, and heat is the usual cause. Four habits prevent it:

  • Take the pot off the burner before the cheese goes in, so the sauce is hot but not simmering.
  • Add cheese in handfuls, not all at once, so the temperature does not crash.
  • Skip extra-aged cheese as the main player; a crumbly two-year cheddar will not melt smoothly. See aged versus young cheddar.
  • Keep the sauce slightly looser than you want to eat it, because it thickens as it sits and again in the oven.

If the sauce does split, whisk in a tablespoon of warm milk off the heat, or melt in a slice of American cheese, whose emulsifying salts hold a sauce together. The cheese sauce science page explains the chemistry.

Mac and cheese baked or on the stovetop

Mac and cheese on the stovetop is faster and creamier, while the baked version is firmer and has the crisp top many people want. Baking dries out the sauce, which is why this recipe leaves the pasta slightly underdone and the sauce a little loose. If you want the baked texture without the crunch, skip the crumbs and cover the dish with foil for the first 15 minutes.

Mac and cheese variations

Mac and cheese variations all start from this base. A handful of ideas that work with it as written:

  • Swap the Gruyère for fontina or young Gouda for a softer, sweeter sauce.
  • Use pepper Jack in place of half the cheddar for a gentle heat.
  • Stir in cooked bacon, caramelized onions or roasted broccoli at the pasta step.
  • Add a spoonful of hot sauce instead of the cayenne.

For custard-style, regional and international versions, see the mac and cheese variations page.

Storing and reheating mac and cheese

Leftover mac and cheese goes into the fridge within 2 hours of cooking and keeps for 3 to 4 days, according to USDA guidance on leftovers. Reheat it to 165°F, and stir in a splash of milk first, since the pasta keeps absorbing sauce overnight. For the best result, warm it in a covered saucepan over low heat or in the microwave in short bursts with a stir in between. Store it the way you would any cheese-based dish, in a sealed container. Bacteria grow fastest between 40°F and 140°F, per USDA, which is why the 2-hour limit matters.

Questions about mac and cheese

These are the questions people ask most about making mac and cheese.

What is the best way to make mac and cheese creamy?

The best way to make mac and cheese creamy is to build a béchamel, add the cheese off the heat, and keep the sauce slightly loose. Warm milk and freshly grated cheese do the rest.

Do you bake mac and cheese covered or uncovered?

Bake mac and cheese uncovered when you want a crisp top, at 350°F for 20 to 25 minutes. Cover it with foil if you only want to reheat it without browning.

Why does mac and cheese turn dry after baking?

Mac and cheese dries out after baking because the pasta absorbs sauce and the oven evaporates some. Undercook the macaroni, keep the sauce loose, and use the full 3 cups of milk.

Can you make mac and cheese ahead of time?

You can make mac and cheese ahead by assembling the baked version a day early, covering it and chilling it, then baking it with about 10 extra minutes. Stovetop mac and cheese is best fresh.

What pasta is best for mac and cheese?

The best pasta for mac and cheese is any short shape with hollows or ridges that hold sauce: elbows, shells, cavatappi or small rigatoni all work. Use the same weight, 12 oz.

Can you freeze mac and cheese?

You can freeze mac and cheese for 3 to 4 months, per USDA guidance, but the texture softens. Thaw it in the fridge and reheat with a splash of milk to 165°F.

Make this mac and cheese your own

Make this mac and cheese recipe once as written, then change one thing at a time: the melter, the heat or the topping. Start with the stovetop version, since it shows you how the sauce should look, then bake the next batch.

Sources

  1. Keep Food Safe! Food Safety Basics, USDA Food Safety and Inspection Service
  2. Leftovers and Food Safety, USDA Food Safety and Inspection Service
  3. How Temperatures Affect Food, USDA Food Safety and Inspection Service

More in Recipes and Cooking