RecipeAI
DashboardDiscoverMeal PlanGroceriesCreateImportRecipe Box
BlogSign InGet Started
Dashboard
Plan
Nutrition
Create
Groceries
Saved
Profile
RecipeAI LogoRecipeAI

AI-powered recipes, meal plans, and nutrition tracking — personalized to your tastes and goals.

Explore

  • Discover Recipes
  • Categories
  • World Cuisines
  • Diets
  • Quick Meals
  • Meal Plans by Diet
  • Kitchen Conversions
  • Calories in Foods

Features

  • AI Recipe Generator
  • Meal Planning
  • Nutrition Tracker
  • Macro Calculator
  • Nutrition Guides
  • Food Diary
  • Recipe Import
  • Pricing

Resources

  • Blog
  • About Us
  • Feedback

© 2026 RecipeAI. All rights reserved.

Cook smarter, eat better.

More recipes like this

  • Garlic-Butter Pan-Seared Chicken Aglio e Olio with Pasta
  • Double-Garlic Spaghetti Aglio e Olio — Roasted Garlic Purée + Crispy Garlic
  • Baked Lemon-Garlic Chicken with Whole Wheat Spaghetti Aglio e Olio & Broccoli
  • Brown-Butter Garlic Spaghetti (Simple Italian Comfort)
  • Spaghetti Aglio e Olio
  • Simple Spaghetti Aglio e Olio
  • Browse all recipes →
Roasted Garlic & Butter Spaghetti (Elevated Aglio e Olio)

Roasted Garlic & Butter Spaghetti (Elevated Aglio e Olio)

By Stephanie Richardson

ItalianIntermediate

Heady, silky and deeply savory — this is garlic turned into a plush pasta sauce. Slow-roasted garlic becomes sweet and spreadable, caramelized onion and browned butter add nutty depth, and plenty of olive oil emulsified with starchy pasta water creates a glossy, restaurant-quality sauce that clings to every strand.

Prep: 15 minutes
Cook: 30 minutes
Total: 45 minutes
4 servings

Ingredients

  • 400 g dry spaghetti
  • 90 g (about 18 medium cloves or 2 large bulbs) garlic
  • 60 ml (4 tbsp) extra-virgin olive oil
  • 42 g (3 tbsp) unsalted butter
  • 70 g (1 small) small yellow onion
  • 50 g freshly grated Parmesan
  • 15 g (about 1/4 cup chopped) fresh flat-leaf parsley
  • 1/2 tsp red pepper flakes
  • 1 tbsp (for pasta water) + more to taste kosher salt
  • 1/2 tsp freshly ground black pepper

Instructions

1

Roast the garlic to create sweet, mellow flavor: Preheat the oven to 400°F (205°C). Peel enough outer papery layers so two whole bulbs (about 90 g total) sit with their root end intact; slice off the top 1/4–1/2 inch to expose the cloves. Place the bulbs on a piece of foil, drizzle 1 tbsp (15 ml) of olive oil over them, wrap tightly and roast 30–35 minutes until cloves are very soft and caramelized. Why: Roasting transforms raw garlic’s sharp sulfur notes into round, honeyed sweetness and makes it easy to mash into a silky purée that will form the backbone of the sauce.

2

Bring a large pot of water to a rolling boil and add 1 tbsp kosher salt. Cook 400 g spaghetti until just shy of al dente (follow package for timing, typically 8–10 minutes; I pull it 60–90 seconds earlier). Reserve 1 to 1 1/2 cups (240–360 ml) of the starchy pasta cooking water before draining. Why: Salting the water seasons the pasta from the inside; reserving cooking water supplies the starch needed to emulsify the oil and butter into a glossy sauce that clings to the noodles.

3

While pasta cooks, slice the onion very thin. In a large wide skillet set over medium heat, add 2 tbsp (30 ml) olive oil and the butter. When the butter melts and begins to foam, add the sliced onion and a pinch of salt. Sweat the onion, stirring occasionally, until it is soft and beginning to take on light golden edges (8–10 minutes). Why: Sweating the onion in a butter/olive-oil blend builds a sweet, savory base — the butter adds richness and a nutty note when it browns slightly, while the oil raises the smoke point and keeps the butter from burning.

4

Thinly slice 2–3 raw garlic cloves (from the 90 g total) and add them to the pan with the onions once they are soft. Add 1/2 tsp red pepper flakes and cook 30–45 seconds until fragrant — do not let the garlic brown. Why: Slicing and briefly cooking a little raw garlic releases a bright, immediate garlic aroma that layers with the round roasted garlic — but if you let it burn it will taste bitter, so keep a close watch and a moderate heat.

5

