Other/Global · creamy
Homemade Mac and Cheese
Homemade mac and cheese is a pasta dish that combines cooked elbow macaroni with a from-scratch cheese sauce built on a butter-flour roux, milk, and melted cheese.
Quick facts
Core identity, dietary fit, and storage ranges in a scannable reference table.
| Origin | No single origin is established |
|---|---|
| Base | Cheese sauce (béchamel-based) |
| Primary ingredients | elbow macaroni, cheddar cheese, butter, all-purpose flour, whole milk, salt, black pepper |
| Flavor profile | rich, savory, creamy, mild |
| Color | pale yellow to deep orange depending on cheese used |
| Consistency | thick; a coating sauce that clings to pasta |
| Refrigerator shelf life | 5 days |
| Freezer shelf life | 3 months |
| Vegan | No |
| Gluten-free | No |
| Dairy-free | No |
Dietary note
Recipes and labels vary
Check ingredient labels and individual dietary requirements; homemade and packaged versions can differ.
How it’s made
Butter is melted and whisked with flour to form a roux, then milk is added gradually and cooked until thickened. Shredded cheese is stirred in off heat until smooth. Cooked macaroni is folded into the sauce and served stovetop or transferred to a baking dish and baked until bubbly.
Homemade Mac and Cheese recipe
Butter is melted and whisked with flour to form a roux, then milk is added gradually and cooked until thickened. Shredded cheese is stirred in off heat until smooth. Cooked macaroni is folded into the sauce and served stovetop or transferred to a baking dish and baked until bubbly.
Ingredients
- 8 oz (about 2 cups dry) elbow macaroni
- 3 tablespoons unsalted butter
- 3 tablespoons all-purpose flour
- 2 cups whole milk
- 2 cups (about 8 oz) sharp cheddar cheese, freshly shredded
- 1 teaspoon, plus more for pasta water kosher salt
- 1/4 teaspoon black pepper
- 1/4 teaspoon dry mustard powder
Method
- Cook macaroni in well-salted boiling water until just al dente according to package directions; drain and set aside.
- Melt butter in a medium saucepan over medium heat. Whisk in flour and cook, stirring constantly, for 1 to 2 minutes until the mixture smells nutty but has not browned.
- Gradually pour in milk while whisking continuously to prevent lumps. Cook over medium heat, stirring often, until the sauce thickens enough to coat the back of a spoon, about 5 to 7 minutes.
- Remove the saucepan from heat. Stir in salt, pepper, and mustard powder.
- Add shredded cheddar in two or three additions, stirring after each until fully melted and smooth.
- Fold the drained macaroni into the cheese sauce until evenly coated. Serve immediately, or transfer to a greased 2-quart baking dish, top with additional shredded cheese, and bake at 375°F for 20 minutes until bubbly and lightly golden.
Common uses
Practical applications with the role this sauce plays in each dish.
Use 01
Main dish
Served as a standalone entrée, portioned into bowls or plates for a satisfying weeknight meal.
Use 02
Side dish
Paired alongside grilled or roasted proteins as a rich, starchy accompaniment.
Use 03
Baked casserole
Transferred to a baking dish, topped with breadcrumbs or extra cheese, and baked until golden.
Use 04
Potluck and holiday table
Prepared in large batches and served family-style at gatherings and holiday meals.
Use 05
Base for add-ins
Used as a foundation for mix-ins such as bacon, jalapeños, caramelized onions, or pulled pork.
Use 06
Stuffed vegetables
Spooned into hollowed bell peppers or tomatoes before baking for a composed presentation.
Use 07
Topping for burgers or hot dogs
Ladled over burgers or hot dogs as a creamy, cheesy condiment sauce.
Pairings
Pairing ideas grouped by food role for quick comparison.
Proteins
- pulled pork
- grilled chicken
- crispy bacon
- smoked brisket
- pan-seared shrimp
Vegetables
- steamed broccoli
- roasted cauliflower
- sautéed spinach
- caramelized onions
- roasted tomatoes
Carbs
- garlic bread
- cornbread
- dinner rolls
Homemade Mac and Cheese substitutes
Starting ratios, best uses, and the main functional tradeoff for each alternative.
| Substitute | Ratio | Best for | Notes |
|---|---|---|---|
| Velveeta-based cheese sauce | 1:1 | stovetop mac and cheese | Melts very smoothly; flavor is milder and saltier than a cheddar roux sauce. |
| Evaporated milk in place of whole milk | 1:1 | creamier stovetop versions | Produces a richer, more stable sauce that is less prone to breaking. |
| Cream cheese plus pasta cooking water | varies | quick no-roux preparations | Creates a tangy, creamy coating without a flour-based roux. |
| Butternut squash purée blended with cheese | varies | lighter or vegetable-forward versions | Reduces overall fat; adds mild sweetness and orange color. |
| Gluten-free flour in the roux | 1:1 | gluten-free adaptations | Use a rice flour or cornstarch slurry; sauce may be slightly thinner. |
Storage
Keep time and temperature guidance visible, and discard sauce when spoilage signs appear.
Refrigerator
Store cooled mac and cheese in an airtight container for up to 5 days. Reheat gently on the stovetop or in the microwave with a splash of milk to restore creaminess.
Freezer
Freeze in airtight, freezer-safe containers for up to 3 months. Thaw overnight in the refrigerator before reheating. Sauce texture may change slightly after freezing.
Signs of spoilage
Discard if you notice an off or sour smell, visible mold, or a slimy texture on the pasta or sauce.
Homemade Mac and Cheese FAQ
Short, self-contained answers to common questions.
Why does homemade mac and cheese sauce turn grainy?
Graininess usually results from overheating the cheese or adding it while the sauce is still on high heat. Remove the pan from heat before stirring in shredded cheese, and use freshly grated cheese rather than pre-shredded, which contains anti-caking agents that can cause a gritty texture.
What is the best cheese for homemade mac and cheese?
Sharp cheddar is the most common choice for its bold flavor and good meltability. Gruyère, Colby Jack, fontina, and Gouda also melt smoothly. Combining two cheeses adds depth. Avoid aged hard cheeses like Parmesan as the sole cheese, as they can make the sauce grainy.
Can homemade mac and cheese be made ahead of time?
Yes. Assemble the dish, cover tightly, and refrigerate for up to 2 days before baking. Add 10 to 15 minutes to the bake time when cooking from cold. For stovetop versions, store the sauce and pasta separately and combine when reheating to prevent the pasta from absorbing all the sauce.
How do you keep homemade mac and cheese creamy when reheating?
Add a small splash of milk or cream before reheating. Warm over low heat on the stovetop, stirring frequently, or microwave in short 30-second intervals, stirring between each. Avoid high heat, which can cause the sauce to break and the cheese to separate.
Is homemade mac and cheese gluten-free?
A standard recipe is not gluten-free because it uses all-purpose flour in the roux and wheat-based pasta. Both can be substituted: use a gluten-free pasta and replace the flour with a gluten-free alternative such as rice flour or cornstarch to make a gluten-free version.