Roasted Mushroom Pasta with Garlic Butter and Thyme
Jump to Recipe
Roasted garlic butter mushroom pasta is a weeknight dinner where cremini mushrooms and a whole head of garlic roast at 220 C / 425 F while the pasta boils, then everything meets in a lemony butter sauce. It comes together in about 40 minutes and eats like a full meal.
I favor roasting over pan-cooking here. The oven browns 500 g of mushrooms in one go, with no stirring and no batches, and the garlic turns soft and sweet in its skins on the same pan.
The one thing that goes wrong is crowding. Pile the mushrooms onto a pan that’s too small and they steam, turning gray and rubbery instead of glossy and crisp-edged.
Key takeaways: roast on a 33 x 46 cm / 13 x 18 inch sheet pan for 25 minutes, save 1 cup / 240 ml of pasta water, and add the butter and cheese off the heat.
Why You’ll Love This Recipe
- Mushrooms brown evenly on one sheet pan with no batches
- Roasted garlic adds sweetness without any raw bite
- Pasta boils while the oven does the work
- Leftovers reheat well for lunch the next day
Ingredient Notes
- cremini mushrooms: Baby bella is the same mushroom under another name. Swap in up to half shiitake caps (stems removed) for a deeper, umami-forward flavor, and keep the total at 500 g.
- Parmesan: Traditional Parmesan is made with animal rennet. To keep it vegetarian, buy a hard Italian-style cheese labeled vegetarian. For dairy-free, use 3 tbsp nutritional yeast.
- unsalted butter: Use 3 tbsp olive oil in its place for a vegan sauce. The sauce will be a little less rounded but still coats the pasta well.
- rigatoni: Penne, fusilli, or casarecce all hold the sauce. Gluten-free pasta sheds less starch, so add the reserved water a tablespoon at a time.
- fresh thyme: Use 1 tsp dried thyme if that’s what you have. Half the amount of chopped rosemary also works, but it’s stronger.

Roasted Mushroom Pasta with Garlic Butter and Thyme
Ingredients
Method
- Heat the oven to 220 C / 425 F with a rack in the center. On a 33 x 46 cm / 13 x 18 inch rimmed sheet pan, toss the mushrooms and unpeeled garlic cloves with the olive oil, 1/2 tsp salt, pepper, and thyme. Spread everything in a single layer with a little space between pieces.
- Roast for 25 minutes, flipping the mushrooms once at the 15-minute mark, until they're deep brown at the edges and shrunken by about a third. The garlic is done when a clove yields to a gentle squeeze.
- While the pan roasts, bring 4 L / 4 quarts of water to a boil in a 5-quart / 4.7 L pot, 26 cm wide. Add 1 tbsp salt and the rigatoni or penne, then cook 1 minute short of the package time, usually 9 to 10 minutes. Scoop out 1 cup / 240 ml of pasta water, then drain.
- Let the garlic cool for 2 minutes, then squeeze the soft cloves out of their skins into a small bowl. Mash with the softened butter until it forms a loose paste.
- Return the drained pasta to the empty pot off the heat. Add the garlic butter, 1/2 cup / 120 ml of the pasta water, the lemon zest, lemon juice, and Parmesan, and toss for 1 minute until the sauce turns glossy and clings to the pasta. Loosen with more pasta water a tablespoon at a time if it looks tight. Fold in the roasted mushrooms, parsley, and red pepper flakes, taste for salt, and serve immediately.
Notes
- Keep the garlic cloves in their skins while roasting so they steam soft instead of drying out.
- Cut the mushrooms into pieces about 4 cm / 1.5 inches wide so they brown at the same pace.
- Pull the pasta 1 minute before package time since it finishes cooking in the sauce.
- Salt the pasta water well, about 1 tablespoon for 4 L / 4 quarts of water.

