Salads
This baked mac and cheese recipe with veggies transforms a classic comfort dish into something vibrant yet indulgent—crispy golden top, tender pasta, and hidden greens that sneak in nutrition without sacrificing flavor. I developed it after years of sneaking vegetables into my kids' meals, and trust me, they never noticed (or cared). The secret is roasting the veggies first for concentrated flavor, then blending them into the cheese sauce so every bite feels like a hug from a New England winter.
What makes this recipe work is the balance: creamy cheddar and Gruyère create the signature richness, while sautéed spinach and roasted broccoli add texture and nutrients without overpowering the dish. The breadcrumb topping isn't just for show—it's what creates that crispy contrast against the velvety mac and cheese underneath.
And because we're baking everything in one pan, cleanup becomes a non-issue (a win after my infamous pot pie disaster).
The result? A dish that's restaurant-quality but made with simple techniques—no fancy equipment, just a baking dish and 30 minutes of hands-off time. The veggies soften just enough to blend into the sauce, while the pasta stays al dente and the top gets that perfect golden crust.
This is the kind of meal that disappears faster than my Nonna's homemade gnocchi on a Sunday night.
Serve with a simple side salad or garlic bread to soak up every last bit of that cheesy goodness. The best part? Leftovers reheat beautifully, making this the ultimate weeknight dinner that feels like a celebration. Let's get baking!
Ingredients for baked mac and cheese recipe with veggies
Pantry staples plus a few cheesy luxuries—this one-pan wonder is all about balance.
| Ingredient | Amount | Notes |
|---|---|---|
| Elbow Macaroni 🍝 | 1 ½ lbs | Medium or short cut preferred |
| Sharp Cheddar Cheese 🧀 | 2 cups | Shredded, full-fat preferred |
| Gruyère Cheese 🧀 | 1 cup | Shredded, for depth of flavor |
| Heavy Cream 🥛 | 1 cup | Full-fat for creaminess |
| Whole Milk 🥛 | ½ cup | Warmed for smooth sauce |
| Fresh Spinach 🌿 | 2 cups | Chopped, wilted first |
| Broccoli Florets 🥦 | 2 cups | Roasted until tender |
| Garlic Cloves 🧄 | 4 cloves | Minced for aromatic base |
| Butter 🧈 | 4 tbsp | Unsalted, for sautéing |
| All-Purpose Flour 🌾 | 2 tbsp | For thickening sauce |
| Panko Breadcrumbs 🍞 | ½ cup | For crispy golden top |
| Dried Mustard 🌶️ | ½ tsp | For subtle tang |
| Salt 🧂 | 1 ½ tsp | Kosher or sea salt |
| Black Pepper 🌶️ | ½ tsp | Freshly ground preferred |
| Extra-Virgin Olive Oil 🫒 | 2 tbsp | For roasting veggies |
The cheeses are non-negotiable here. Gruyère brings that nutty depth, while sharp cheddar delivers the classic tang. Look for block cheeses at specialty stores like Whole Foods—pre-shredded gets clumpy. The macaroni? Medium or short cut cooks faster and holds sauce better. I grab mine from the bulk bin at Trader Joe's—cheaper and fresher than the boxed stuff. For the veggies, fresh broccoli with tight florets gives the best texture, but frozen works in a pinch (no thawing needed).
No Gruyère? Parmesan at half the amount adds umami, though it won't be identical. Running low on spinach? Kale or Swiss chard works—just chop finer. The panko topping is key for that crispy magic, but crushed cornflakes or regular breadcrumbs toasted in the oven save money. For extra richness, swap half the milk for cream cheese—trust me on this. And if you're watching calories, light cream cheese keeps it creamy without the guilt.
This reheats like a dream—honestly, it's even better the next day. Store leftovers covered in the fridge for 4-5 days, or freeze portions for 3 months. I like to portion it into individual baking dishes before freezing so I can just pop one in the oven. The breadcrumb topping? Add it fresh before baking—no need to refrigerate the unbaked casserole. And if you're prepping ahead, roast the veggies first and store them separately until ready to blend into the sauce.
Why You'll Love This Recipe
- One-Pot Magic: I swear by this recipe—just toss the pasta, cheese, and veggies into one baking dish, mix, and bake. No saucepans, no strainers, no stress. The Gruyère melts into that golden, bubbly blanket while the cheddar adds sharp bite.
- Creamy Cheese Love: That combo of sharp cheddar and nutty Gruyère? It’s like a hug in cheesy form. The heavy cream and milk make it silky, but the crispy top? Oh, it’s the best part—crunchy enough to satisfy, creamy enough to melt.
- Leftover Heaven: Between us, this dish tastes even better the next day. I make a big batch on Sundays, and by Wednesday, it’s still the star of my lunch. The veggies stay tender, the cheese stays gooey, and it reheats like a dream.
- Budget-Friendly Feast: Elbow mac, basic cheeses, and a handful of veggies stretch this recipe to feed four or more. I’ll be real: it’s my go-to when I need to fill hungry bellies without breaking the bank. Plus, the veggies sneak in extra nutrition—no one even notices.
Step-by-step instructions for baked mac and cheese with veggies
Here's how to create the ultimate baked mac and cheese with crispy edges and hidden veggies.
Roast the Veggies Until Tender
Preheat your oven to 425°F and line a rimmed baking sheet with parchment paper. Toss the 2 cups broccoli florets with 2 tablespoons extra-virgin olive oil, 0.5 teaspoon salt, and 0.25 teaspoon black pepper. Spread them out in a single layer and roast for 15-18 minutes until the edges are deep golden brown and they're tender when pierced with a fork.
While the broccoli roasts, heat 1 tablespoon butter in a large skillet over medium heat. Add the 2 cups fresh spinach and sauté for 2-3 minutes until just wilted. Drain any excess liquid and set aside. This wilting removes moisture that would make your mac and cheese watery.
Cook the Pasta Al Dente
Bring a large pot of water to a rolling boil and add 1.5 teaspoons salt. Add the 1.5 lbs elbow macaroni and cook until 1 minute before al dente (check package directions). Reserve 1 cup pasta water before draining—this starchy liquid is essential for a creamy sauce.
Drain the pasta and immediately return it to the pot. Add the wilted spinach and roasted broccoli, tossing gently to combine. This keeps the veggies evenly distributed throughout the dish. The residual heat from the pasta will help the broccoli soften further.
Build the Cheesy Sauce
In the same pot, reduce heat to medium-low and add 3 tablespoons butter. Stir in the 2 tablespoons all-purpose flour and cook for 1-2 minutes until the mixture turns golden and smells nutty. This creates a roux that will thicken your sauce beautifully.
Slowly pour in the 1 cup heavy cream and 0.5 cup warmed whole milk while whisking constantly to prevent lumps. Bring to a gentle simmer and cook for 3-4 minutes until the sauce thickens enough to coat the back of a spoon. Stir in the 2 cups sharp cheddar cheese and 1 cup gruyère cheese, along with the 0.5 teaspoon dried mustard and remaining 0.25 teaspoon black pepper. The sauce should be lusciously thick but still pourable.
Combine and Bake Until Bubbly
Transfer the pasta mixture to a large, greased 9x13-inch baking dish. Spread it out evenly, creating a flat surface. The goal is to create an even layer that will crisp perfectly on top. Sprinkle the remaining 1 tablespoon butter over the top for extra richness.
Cover the baking dish with aluminum foil and bake at 375°F for 20 minutes. This initial bake allows the flavors to meld and the cheese to fully melt. After 20 minutes, remove the foil and sprinkle the 0.5 cup panko breadcrumbs evenly over the top. Return to the oven and bake for another 10-12 minutes until the breadcrumbs are deep golden brown and the cheese is bubbling around the edges.
Rest and Serve with Crispy Perfection
Remove the mac and cheese from the oven and let it rest for 5-10 minutes before serving. This resting period allows the top to set slightly, making it easier to slice and serve. The crispy breadcrumb crust should hold its shape while the creamy cheese underneath remains perfectly melty.
Use a large spatula to divide the mac and cheese into portions. Each bite should deliver tender pasta, creamy cheese sauce, and perfectly roasted veggies all in one delicious mouthful. The crispy breadcrumb topping adds a satisfying contrast that makes this dish truly exceptional. Serve immediately while the top is still crispy and the cheese is at its peak meltiness.
Pro Tips For Making Baked Mac And Cheese Recipe With Veggies
- Pre-Cook Macaroni Al Dente: DESCRIPTION: Boil elbow macaroni in salted water until it’s just firm to the bite—about 1 minute less than package instructions. Undercooked pasta finishes baking in the oven, soaking up cheese sauce better than mushy overcooked noodles. (Yes, I’ve learned this the hard way—no one wants a sad, gummy center.)
- Shred Cheese Fresh: DESCRIPTION: Skip pre-shredded cheese—it’s coated with anti-caking agents that make the sauce grainy. Use a box grater for sharp cheddar and a microplane for Gruyère, then mix them in the sauce while it’s warm. The texture difference is night and day.
- Roast Veggies First: DESCRIPTION: Toss chopped veggies (broccoli, bell peppers, etc.) in olive oil, salt, and pepper, then roast at 400°F for 15–20 minutes before mixing into the mac. This caramelizes their edges and cuts down on soggy spots in the final bake. (Pro move: Save time by roasting while the pasta cooks.)
- Mix Sauce Until Silky: DESCRIPTION: Whisk the heavy cream, milk, and cheeses together until fully dissolved—no lumps. If it looks curdled, add a splash of cold milk and keep stirring. A smooth sauce = no gritty surprises. (I used to rush this, and it showed.)
Dietary considerations for these flavors
Vegetarian-Friendly
This baked mac and cheese is naturally vegetarian—no meat required, just creamy cheese and roasted veggies. The Gruyère and cheddar provide all the richness you crave, while the spinach and broccoli add nutrients without compromising flavor.
I’ve tested this with my family, and even my picky kids don’t miss the meat. 🌱
Dairy Adaptations
For a dairy-free version, swap the cheeses for nutritional yeast (½ cup) mixed with cashew cream (1 cup blended soaked cashews + water). Use dairy-free butter (like Miyoko’s) for cooking and unsweetened almond milk instead of heavy cream.
The texture won’t be identical, but it’s still delicious—trust me, I’ve made it after my pot pie disaster taught me to experiment!
Gluten-Free Options
Replace the elbow macaroni with gluten-free pasta (like Jovial or Barilla GF). For the breadcrumb topping, use certified GF panko (check labels—some brands process with wheat). The sauce stays the same, so no extra steps are needed. I’ve used this trick for my gluten-sensitive friends, and they’ve never complained!
Lower-Carb Swaps
Cut carbs by using cauliflower rice (2 cups) mixed with ½ cup cooked GF pasta for a lighter texture. Boost flavor with an extra ½ cup shredded Parmesan (or dairy-free alternative).
The veggie-packed sauce balances the dish perfectly—no one will miss the full pasta load. I’ve made this for my carb-conscious sister, and she’s always asked for seconds!
Allergy Considerations
Watch for dairy, gluten, and nut allergies**—this recipe contains all three in its original form. For nut-free kitchens, avoid cashew cream (use coconut milk instead). Always check labels on pre-shredded cheeses—they sometimes contain anti-caking agents with gluten.
When in doubt, I opt for block cheeses and grate them myself—it’s a little extra work, but worth it for safety.
Nutrition facts
Frequently asked questions
Can I use frozen broccoli instead of fresh?
Use 2 cups frozen broccoli florets (no need to thaw) and roast them at 425°F for 12-15 minutes until tender. Frozen works perfectly and saves prep time. Just skip the pre-roasting step if you're short on time—toss it straight into the pasta after cooking.
How do I make this dish extra crispy on top?
For maximum crunch, toast the panko breadcrumbs in a dry skillet over medium heat for 2-3 minutes until golden before sprinkling on top. Also, bake the uncovered portion at 400°F instead of 375°F for the final 10 minutes. The higher heat creates that perfect crispy crust.
What other veggies work well in this recipe?
Try cauliflower florets (roast with broccoli), bell peppers (diced and sautéed), or zucchini (grated and drained). For heartier options, add chickpeas (rinsed and drained) or mushrooms (sautéed until tender). The key is to prep them similarly—either roast or sauté first to remove moisture.
Can I make this ahead of time?
Yes! Assemble the dish (up to adding breadcrumbs) and refrigerate for up to 24 hours. When ready to bake, cover with foil and bake at 375°F for 30-35 minutes (add 5 minutes uncovered for crispiness). For freezing, bake completely, cool, then wrap tightly. Reheat covered at 350°F for 20-25 minutes. The flavors actually improve overnight!
Why did my mac and cheese turn out watery?
This usually happens from too much liquid (overcooked pasta or not draining well) or insufficient roux. Always cook pasta 1 minute before al dente and drain thoroughly. For the sauce, cook the roux until it's golden brown (about 2 minutes) and whisk in liquids gradually. If it's still too thin, simmer uncovered for 5 extra minutes to thicken.