Squeeze the roasted garlic cloves from their skins into a small bowl and mash with a fork into a smooth purée (you should have roughly 6–8 tsp of purée). Add this purée to the skillet and stir to combine with the onions. Why: Adding the roasted garlic purée now integrates its sweet, caramelized flavor so every bite of pasta picks it up; purée dissolves into the sauce and avoids stringy garlic pieces.

6

Add the drained pasta to the skillet (or return pasta to the pot and add the sauce to it) and toss over medium-low heat. Gradually add 1/2 to 1 cup (120–240 ml) reserved pasta water, a splash at a time, tossing vigorously to create an emulsion between the starch, oil and butter. Add the grated Parmesan (about 50 g) and toss until a creamy, glossy sauce forms and the pasta is al dente. Why: The starchy pasta water is the emulsifier — it allows the oil, butter and cheese to bind into a silky coating rather than pooling. Parmesan adds umami and helps bind the sauce; adding it with heat melts it smoothly into the emulsion.

7

Finish and season: Stir in the chopped parsley, adjust salt and pepper to taste, and add a final 1 tbsp (15 ml) drizzle of olive oil for shine. If you’d like a little texture contrast, thinly slice 2 cloves of garlic and fry them in 1 tbsp olive oil in a small skillet over medium heat until golden and crisp (about 40–60 seconds); drain on paper towel and scatter over the pasta. Why: Fresh herbs brighten the dish; the finishing oil enhances mouthfeel and sheen; crisped garlic provides an irresistible textural counterpoint to the soft roasted purée.

8

Serve immediately with extra grated Parmesan at the table. Why: Pasta is best hot — the emulsion will tighten as it cools and the sauce can become less glossy; serving immediately guarantees the ideal silky texture.

Chef's Tips

  • 1Don’t burn the garlic: raw sliced garlic burns quickly and turns bitter. Keep heat at medium for the pan steps, and remove from direct heat if the garlic starts to darken too fast.
  • 2Use the reserved pasta water: add it slowly and toss; you’re aiming for a loose, glossy sauce — you can always reduce further but you can’t un-thin a sauce that’s too dry.
  • 3Make roasted garlic ahead: roast several bulbs, squeeze the purée into an airtight container and refrigerate for up to 1 week or freeze in tablespoon portions — it’s a quick way to add instant richness to sauces, mashed potatoes, or dressings.

Variations

  • Vegan version: omit butter and Parmesan; increase olive oil to 80 ml (about 5 & 1/3 tbsp) and stir in 2–3 tbsp nutritional yeast at the end for savory, cheesy notes.
  • Add protein: fold in 250–300 g sautéed shrimp or thinly sliced seared chicken breast after tossing the pasta to turn this into a heartier main.
  • Mushroom & thyme: add 200 g sliced cremini mushrooms when you sauté the onions and finish with a teaspoon of fresh thyme for an earthy, autumnal variant.

Nutrition per Serving

661

Calories

19g

Protein

85g

Carbs

27g

Fat

4g

Fiber

Rate this Recipe

How did this recipe turn out? Let others know!

to rate this recipe

Roasted Garlic & Butter Spaghetti (Elevated Aglio e Olio)

By Stephanie Richardson

Roasted Garlic & Butter Spaghetti (Elevated Aglio e Olio) - dry spaghetti, garlic recipe

Heady, silky and deeply savory — this is garlic turned into a plush pasta sauce. Slow-roasted garlic becomes sweet and spreadable, caramelized onion and browned butter add nutty depth, and plenty of olive oil emulsified with starchy pasta water creates a glossy, restaurant-quality sauce that clings to every strand.

ItalianIntermediate4 servings
Prep: 15 minutes
Cook: 30 minutes
45 minutes

Ingredients

  • 400 g dry spaghetti
  • 90 g (about 18 medium cloves or 2 large bulbs) garlic
  • 60 ml (4 tbsp) extra-virgin olive oil
  • 42 g (3 tbsp) unsalted butter
  • 70 g (1 small) small yellow onion
  • 50 g freshly grated Parmesan
  • 15 g (about 1/4 cup chopped) fresh flat-leaf parsley
  • 1/2 tsp red pepper flakes
  • 1 tbsp (for pasta water) + more to taste kosher salt
  • 1/2 tsp freshly ground black pepper

Instructions

1

Roast the garlic to create sweet, mellow flavor: Preheat the oven to 400°F (205°C). Peel enough outer papery layers so two whole bulbs (about 90 g total) sit with their root end intact; slice off the top 1/4–1/2 inch to expose the cloves. Place the bulbs on a piece of foil, drizzle 1 tbsp (15 ml) of olive oil over them, wrap tightly and roast 30–35 minutes until cloves are very soft and caramelized. Why: Roasting transforms raw garlic’s sharp sulfur notes into round, honeyed sweetness and makes it easy to mash into a silky purée that will form the backbone of the sauce.

