Baked macaroni and cheese is a rich, creamy pasta dish with a browned cheese crust that works as a hearty weeknight dinner or a holiday side dish. This method uses a stovetop roux and a baked finish for a stable, thick sauce. For a stovetop-only version, omit the oven steps and the breadcrumb topping.
Macaroni and Cheese Preparation Checklist
Before starting the stove, ensure all components are ready to prevent the roux from burning or the pasta from overcooking. Use a large pot for boiling pasta and a medium saucepan for the cheese sauce. A 9×13 inch (23×33 cm) baking dish is the standard size for this volume of ingredients.
Check that the cheese is shredded from a block. Pre-shredded cheeses contain potato starch or cellulose to prevent clumping in the bag, which can result in a grainy or sandy texture in a baked sauce. If using a block, shred it using the large holes of a box grater or a food processor. Ensure the milk and butter are at room temperature to allow for a smoother emulsion when whisking the flour into the melted butter.
Ingredients
- 16 oz (454 g) elbow macaroni
- 1/2 cup (113 g) unsalted butter
- 1/2 cup (64 g) all-purpose flour
- 3 cups (710 ml) whole milk
- 1/4 tsp (1.5 g) salt
- 1/4 tsp (1.5 g) black pepper
- 1/4 tsp (1.5 g) paprika
- 4 cups (450 g) sharp cheddar cheese, shredded
- 2 cups (225 g) Gruyere or Monterey Jack cheese, shredded
- 1 cup (100 g) Panko breadcrumbs
- 2 tbsp (28 g) melted butter for the topping
Instructions
- Preheat the oven to 350°F (175°C). Grease a 9×13 inch (23×33 cm) baking dish with butter or non-stick spray.
- Fill a large pot with water, add 1 tbsp (18 g) of salt, and bring to a boil. Add 16 oz (454 g) of macaroni and boil for 2 minutes less than the package directions for “al dente.” The pasta should still have a firm bite because it will continue to cook in the oven.
- Drain the pasta in a colander and set it aside.
- In a medium saucepan over medium heat, melt 1/2 cup (113 g) of unsalted butter.
- Whisk in 1/2 cup (64 g) of all-purpose flour and cook for 1-2 minutes, stirring constantly, until the mixture is bubbly and smells slightly nutty but remains pale.
- Slowly pour in 3 cups (710 ml) of whole milk while whisking vigorously to prevent lumps. Continue cooking over medium heat for 5-8 minutes, stirring frequently, until the sauce thickens enough to coat the back of a spoon.
- Remove the saucepan from heat. Stir in 1/4 tsp (1.5 g) salt, 1/4 tsp (1.5 g) black pepper, and 1/4 tsp (1.5 g) paprika.
- Stir in 4 cups (450 g) of sharp cheddar and 1 cup (113 g) of Gruyere or Monterey Jack until the cheese is completely melted and the sauce is smooth.
- Fold the cooked macaroni into the cheese sauce until every noodle is coated.
- Pour the mixture into the prepared baking dish and spread it evenly.
- Top the pasta with the remaining 1 cup (113 g) of Gruyere or Monterey Jack.
- In a small bowl, mix 1 cup (100 g) of Panko breadcrumbs with 2 tbsp (28 g) of melted butter and sprinkle evenly over the cheese.
- Bake at 350°F (175°C) for 20-30 minutes, until the edges are bubbling and the breadcrumbs are golden brown.
- Remove from the oven and let it rest for 5-10 minutes before serving to allow the sauce to set.
How to Tell the Macaroni and Cheese is Done
The dish is finished when the cheese on top has melted and the breadcrumb crust is a uniform golden brown. Look for bubbles forming and popping around the edges of the baking dish; this indicates that the center has reached the necessary temperature to be creamy and hot. If the top is golden but the edges are not bubbling, bake for another 5 minutes.
Since this is an egg-free casserole, the primary goal is heat distribution and crust formation. If you add meat or eggs to your version, use a food thermometer to ensure the center reaches the USDA FSIS safe minimum internal temperature. For casseroles containing eggs, the safe minimum is 160°F (71°C). For versions with cooked ground beef or sausage, ensure the meat was previously cooked to 160°F (71°C) before being added to the pasta.
Fixing a Broken or Grainy Cheese Sauce
A grainy sauce usually happens when the cheese is heated too quickly or at too high a temperature, causing the fats to separate from the proteins. If the sauce looks oily or curdled, remove it from the heat immediately. Whisk in a small amount of room-temperature milk or a teaspoon of cornstarch slurry (cornstarch mixed with cold water) and stir gently over low heat to re-emulsify the sauce.
Another common failure is a sauce that is too thick before it even enters the oven. This happens if the roux is over-reduced or too much flour was used. To fix a thick sauce, whisk in 1/4 cup (60 ml) of warm milk at a time until the desired consistency is reached. Remember that the pasta will absorb moisture during the baking process, so the sauce should be slightly looser than you want the final result to be.
Cheese and Pasta Swaps for Macaroni and Cheese
While sharp cheddar and Gruyere provide a classic balance of tang and nuttiness, other cheeses can be used. For a milder flavor, substitute the sharp cheddar with mild cheddar or Colby Jack. For a sharper, saltier profile, use extra-sharp cheddar or a mix of sharp cheddar and Parmesan. If using Parmesan, reduce the salt in the roux by half, as Parmesan is naturally very salty.
Regarding the pasta, elbow macaroni is the standard due to its shape, which holds onto the sauce. However, cavatappi, shells, or penne also work well. Large shells are particularly effective at trapping the sauce inside the noodle. If using a larger pasta shape, increase the boiling time by 1-2 minutes to ensure the thicker noodle is cooked through, but still maintain the under-boiled state for the oven phase.
Storing and Reheating Macaroni and Cheese
Place leftover macaroni and cheese in an airtight container and refrigerate within 2 hours of cooking. The dish will keep in the refrigerator for 3-4 days. Because the pasta continues to absorb the sauce as it sits, the leftovers will likely be firmer and drier than the freshly baked batch.
To reheat, add a splash of milk to the portion to restore the creaminess. Reheat in the microwave in 30-second intervals, stirring in between, or place in a small baking dish covered with foil and bake at 325°F (163°C) until hot. According to USDA FSIS guidelines, leftovers must be reheated to an internal temperature of 165°F (74°C) to be safe for consumption.
For freezing, transfer the macaroni and cheese to a freezer-safe container. It can be stored for up to 3 months. Thaw in the refrigerator overnight before reheating. Note that the texture of the cheese sauce may change slightly after freezing, sometimes becoming slightly more granular upon reheating.
Common Macaroni and Cheese Questions
If you want a dairy-free version, substitute the butter with a plant-based butter alternative and the milk with unsweetened oat milk or soy milk, which have a creamier consistency than almond milk. Use a dairy-free cheese alternative that is specifically labeled for melting. Be aware that dairy-free cheeses often have different melting points and may require a slightly longer baking time or a bit more liquid in the sauce to prevent dryness.
To add protein, such as diced ham or cooked chicken, fold the meat into the pasta and sauce mixture before transferring it to the baking dish. If using raw meat, it must be fully cooked separately first. For example, chicken must reach a USDA FSIS safe minimum internal temperature of 165°F (74°C) before being added to the casserole. If adding vegetables like steamed broccoli or peas, add them at the same time as the meat to ensure they are evenly distributed.
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).