Dinners

Macaroni Cheese White Sauce Recipe for a Creamy Finish

Updated · By Patriot Kitchen

Total timeprep + cook
45 min
Prep
15 min
hands-on
Cook
30 min
oven or stovetop
Serves
6
as written
USDA safe temp
165°F / 74°C
check the thickest part

Jump to recipe Save

This macaroni cheese relies on a classic Béchamel-based white sauce to create a smooth, clinging coating for the pasta. The result is a rich, creamy texture that balances the sharpness of the cheese, making it a standard choice for weeknight dinners or potluck sides. This method prevents the sauce from breaking or becoming grainy by carefully tempering the cheese into a thickened roux.

Select the Right Pasta and Cheese Pairings

The choice of pasta affects how the white sauce adheres to the dish. Elbow macaroni is the standard because its curved shape traps the sauce inside the tube. For a more robust texture, use cavatappi or shells. Boil the pasta in salted water for 2 minutes less than the package directions for “al dente”; the pasta will continue to cook in the sauce and oven, and undercooking it initially prevents the macaroni from becoming mushy.

For the cheese, a blend of sharp cheddar and Gruyère or Monterey Jack provides both flavor and meltability. Sharp cheddar provides the primary taste, while Gruyère adds a nutty depth and a smoother melt. Avoid pre-shredded cheeses in bags, as they are coated in potato starch or cellulose to prevent clumping. This coating interferes with the emulsification of the white sauce, often resulting in a gritty or sandy texture. Grate the cheese from a block using a box grater or food processor for a seamless blend.

Adjust the Sauce Consistency With These Ratios

The foundation of the white sauce is a roux, a cooked mixture of equal parts fat and flour. For this recipe, the ratio is 4 tablespoons of butter to 4 tablespoons of flour. This creates a medium-thick base that can support the weight of 2 cups of shredded cheese without separating. If the sauce appears too thick after adding the milk, whisk in an additional 2 to 4 tablespoons (30 to 60 ml) of milk until the desired consistency is reached.

To prevent lumps, the milk must be added gradually. Adding all the liquid at once can cause the flour to clump. Start by whisking in 1/2 cup (120 ml) of milk to create a thick paste, then gradually incorporate the rest. If lumps do form, do not stop stirring; continue whisking vigorously over medium heat, or pass the finished sauce through a fine-mesh strainer before adding the cheese.

Ingredients

  • 1 lb (450 g) elbow macaroni or cavatappi
  • 4 tbsp (56 g) unsalted butter
  • 1/4 cup (32 g) all-purpose flour
  • 3 cups (710 ml) whole milk, room temperature
  • 1/2 tsp (3 g) salt
  • 1/4 tsp (1 g) black pepper
  • 1/4 tsp (1 g) paprika
  • 1/8 tsp (0.5 g) ground nutmeg
  • 3 cups (340 g) sharp cheddar cheese, freshly grated
  • 1 cup (110 g) Gruyère or Monterey Jack cheese, freshly grated
  • 1/2 cup (60 g) Panko breadcrumbs (optional for topping)
  • 2 tbsp (28 g) melted butter (for breadcrumbs)

Instructions

  1. Preheat the oven to 350°F (175°C). Grease a 9×13 inch (23×33 cm) baking dish with butter or non-stick spray.
  2. Bring a large pot of salted water to a boil. Add the macaroni and cook for 7-9 minutes, or until slightly firm to the bite. Drain the pasta and set it aside.
  3. In a large saucepan or Dutch oven, melt 4 tbsp (56 g) of butter over medium heat until it bubbles.
  4. Whisk in the flour and cook for 1-2 minutes, stirring constantly. The mixture should be pale gold and smell slightly nutty, but it should not turn brown.
  5. Slowly pour in the milk, 1/2 cup (120 ml) at a time, whisking constantly to remove lumps. Continue cooking over medium heat for 5-7 minutes, stirring frequently, until the sauce thickens enough to coat the back of a spoon.
  6. Remove the pan from the heat. Stir in the salt, pepper, paprika, and nutmeg.
  7. Add the grated cheddar and Gruyère one handful at a time, stirring until completely melted and smooth. If the sauce is too thick, stir in a splash of milk.
  8. Fold the cooked macaroni into the cheese sauce until every piece of pasta is evenly coated.
  9. Pour the mixture into the prepared baking dish. If using breadcrumbs, mix the Panko with 2 tbsp (28 g) of melted butter and sprinkle evenly over the top.
  10. Bake at 350°F (175°C) for 20-25 minutes, until the edges are bubbling and the top is golden brown.
  11. Remove from the oven and let the dish rest for 5-10 minutes before serving to allow the sauce to set.

Modify the Sauce With Substitutions

Depending on the available ingredients, certain swaps can change the profile of the white sauce. For a dairy-free version, substitute the butter with 4 tbsp (56 g) of vegan butter or olive oil, and replace the whole milk with 3 cups (710 ml) of unsweetened oat milk or soy milk. Use a dairy-free cheese alternative that is specifically labeled for melting. Note that dairy-free cheeses often have a different melting point and may require an extra 2-3 minutes of stirring to fully incorporate.

If you do not have Gruyère, use Fontina or Provolone in a 1:1 ratio. These cheeses provide a similar melt and mild flavor. For a sharper taste, replace the Gruyère with an extra cup of extra-sharp cheddar. If using a very strong cheese like Roquefort or Gorgonzola, use a 1:4 ratio (1 part blue cheese to 4 parts cheddar) to avoid overpowering the sauce.

To replace the all-purpose flour for a gluten-free version, use a 1:1 gluten-free flour blend that contains xanthan gum. If the blend does not have xanthan gum, add 1/4 tsp of it to the roux to ensure the sauce thickens and does not separate during baking. The cooking time for the roux remains the same.

Manage the Sauce to Prevent Breaking

A “broken” sauce occurs when the fat separates from the liquid, leaving an oily sheen on top of the macaroni. This usually happens if the sauce is overheated after the cheese has been added. To prevent this, always remove the saucepan from the direct heat source before stirring in the cheese. The residual heat of the Béchamel is sufficient to melt the cheese without scorching the proteins.

Another cause of separation is the use of low-fat milk or skim milk. The higher water content in low-fat milk makes the emulsion less stable. Whole milk is recommended for the most stable and creamy result. If you must use low-fat milk, add 1 tablespoon (15 g) of cornstarch mixed with a teaspoon of cold water (a slurry) to the sauce while it is simmering to provide extra stabilization.

Store and Reheat the Macaroni Cheese

Transfer any leftover macaroni cheese to an airtight container. Refrigerate within 2 hours of cooking to prevent bacterial growth. The dish will keep in the refrigerator for 3-4 days. Because the pasta continues to absorb the sauce while cooling, the leftovers will appear much drier than the fresh dish.

To reheat, add a small amount of milk or water (about 1-2 tablespoons per cup of pasta) to the dish. This re-introduces moisture and helps the sauce return to a creamy state. Reheat in the oven at 325°F (160°C) covered with foil, or in the microwave on medium power, stirring halfway through. Ensure the internal temperature reaches 165°F (74°C) as per USDA FSIS guidelines for reheating leftovers.

Macaroni cheese can be frozen for up to 2 months. For the best results, freeze the pasta and sauce before baking. Place the unbaked mixture in a freezer-safe dish, cover tightly with plastic wrap and aluminum foil, and freeze. To cook from frozen, thaw in the refrigerator overnight and bake as directed, adding 5-10 minutes to the baking time.

Related

Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.

Spotted an error? Tell us and we will correct it (corrections policy).