Roasted Garlic Pasta
This roasted garlic pasta is an explosion of flavor built on a silky-smooth vegan sauce that comes together in a blender. You roast four whole heads of garlic until they turn sweet and mellow, blend them with vegan yogurt, plant milk and nutritional yeast, then toss the sauce with hot spaghetti. It is comforting, creamy and endlessly versatile — the sauce works as a base for so many other pasta dishes too.

This was the first time I roasted garlic, and I must say I was pleasantly surprised by its taste. Raw garlic is sharp and pungent, but once it roasts low and slow it turns soft, sweet and almost buttery — nothing like the bite you expect. I built the sauce around Joya vegan yogurt and their Soya Natural milk, and it turned into one of the creamiest pasta sauces I have made. If you are a huge garlic fan like I am, you are going to love this one.
What you’ll need for the sauce
The ingredient list is short, and every item pulls its weight. Here is what each one does and how to pick the right version:
- Garlic (4 heads): yes, four whole heads — roasting tames the sharpness completely, so it reads as sweet and creamy rather than aggressive. Choose firm, heavy heads with tight, papery skins and no green sprouts.
- Vegan yogurt: use a plain, natural-flavored one so the sauce stays savory. I used Joya soy yogurt in the natural flavor. Avoid anything sweetened or fruit-flavored here.
- Vegan milk: again, go for unsweetened and natural. I used Soya Natural by Joya, but any neutral plant milk works. It loosens the sauce to a pourable, silky consistency.
- Nutritional yeast: this brings the savory, cheesy, umami depth that makes a dairy-free sauce taste rich.
- Flour: the thickener. Blended in raw, it cooks out in the pan and gives the sauce body.
- Olive oil, salt and pepper: for roasting the garlic and finishing the dish. A drizzle of good olive oil at the end lifts everything.
- Ground dry rosemary (optional): a small sprinkle at the end adds a warm, herby note that pairs beautifully with roasted garlic.

How to roast garlic so it turns sweet
Roasting is the whole trick, so it is worth doing right. Slice off the top of each garlic head to expose the cloves, sit the heads on a piece of aluminum foil, drizzle with olive oil, season with salt and pepper, then wrap the foil into a tight parcel. Bake at 250C for about 40 minutes. You will know it is done when the cloves are golden, jammy and soft enough to squeeze out of their skins with light pressure. If they still feel firm, give them a few more minutes — undercooked garlic stays sharp.
Why this sauce comes out silky-smooth
Everything goes into the blender before it hits the heat, and that order matters. Blending the roasted garlic, yogurt, milk, nutritional yeast and flour together first disperses the flour completely, so you never get lumps — the classic problem with a stovetop white sauce. Then you pour it into the pan and stir continuously until it thickens. The constant stirring keeps the flour from settling and scorching on the bottom, and it gives the starch time to swell evenly into that glossy, pourable texture. If it thickens too far, a splash more milk brings it right back.
Tips to get it right every time
- Start your garlic first. Forty minutes of roasting is the longest step, so get it in the oven before you do anything else.
- Boil the spaghetti according to the package, and time it to finish just as the sauce thickens so nothing sits and clumps.
- Stir the sauce without stopping once it is in the pan — this is where a smooth result is won or lost.
- Taste and adjust salt and pepper at the end. Roasted garlic is mellow, so the sauce often wants a little more seasoning than you expect.
- Save a little pasta water. If the sauce and spaghetti feel tight when you combine them, a spoonful loosens everything.

Variations and what to serve alongside
The best part of this sauce is how flexible it is. I tried it with vegan pesto stirred through and it was amazing, so do not be shy about doctoring it. It also makes a great creamy base for other dishes — if you love bold garlic flavor, you will want to try my Italian-inspired pasta all’aglio next. For a lighter, herby pasta night, this creamy avocado pasta with basil and tomatoes hits a similar comforting note. Serve the roasted garlic pasta with a simple green side like a fresh summer salad to balance the richness, or make it heartier alongside some roasted veggies.
Storage and make-ahead
The sauce keeps well on its own. You can blend and cook it up to a couple of days ahead, then store it in an airtight container in the fridge and reheat gently, adding a splash of vegan milk to bring back the silky consistency, since it thickens as it cools. If you have leftover dressed pasta, keep it refrigerated in a sealed container and warm it through with a little extra milk. This is a great make-ahead base to have on hand — once the sauce is done, dinner is only as far away as a pot of boiling spaghetti. If you enjoy this creamy, cheesy style of dairy-free pasta, you might also like my vegan mushroom alfredo pasta.
If you make this roasted garlic pasta, I would love to know how it turned out — come back and give it a star rating, and drop a comment telling me whether you kept it simple or stirred in some pesto like I did. Your notes and tweaks always make my day.
Summarise & Save This Recipe
★ Add us as a trusted Google source
Roasted Garlic Pasta
Ingredients
- 400 g spaghetti
- 200 g vegan yogurt I used Joya soy yogurt, natural flavor
- 300 ml vegan milk I used Soya Natural by Joya, but you can use any other natural-flavored milk
- 3 tbsp nutritional yeast flakes
- 4 tbsp flour
- 4 heads garlic
- olive oil
- salt and pepper
- rosemary dried, ground, optional
Instructions
- Boil the spaghetti according to the instructions on the package.
- Roast the garlic. Cut off the upper part of every garlic head (see video), place the garlic on a sheet of aluminum foil, drizzle with olive oil and season with salt and pepper, then wrap it up and bake in the oven at 250C (480F) for 40 minutes.
- In a blender, add the roasted garlic, yogurt, milk, nutritional yeast, flour, salt and pepper. Process until silky smooth.
- Pour the sauce into a pan and stir continuously until it thickens. If it gets too thick, add more milk.
- Remove from heat and add the drained spaghetti. Mix well and serve with a drizzle of olive oil on top, some chopped herbs and, optionally, a sprinkle of ground dried rosemary.
Notes
Frequently Asked Questions
Yes, this recipe is fully vegan. The creamy sauce is built from vegan yogurt, plant milk and nutritional yeast, with no dairy, eggs or any animal products. It gets its rich, cheesy flavor from nutritional yeast rather than cheese.
Cut the top off each garlic head to expose the cloves, set the heads on aluminum foil, drizzle with olive oil, season with salt and pepper, then wrap into a parcel. Bake at 250C for about 40 minutes, until the cloves are golden and soft enough to squeeze out of their skins. Roasting is what turns the garlic sweet and mellow instead of sharp.
It sounds like a lot, but roasting completely tames raw garlic’s pungency. Once the cloves cook low and slow they turn soft, sweet and almost buttery, so four heads give you deep flavor without any harsh bite. The sauce reads as creamy and savory, not overpowering.
Blend the roasted garlic, yogurt, milk, nutritional yeast and flour together before cooking so the flour disperses completely. Then pour the sauce into the pan and stir continuously as it thickens, which stops the flour settling or scorching. If it gets too thick, add a splash more milk to loosen it.
Yes. You can blend and cook the sauce up to a couple of days in advance and keep it in an airtight container in the fridge. It thickens as it cools, so reheat it gently and stir in a little extra vegan milk to bring back the silky texture before tossing with freshly boiled spaghetti.
Use any plain, natural-flavored plant yogurt and unsweetened plant milk you like — soy works especially well for a creamy result. Avoid sweetened or fruit-flavored versions, since they would make a savory sauce taste off. Keep everything neutral so the roasted garlic and nutritional yeast stay in the spotlight.

This was so creamy! I made it with mushrooms and it was delicious!
Glad you liked it! Mushrooms go so well with this sauce!