Skip to main content

Baked Macaroni and Cheese Recipe From Scratch

| ~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

Baked macaroni and cheese is the American comfort-food standard: elbow macaroni folded into a silky cheddar sauce, topped with buttered crumbs, and baked until the edges bubble and the top turns crisp. It works because a roux-based cheese sauce (a béchamel with cheese melted in) stays smooth instead of breaking, and the short bake sets the sauce just enough to slice while keeping the center creamy. This version uses a pound of pasta, a generous cheese blend, and a two-stage method that gives you control over texture.

Ingredients

  • 1 lb (450 g) elbow macaroni (or cavatappi, penne, or shells)
  • 4 tbsp (56 g) unsalted butter
  • 1/4 cup (30 g) all-purpose flour
  • 3 cups (710 ml) whole milk, warmed
  • 1 cup (240 ml) heavy cream (or a second cup of milk for a lighter sauce)
  • 3 cups (about 340 g) shredded sharp cheddar, divided
  • 1 cup (about 100 g) shredded Gruyère or Monterey Jack
  • 1 tsp Dijon mustard
  • 1/2 tsp garlic powder (optional)
  • 1/4 tsp freshly grated nutmeg (optional)
  • 1/2 tsp kosher salt, plus more for the pasta water
  • 1/2 tsp freshly ground black pepper
  • 1/2 cup (30 g) panko breadcrumbs
  • 2 tbsp (28 g) melted butter, for the topping
  • Pinch of smoked paprika (optional)

Instructions

  1. Heat the oven to 375°F (190°C). Bring a large pot of water to a rolling boil and salt it with about 1 tablespoon of kosher salt. Add the macaroni and cook 1 to 2 minutes short of the package's al dente time, since it will keep cooking in the oven. Drain, but do not rinse. Reserve 1/2 cup of the pasta water before draining.
  2. While the pasta cooks, melt 4 tablespoons of butter in a large saucepan over medium heat. Whisk in the flour and cook, whisking constantly, for 1 to 2 minutes until the raw flour smell fades and the mixture is pale gold. Do not let it brown.
  3. Pour in the warmed milk and cream in a slow stream, whisking constantly to prevent lumps. Add the Dijon, garlic powder, nutmeg, salt, and pepper. Cook, whisking often, for 5 to 8 minutes until the sauce thickens enough to coat the back of a spoon.
  4. Take the pan off the heat. Add 2 cups of the cheddar and all of the Gruyère a handful at a time, stirring until each addition melts before adding the next. Taste and adjust salt. If the sauce looks thick, loosen it with a splash of the reserved pasta water.
  5. Fold the drained macaroni into the cheese sauce until every piece is coated. Scrape into a buttered 9x13-inch baking dish.
  6. Toss the panko with the melted butter and the smoked paprika, then scatter over the top. Finish with the remaining 1 cup of cheddar.
  7. Bake for 20 to 25 minutes, until the sauce bubbles at the edges and the topping is golden. If the top browns before the center bubbles, tent loosely with foil. Let the dish rest 10 minutes before serving so the sauce sets.

Tips

  • Shred your own cheese. Pre-shredded bags are dusted with anti-caking starch, which can make the sauce grainy. A block of cheddar grated on the large holes of a box grater melts far more smoothly.
  • Keep the heat low when melting cheese. High heat makes cheese proteins clump and the sauce turn stringy or greasy. Add cheese off the heat, a handful at a time.
  • Undercook the pasta slightly. Pasta cooked fully in water goes soft after 20 minutes in the oven. Pulling it 1 to 2 minutes early keeps the bite.
  • Watch the salt. Cheddar and Gruyère are already salty, so taste the sauce before adding more. If it tastes flat, a squeeze of mustard or a pinch of nutmeg often fixes it better than extra salt.

Serving Suggestions

Serve macaroni and cheese hot with a green vegetable to cut the richness: roasted broccoli, green beans, or a simple salad with a sharp vinaigrette. It pairs well with sliced tomatoes, a sprinkle of hot sauce, or a spoonful of chutney. For a fuller plate, add sliced ham, grilled sausage, or a piece of roast chicken. A crisp lager, cider, or a lightly oaked white wine works better than a heavy red.

Variations

  • Stovetop (no bake): Skip the breadcrumb topping and the oven. Make the sauce as directed, fold in the pasta, and serve straight from the pot; the result is looser and creamier.
  • Bacon and onion: Cook 6 slices of bacon until crisp, crumble, and soften 1 diced onion in a tablespoon of the bacon fat. Stir both into the pasta before baking.
  • Smoky chipotle: Add 1 to 2 minced canned chipotles in adobo to the sauce for a mild heat, and use smoked cheddar for part of the blend.
  • Lighter sauce: Replace the cream with milk and use part-skim mozzarella alongside the cheddar, though the sauce will be less rich and slightly thinner.
  • Gluten-free: Use gluten-free pasta and swap the flour for a gluten-free all-purpose blend, or thicken the sauce with cornstarch instead.

Storage and Reheating

Cool leftovers within 2 hours (1 hour if the room is above 90°F/32°C) and refrigerate in a covered container at 40°F (4°C) or below. It keeps 3 to 4 days. To reheat, cover with foil and warm in a 350°F (175°C) oven for 15 to 20 minutes, or microwave single portions with a splash of milk, stirring halfway. Reheat to 165°F (74°C) throughout. To freeze, portion into an oven-safe dish before baking, wrap tightly, and freeze at 0°F (-18°C) for up to 2 months; thaw in the fridge overnight, then bake as directed, adding 5 to 10 minutes. Do not thaw on the counter.

Frequently Asked Questions

Why did my cheese sauce turn grainy?

Most often the heat was too high or the cheese was added too fast. Cheese proteins tighten and squeeze out fat when overheated. Add cheese off the heat, in small handfuls, and stir until each melts. If it has already split, a splash of warm milk and gentle whisking can sometimes bring it back, but the texture may stay slightly loose.

Can I make macaroni and cheese ahead of time?

Yes. Assemble the dish through the topping, cover, and refrigerate up to 24 hours. Add 10 to 15 minutes to the bake time since it starts cold. You can also make the cheese sauce a day ahead and refrigerate it separately, then reheat gently with a splash of milk before folding in the pasta.

What is the best cheese for macaroni and cheese?

Sharp cheddar gives the classic flavor, but it can be grainy on its own. Blend it with a good melting cheese such as Gruyère, Monterey Jack, or mozzarella for smoothness. Avoid very aged, crumbly cheeses as the main cheese, and skip pre-shredded bags if you want the silkiest sauce.

Can I use a different pasta shape?

Yes. Cavatappi, penne, rotini, shells, and farfalle all work. Choose a shape with ridges or tubes so the sauce has somewhere to cling. Cook any shape to 1 to 2 minutes short of al dente, since it continues cooking in the oven.

How do I keep the topping crisp?

Toss the panko with melted butter so it browns evenly, and scatter it just before baking rather than mixing it into the pasta. Baking at 375°F (190°C) rather than higher keeps the crumbs from scorching before the center heats through. If the top browns early, tent with foil.

Is it safe to reheat macaroni and cheese more than once?

Reheat only the portion you plan to eat, and reheat it once. Repeated cooling and warming gives bacteria more chances to grow. Reheat leftovers to 165°F (74°C) and refrigerate anything not eaten within 2 hours.

Similar articles