This butternut squash mac and cheese is rich, velvety and deeply savory. Roasted squash caramelizes at the edges, while sharp white Cheddar and Gruyère bring a bold, nutty pull.

Crispy sage-garlic breadcrumbs add crunch on top, so every forkful has contrast. It is sturdy enough to pack for lunch.
Why you’ll love this recipe
This is my go-to when I want a warm, filling lunch that still tastes like a treat on day four. The squash makes the sauce silky without a heavy roux-only feel, and the cheese stays smooth when reheated.
Ingredients
Full quantities are in the recipe card below.
- Butter: Builds the roasted flavor and the breadcrumb topping. Substitute with olive oil for a dairy-free version of the squash, but the topping will be less rich.
- Butternut squash: Roasts into sweet, caramelized flesh that blends into the sauce. Substitute with kabocha or sweet potato if needed.
- Garlic and sage: Roasted garlic and crisped sage add aroma and savory depth. Substitute with fresh thyme if you dislike sage.
- Shallots: Turn sweet and mellow when softened, forming the base of the sauce. Substitute with a small yellow onion.
- Sharp white Cheddar and Gruyère: Cheddar gives tang and Gruyère gives a smooth, nutty melt. Substitute with Fontina or Monterey Jack for Gruyère.
- Broth and half-and-half: Broth cooks the squash into the sauce, and half-and-half keeps it creamy. Substitute with whole milk for a lighter sauce.
- Dijon mustard and nutmeg: Sharpen the cheese flavor and add warmth without tasting sweet. Substitute with whole-grain mustard for extra texture.
- Elbow macaroni and panko: Elbows hold sauce well, and panko crisps up in the oven. Substitute with cavatappi or gluten-free pasta and gluten-free breadcrumbs.
How to make roasted butternut squash mac and cheese
Step 1: Roast the squash
Heat the oven to 425°F. Rub the squash halves with a little melted butter, season with salt and pepper, and roast cut side down for 35 to 40 minutes.
Roasting concentrates the sugars, which is why the sauce tastes deep rather than watery.
Step 2: Make the sauce base
Melt 3 tablespoons butter in a large pot. Cook the shallots, garlic and sage over medium heat for 6 to 8 minutes until soft and fragrant.
Add the broth and simmer while the squash finishes, then scoop the flesh into the pot.
Step 3: Blend until smooth
Purée the squash mixture with an immersion blender until silky. Stir in the onion powder, smoked paprika, nutmeg and cayenne if using.
Smooth purée keeps the sauce from turning grainy when cheese goes in.
Step 4: Cook the pasta and build the cheese sauce
Cook the macaroni in salted water until just al dente, about 6 minutes, and drain. Stir the half-and-half into the squash sauce over low heat.
Melt in the Cheddar, Gruyère and Dijon off the heat, stirring until glossy. Fold in the pasta.
Step 5: Toast the topping and bake
Melt the remaining tablespoon of softened butter, toss with panko and a pinch of salt, and toast in a skillet until golden, about 4 minutes. Scatter over the pasta and bake at 400°F for 10 to 12 minutes until bubbling.
Tips
- Keep the cheese off high heat: Melt it gently to avoid oily or grainy sauce.
- Grate your own cheese: Pre-shredded cheese contains starches that prevent smooth melting.
- Undercook the pasta slightly: It keeps softening in the sauce and in the oven.
- Salt the pasta water well: Seasoned pasta tastes far better than seasoning only the sauce.
- Toast the panko in butter: Butter browns the crumbs and makes them crisp longer.
- Use a wide pot: A large surface helps the sauce thicken evenly.
- Add extra broth when reheating: A splash restores silkiness after chilling.