Tips for Success
- Pat the mushrooms dry with a towel instead of rinsing them, since surface water slows browning and makes them steam.
- Spread the mushroom pieces in a single layer with a little room between each one so the oven heat reaches every edge.
- Squeeze the soft garlic out of its skins while it’s still warm and mash it with the butter before adding pasta.
- Reserve 1 cup / 240 ml of pasta water before draining, then add it a splash at a time until the sauce turns glossy.
- Add the lemon juice and Parmesan off the heat so the butter sauce stays smooth and doesn’t turn greasy.
Variations
- Fold 120 g baby spinach into the hot pasta so it wilts in the residual heat and adds a green note.
- Add one drained 400 g / 14 oz can of white beans to the sheet pan for the last 10 minutes for extra protein.
- Swap the thyme for 1 tbsp chopped fresh rosemary and finish with toasted breadcrumbs for a crunchy topping.
Storage and Reheating
Refrigerate leftover roasted garlic butter mushroom pasta in an airtight container for 3 to 4 days. The pasta absorbs sauce as it sits, so plan on adding a little liquid when you reheat.
Reheat in a 26 cm / 10-inch skillet over medium-low heat with 2 to 3 tablespoons of water, stirring for 4 to 5 minutes until it’s steaming hot, 165 F / 74 C in the center. A microwave works too, covered, in 60-second bursts with a splash of water.
To make it ahead, roast the mushrooms and garlic up to 3 days in advance and store them airtight in the fridge. The roasted mushrooms freeze well for up to 2 months, but the finished pasta softens too much in the freezer.
Serving Suggestions
Serve roasted garlic butter mushroom pasta straight from the pot in warm bowls, with extra Parmesan and a few parsley leaves on top. A pinch of red pepper flakes adds a little heat against the butter.
A peppery arugula salad dressed with lemon and olive oil is the easiest side. Crusty bread mops up what’s left in the bowl.
For a drink, a dry white such as Pinot Grigio or Vermentino suits the garlic and thyme. A sparkling water with lemon works for a weeknight.

FAQ
Why are my roasted mushrooms soggy instead of browned?
Roasted mushrooms turn soggy when they’re crowded or wet. Pat them dry, cut them into halves or quarters, and spread them in a single layer on a 33 x 46 cm / 13 x 18 inch sheet pan with a little space between pieces. At 220 C / 425 F they should shrink by about a third and brown at the edges within 25 minutes.
Can I use button or portobello mushrooms instead of cremini?
Yes. Button mushrooms work one-for-one but taste milder, and portobello caps should be sliced 1.5 cm / 1/2 inch thick, with the gills scraped out if you want a lighter-colored sauce. Shiitake caps are worth mixing in for deeper flavor. Keep the total at 500 g so the sheet pan isn’t crowded.
Can I roast the mushrooms and garlic ahead of time?
Yes, roast them up to 3 days ahead and refrigerate in an airtight container. Rewarm them on the sheet pan at 220 C / 425 F for 5 to 6 minutes so the edges crisp again, then toss with freshly boiled pasta. Cook the pasta fresh for the best texture.
What do you serve with roasted garlic butter mushroom pasta?
A peppery arugula salad dressed with lemon and olive oil balances the butter, and crusty bread mops up the sauce. For a heavier plate, add a can of white beans to the sheet pan for the last 10 minutes. A dry white like Pinot Grigio or a Vermentino suits the garlic and thyme.
Is roasted garlic butter mushroom pasta vegetarian, and can I make it dairy free?
It’s vegetarian, with one catch: traditional Parmesan uses animal rennet, so buy a hard cheese labeled vegetarian if that matters to you. For dairy-free, use 3 tbsp olive oil in place of the butter and 3 tbsp nutritional yeast in place of the cheese. It isn’t gluten-free unless you use gluten-free pasta.
What’s the difference between this and pasta ai funghi?
Pasta ai funghi usually cooks sliced mushrooms in a skillet with garlic and parsley, often finished with wine or cream. Here the mushrooms and whole garlic roast on a sheet pan, which browns them more deeply and mellows the garlic. The sauce is only butter, lemon, Parmesan, and pasta water.