2

Bring a large pot of water to a rolling boil and add 1 tbsp kosher salt. Cook 400 g spaghetti until just shy of al dente (follow package for timing, typically 8–10 minutes; I pull it 60–90 seconds earlier). Reserve 1 to 1 1/2 cups (240–360 ml) of the starchy pasta cooking water before draining. Why: Salting the water seasons the pasta from the inside; reserving cooking water supplies the starch needed to emulsify the oil and butter into a glossy sauce that clings to the noodles.

3

While pasta cooks, slice the onion very thin. In a large wide skillet set over medium heat, add 2 tbsp (30 ml) olive oil and the butter. When the butter melts and begins to foam, add the sliced onion and a pinch of salt. Sweat the onion, stirring occasionally, until it is soft and beginning to take on light golden edges (8–10 minutes). Why: Sweating the onion in a butter/olive-oil blend builds a sweet, savory base — the butter adds richness and a nutty note when it browns slightly, while the oil raises the smoke point and keeps the butter from burning.

4

Thinly slice 2–3 raw garlic cloves (from the 90 g total) and add them to the pan with the onions once they are soft. Add 1/2 tsp red pepper flakes and cook 30–45 seconds until fragrant — do not let the garlic brown. Why: Slicing and briefly cooking a little raw garlic releases a bright, immediate garlic aroma that layers with the round roasted garlic — but if you let it burn it will taste bitter, so keep a close watch and a moderate heat.

5

Squeeze the roasted garlic cloves from their skins into a small bowl and mash with a fork into a smooth purée (you should have roughly 6–8 tsp of purée). Add this purée to the skillet and stir to combine with the onions. Why: Adding the roasted garlic purée now integrates its sweet, caramelized flavor so every bite of pasta picks it up; purée dissolves into the sauce and avoids stringy garlic pieces.

6

Add the drained pasta to the skillet (or return pasta to the pot and add the sauce to it) and toss over medium-low heat. Gradually add 1/2 to 1 cup (120–240 ml) reserved pasta water, a splash at a time, tossing vigorously to create an emulsion between the starch, oil and butter. Add the grated Parmesan (about 50 g) and toss until a creamy, glossy sauce forms and the pasta is al dente. Why: The starchy pasta water is the emulsifier — it allows the oil, butter and cheese to bind into a silky coating rather than pooling. Parmesan adds umami and helps bind the sauce; adding it with heat melts it smoothly into the emulsion.

7

Finish and season: Stir in the chopped parsley, adjust salt and pepper to taste, and add a final 1 tbsp (15 ml) drizzle of olive oil for shine. If you’d like a little texture contrast, thinly slice 2 cloves of garlic and fry them in 1 tbsp olive oil in a small skillet over medium heat until golden and crisp (about 40–60 seconds); drain on paper towel and scatter over the pasta. Why: Fresh herbs brighten the dish; the finishing oil enhances mouthfeel and sheen; crisped garlic provides an irresistible textural counterpoint to the soft roasted purée.

8

Serve immediately with extra grated Parmesan at the table. Why: Pasta is best hot — the emulsion will tighten as it cools and the sauce can become less glossy; serving immediately guarantees the ideal silky texture.

Chef's Tips

  • 1Don’t burn the garlic: raw sliced garlic burns quickly and turns bitter. Keep heat at medium for the pan steps, and remove from direct heat if the garlic starts to darken too fast.
  • 2Use the reserved pasta water: add it slowly and toss; you’re aiming for a loose, glossy sauce — you can always reduce further but you can’t un-thin a sauce that’s too dry.
  • 3Make roasted garlic ahead: roast several bulbs, squeeze the purée into an airtight container and refrigerate for up to 1 week or freeze in tablespoon portions — it’s a quick way to add instant richness to sauces, mashed potatoes, or dressings.

Variations

  • Vegan version: omit butter and Parmesan; increase olive oil to 80 ml (about 5 & 1/3 tbsp) and stir in 2–3 tbsp nutritional yeast at the end for savory, cheesy notes.
  • Add protein: fold in 250–300 g sautéed shrimp or thinly sliced seared chicken breast after tossing the pasta to turn this into a heartier main.
  • Mushroom & thyme: add 200 g sliced cremini mushrooms when you sauté the onions and finish with a teaspoon of fresh thyme for an earthy, autumnal variant.

Nutrition per Serving

661

Calories

19g

Protein

85g

Carbs

27g

Fat

4g

Fiber

Rate this Recipe

Your Rating:

Explore More

🥘 More with dry spaghetti🥘 More with garlic🥘 More with extra-virgin olive oil

Similar Recipes