Storage and make ahead
Cool the mac and cheese for about 30 minutes, then portion it into airtight containers. It keeps in the fridge for up to 4 days, and the flavor often improves overnight.
For best texture, store the toasted panko separately and sprinkle it on just before reheating. This keeps the topping crisp at lunch.
To reheat, add a tablespoon of broth or milk, cover and microwave for 2 to 3 minutes, stirring halfway. Freezing is possible for up to 2 months, though the sauce may loosen slightly.
Variations
Add crispy bacon
Crumble four cooked strips of bacon over the top before baking for a smoky, salty finish.
Stir in greens
Fold in a couple of handfuls of baby spinach with the pasta for extra color and a fresh bite.
Frequently Asked Questions
Can I make butternut squash mac and cheese ahead?
Yes. Assemble the dish, cool it, and refrigerate for up to 2 days before baking. Add a splash of milk when reheating to keep the sauce creamy.
How do I stop the cheese sauce from getting grainy?
Melt the cheese off the heat and use freshly grated cheese. Keep the sauce at a gentle simmer rather than a hard boil.
Can I use a different squash?
Yes. Kabocha or sweet potato both roast well and blend smooth. Adjust roasting time based on size and density.
What is the best way to reheat it for lunch?
Microwave portions covered with a spoonful of milk or broth for 2 to 3 minutes, stirring halfway. Add the crispy topping after reheating.
Is this recipe suitable for freezing?
Yes, it freezes for up to 2 months. Thaw overnight in the fridge, then reheat gently with a little extra liquid.
Roasted Butternut Squash Mac and Cheese

Ingredients
- 8 tablespoons unsalted butter (including 1 tablespoon softened butter)
- 1 large (3-pound) butternut squash, split lengthwise and deseeded
- ½ teaspoon onion powder
- Salt and white (or black) pepper
- 4 large garlic cloves, peeled and lightly smashed
- ½ small bunch fresh sage
- 1 cup panko bread crumbs
- 2 ¼ cups/about 9 ounces sharp white Cheddar, coarsely grated
- ¾ cup minced shallots (from 3 large shallots)
- ½ teaspoon freshly grated nutmeg or ¼ teaspoon ground nutmeg, plus more for serving
- ½ teaspoon smoked paprika
- Large pinch cayenne (optional)
- 4 cups chicken or vegetable broth
- 1 pound dry elbow macaroni
- 3 cups half-and-half
- 1 ¾ packed cups/5 ounces Gruyère, coarsely grated
- 2 tablespoons Dijon mustard
Instructions
- Heat the oven to 425°F. Rub the squash halves with 1 tablespoon melted butter, season with salt and pepper, and roast cut side down on a sheet pan for 35 to 40 minutes until fork-tender.
- While the squash roasts, melt 3 tablespoons butter in a large pot over medium heat. Add the shallots, garlic and sage and cook for 6 to 8 minutes until soft.
- Pour in the broth and simmer for 5 minutes. Scoop the roasted squash flesh into the pot and discard the skins.
- Purée the squash mixture with an immersion blender until completely smooth. Stir in the onion powder, smoked paprika, nutmeg and cayenne if using.
- Bring a large pot of salted water to a boil and cook the macaroni until just al dente, about 6 minutes. Drain and set aside.
- Stir the half-and-half into the squash sauce over low heat until warm. Remove from the heat and add the Cheddar, Gruyère and Dijon, stirring until smooth.
- Fold the pasta into the cheese sauce and season with salt and pepper. Spread into a greased 9 by 13-inch baking dish.
- Melt the remaining 1 tablespoon softened butter in a skillet, add the panko and toast over medium heat for 3 to 4 minutes until golden. Season with salt.
- Scatter the toasted panko over the pasta and bake at 400°F for 10 to 12 minutes until bubbling and golden on top. Rest 5 minutes, then grate fresh nutmeg over the top and serve.
Notes
- Roasting the squash cut side down steams it and concentrates its sweetness.
- For meal prep, divide into containers once cooled and store the topping separately until reheating.
- The sauce thickens as it cools, so loosen with a splash of broth or milk when reheating.

