Go Back
Caramelized onion and garlic spaghetti tossed with golden onions, roasted garlic, olive oil, and fresh herbs.

Caramelized Onion and Garlic Spaghetti – Easy Vegetarian Pasta Recipe

Caramelized onion and garlic spaghetti is a simple yet flavorful dish that brings out the natural sweetness of onions and the rich aroma of garlic. Tossed with olive oil, fresh herbs, and spaghetti, this vegetarian pasta is perfect for weeknight dinners, cozy comfort food, or when you want a quick Italian-inspired meal.
Prep Time 10 minutes
Cook Time 40 minutes
Total Time 50 minutes
Course Comfort Food, Main Course, Weeknight Dinner
Cuisine Italian-inspired, Mediterranean, Fusion
Servings 4
Calories 380 kcal

Equipment

  • Large skillet
  • Wooden spoon
  • Large pot (for pasta)
  • Colander
  • Chef’s knife + cutting board

Ingredients
  

  • 12 oz spaghetti (or linguine/fettuccine)
  • 3 large onions, thinly sliced
  • 4 garlic cloves, minced
  • 3 tbsp olive oil (or butter)
  • ½ cup reserved pasta water
  • ¼ cup grated Parmesan (optional)
  • 1 tbsp fresh parsley, chopped
  • Pinch of chili flakes (optional)
  • Salt & pepper, to taste

Instructions
 

  • Caramelize Onions: Heat olive oil in skillet over low heat. Add sliced onions and cook slowly, stirring occasionally, until golden and jammy (30–40 minutes).
  • Add Garlic: Stir in minced garlic and cook until fragrant and lightly golden.
  • Cook Pasta: Boil spaghetti until al dente. Reserve ½ cup pasta water before draining.
  • Combine: Toss pasta with onions and garlic. Add pasta water to emulsify into a silky sauce.
  • Finish: Season with salt, pepper, and chili flakes. Garnish with Parmesan and parsley.
  • Serve: Plate warm and enjoy with garlic bread or salad.

Notes

  • Cook onions low and slow—patience creates sweetness and depth.
  •  Add greens like spinach or kale for freshness.
  •  Use nutritional yeast instead of Parmesan for a vegan option.
  •  Save pasta water—it’s essential for a silky sauce.
  •  Double the onions—they’re the star of the dish.
Keyword caramelized onion pasta, cozy comfort food, garlic spaghetti, vegetarian pasta, weeknight dinner