
This butternut squash mac and cheese recipe transforms a classic comfort dish into something vibrant and sophisticated—where roasted sweetness meets velvety cheese in perfect harmony. The secret lies in roasting the squash until caramelized, which adds natural sweetness that balances the rich, cheesy sauce without overpowering it.
I developed this recipe during fall when fresh butternut squash is at its peak, and it quickly became a staple at my dinner table.
The process is straightforward but delivers restaurant-quality results. You’ll start by roasting cubed butternut squash until tender and golden, then blend it into a creamy cheese sauce that coats every strand of al dente pasta.
The sauce combines sharp cheddar, creamy gruyère, and a touch of cream for that signature velvety texture, while a hint of nutmeg adds warmth. This dish is vegetarian but easily elevated with optional crispy bacon or chickpeas for added protein.
What you’ll end up with is a creamy, golden mac and cheese that’s rich yet balanced, with pockets of roasted squash adding both texture and natural sweetness.
The aroma alone will have everyone gathering at the table, and the first bite delivers that perfect combination of cheesy indulgence and autumnal warmth. It’s the kind of dish that feels special enough for company but simple enough for a weeknight dinner.
Serve with a crisp green salad or roasted vegetables to complete the meal. The leftovers reheat beautifully, making this an ideal dish for meal prep or feeding a crowd. Here’s everything you need to create this comforting yet refined side dish that’s sure to become a fall favorite.
Ingredients for butternut squash mac and cheese
Roasted squash and three cheeses create this creamy, autumnal mac and cheese masterpiece.
| Ingredient | Amount | Notes |
|---|---|---|
| Medium Butternut Squash 🎃 | 1 ½ lb | Cubed, seeds removed |
| Extra-Virgin Olive Oil 🫒 | 2 tbsp | For roasting squash |
| Kosher Salt 🧂 | 1 tsp | For roasting seasoning |
| Ground Black Pepper 🌶️ | ½ tsp | Freshly ground preferred |
| Medium White Onion 🧅 | 1 whole | Diced for sauce |
| Garlic Cloves 🧄 | 4 cloves | Minced for sauce |
| Unsalted Butter 🧈 | 4 tbsp | Full-fat for creaminess |
| All-Purpose Flour 🌾 | ¼ cup | For roux base |
| Sharp Cheddar Cheese 🧀 | 2 cups | Shredded, aged preferred |
| Gruyère Cheese 🧀 | 1 cup | Shredded, nutty flavor |
| Heavy Cream 🥛 | ½ cup | Full-fat for richness |
| Ground Nutmeg 🌿 | ¼ tsp | Freshly grated preferred |
| Medium Elbow Pasta 🍝 | 12 oz | Al dente preferred |
| Freshly Grated Parmesan Cheese 🧀 | ¼ cup | For garnish |
| Fresh Basil Leaves 🌿 | ¼ cup | Chopped for garnish |
The butternut squash is where the magic starts. Look for firm, heavy squash with no soft spots—the smaller ones at Whole Foods or local markets are often sweeter. Cutting it? Use a sharp chef’s knife and cut the ends off first. Roast it at 400°F for 30-35 minutes until tender and caramelized. I always roast mine on the same sheet pan I’ll use for the pasta later—saves on cleanup. The onions and garlic should be sweating but not browned when you add them to the sauce, so keep an eye on them.
No sharp cheddar? Pepper jack works in a pinch, but it’ll change the flavor profile. Gruyère is key for that nutty depth—substitute with extra sharp cheddar if needed. Fresh nutmeg is ideal, but if you’ve only got ground, toast it in a dry pan for 30 seconds first to wake up the flavor. The pasta should be al dente—undercooked by 1 minute because it’ll finish cooking in the sauce. For extra protein, add 1 cup cooked chickpeas at the end, or crispy tofu for a vegan option. The basil is just for garnish, but it brightens up the dish beautifully.
This reheats like a dream—just add a splash of milk or cream to loosen it up. Keeps 4-5 days in the fridge, freezes for 3 months. I always make a double batch because it disappears fast. Store leftovers in an airtight container, and when reheating, cover the top with foil to prevent a skin from forming. The squash flavor actually gets better the next day as everything melds together.
Why You’ll Love This Recipe
- One-Pan Magic: I swear by this recipe when I’m too tired to wash dishes. Roast the squash and onion right alongside the pasta—same pan, same oven, minimal cleanup. The squash caramelizes while the cheese melts, and honestly? That’s my kind of effortless dinner.
- Sweet-Savory Balance: The roasted butternut squash adds this gorgeous natural sweetness that cuts through the richness of the cheese. Sauté that onion in olive oil until it’s soft and golden, and suddenly you’ve got depth—no fancy spices needed.
- Meal Prep MVP: Between us, this is my go-to for lunches all week. The squash holds up beautifully when reheated, and the cheese stays creamy (not sad). Pack it in jars or containers, and you’ve got a hearty, satisfying meal that doesn’t feel like leftovers.
- Budget-Friendly Luxury: Butternut squash is cheaper than you think, and this recipe stretches it far. A single medium squash feeds four, and the onion and olive oil are pantry staples. It’s the kind of dish that makes you feel fancy without breaking the bank.
Step-by-step instructions for butternut squash mac and cheese
Here’s how to create a perfectly balanced dish where sweet roasted squash meets rich, velvety cheese.
Roast the Butternut Squash Until Caramelized
Preheat your oven to 400°F and line a baking sheet with parchment paper. Cut the 1.5 lb medium butternut squash into 1-inch cubes, removing any seeds. Toss the squash with 2 tbsp extra-virgin olive oil, 1 tsp kosher salt, and 0.5 tsp ground black pepper until evenly coated.
Spread the squash in a single layer on the prepared baking sheet, leaving space between pieces for even browning. Roast for 25-30 minutes, stirring halfway through, until the edges are deeply golden and the flesh is tender when pierced with a fork. The squash should smell sweetly caramelized—this is your cue it’s ready. Let it cool slightly before using in the sauce.
Cook the Pasta Al Dente
While the squash roasts, bring a large pot of water to a rolling boil. Add 12 oz medium elbow pasta and cook according to package instructions until 1 minute shy of al dente. Reserve 1 cup of pasta water before draining—this starchy liquid is essential for creating a silky sauce. Drain the pasta and set it aside, covered, to keep warm.
Here’s the thing—undercooking the pasta slightly ensures it finishes cooking in the cheese sauce without becoming mushy. The pasta should still have a slight bite when you press it between your fingers. Don’t rinse it; the surface starch helps the cheese cling beautifully.
Build the Creamy Cheese Sauce
In a large skillet, melt 4 tbsp unsalted butter over medium heat. Add the diced 1 whole medium white onion and cook for 5 minutes until softened. Stir in the 4 cloves minced garlic cloves and cook for another 30 seconds until fragrant—don’t let it brown or it’ll turn bitter.
Reduce the heat to low and gradually whisk in the 0.25 cup all-purpose flour, stirring constantly for 1-2 minutes until you have a smooth roux. Slowly pour in the 0.5 cup heavy cream while whisking vigorously to prevent lumps from forming. The mixture should thicken noticeably as it simmers.
Combine All Ingredients for Maximum Flavor
Add the roasted butternut squash to the skillet along with the 2 cups shredded sharp cheddar cheese and 1 cup shredded gruyère cheese. Stir over low heat for 3-4 minutes until the cheese is completely melted and the sauce is smooth. If the sauce becomes too thick, add reserved pasta water 1 tablespoon at a time until it reaches a creamy consistency that coats the back of a spoon.
Season with an additional pinch of 0.25 tsp ground nutmeg and taste—you might need a bit more salt to balance the sweetness of the squash. The sauce should be rich, velvety, and perfectly seasoned. Here’s where it gets fun: fold in the cooked pasta until every strand is beautifully coated.
Finish and Serve with Fresh Garnishes
Transfer the mac and cheese to serving bowls and let it rest for 2-3 minutes to allow the flavors to meld. Top each serving with 0.25 cup freshly grated parmesan cheese and 0.25 cup chopped fresh basil leaves. The basil adds a bright contrast to the rich, creamy sauce and the sweet squash.
Serve immediately while the pasta is hot and the cheese is still gooey. Each bite should deliver a perfect balance of sweet roasted squash, creamy cheese sauce, and al dente pasta. This dish tastes even better the next day, so consider making a double batch for leftovers!
Pro Tips For Making Butternut Squash Mac And Cheese
- ROAST SQUASH UNTIL TENDER: I learned this the hard way—squash that’s still firm after roasting will turn to mush in the sauce. Cut the butternut into 1-inch cubes, toss with olive oil and salt, then roast at 400°F (200°C) for 25-30 minutes until a fork slides in like butter. Overcooking? You’ll end up with a watery mess.
- SWEAT ONIONS LOW AND SLOW: Skip the high-heat rush—caramelizing onions for mac and cheese is about patience, not speed. Cook the diced onion in olive oil over medium-low for 15 minutes, stirring occasionally, until soft and golden. This builds flavor without burning, and it won’t disappear into the sauce.
- SALT THE PASTA WATER: This isn’t the prettiest method, but it’s the tastiest. Boil your pasta in salted water (like the sea, but not that salty—1 tablespoon per gallon). The starchy, salty water clings to the noodles and binds the cheese sauce better. Drain, but save a cup of that water to thin the sauce if needed.
- BUILD SAUCE IN STAGES: Resist the urge to dump all the cheese in at once. Start with a roux of butter and flour (if using), then whisk in a splash of milk or broth to create a smooth base. Add cheese gradually—cheddar first, then the butternut squash puree—so it melts evenly. Stir constantly, or you’ll end up with lumps.
Pro cooking tips for great butternut squash mac and cheese
Roast Squash Perfectly
Roasting the butternut squash at 400°F until caramelized is where the magic begins. Cut the squash into 1-inch cubes for even cooking, and toss them with 2 tbsp extra-virgin olive oil and 1 tsp kosher salt.
Spread them in a single layer on the baking sheet to ensure even browning. Stir halfway through roasting to prevent sticking and promote even caramelization. 🔥
Master the Roux
A smooth roux is the foundation of your creamy sauce. Melt 4 tbsp unsalted butter over medium heat, then whisk in 0.25 cup all-purpose flour until you achieve a golden, lump-free paste. This step takes patience—keep whisking for 1-2 minutes to avoid a raw flour taste.
Slowly add the 0.5 cup heavy cream while whisking constantly to prevent clumping. The sauce should thicken noticeably as it simmers.
Balance Sweet and Savory
The roasted squash adds natural sweetness that needs balancing. After combining the squash with cheeses, taste and adjust seasoning. A pinch of 0.25 tsp ground nutmeg enhances warmth, while a dash of kosher salt can help bridge the sweetness.
I often add a splash of reserved pasta water if the sauce becomes too thick—this keeps the texture silky without diluting flavors. ✨
Pasta Timing Tricks
Cook your pasta 1 minute shy of al dente—it finishes cooking in the cheese sauce. Reserve 1 cup pasta water before draining, as it contains starch that helps emulsify the sauce.
Never rinse the pasta; the surface starch is essential for the cheese to cling beautifully. Fold the pasta into the sauce gently to avoid breaking the strands.
Cheese Selection Matters
For the best flavor, use sharp cheddar for tang and gruyère for nutty depth. If you can’t find gruyère, substitute with extra sharp cheddar, but the texture will be slightly less velvety.
Always shred your own cheese—pre-shredded cheese contains anti-caking agents that prevent smooth melting. Freshly grated parmesan on top adds a final umami punch. 🧀
Garnish Like a Pro
Fresh basil leaves and parmesan cheese elevate the dish visually and taste-wise. Chop the basil finely and sprinkle it just before serving to maintain its bright flavor. The parmesan adds a salty contrast that cuts through the richness.
For extra flair, add a drizzle of truffle oil or a sprinkle of red pepper flakes for heat. Presentation matters—serve in warm bowls for that restaurant-quality feel.
Nutrition facts
Frequently asked questions
Can I make this dish without gruyère?
Yes! While gruyère adds nutty depth, substitute with extra sharp cheddar or Parmigiano-Reggiano for a similar rich flavor. The texture will be slightly less velvety, but still delicious. For a dairy-free option, use nutritional yeast and coconut milk instead of heavy cream.
How do I prevent the sauce from getting grainy?
Grainy sauce usually means the cheese didn’t melt properly. Always shred your own cheese (pre-shredded has anti-caking agents), and melt it low and slow over the skillet. If needed, add 1 tbsp reserved pasta water to help emulsify. Stir constantly until smooth—it should coat the back of a spoon.
Can I use frozen butternut squash instead of fresh?
Thaw and drain frozen squash first, then pat dry with a towel. Roast it the same way as fresh—just check for doneness 5 minutes earlier since it’s already partially cooked. The texture will be slightly softer but still add great sweetness to the dish.
What’s the best pasta shape for this recipe?
Elbow macaroni works perfectly, but penne or farfalle also hold the creamy sauce well. Avoid long, thin noodles—they can break easily. For extra texture, try cavatappi or fusilli, which trap the cheese sauce beautifully.
How can I make this dish vegan?
Use vegan butter and cashew cream (blended soaked cashews) instead of heavy cream. Substitute cheeses with nutritional yeast and vegan cheddar. For the roux, use olive oil instead of butter. The texture will be slightly different but still rich and satisfying!
- Boston Butt Pork Barbecue Recipe: Smoky, Fall-Off-Bone Tenderness in One Slow Cook - November 30, 2026
- Aldi Tomato Soup Recipe: Creamy, Velvety Comfort in 20 Minutes - November 30, 2026
- Marcy Jo’s Banana Cake Recipe: Moist Layers and Warm Spice Magic - November 30, 2026