Caramelized Onion Pasta with Chili Oil

Featured in: Bold Weeknight Flavors

This comforting pasta dish delivers an incredible balance of sweet and spicy flavors through deeply caramelized onions cooked until golden and fragrant, paired with a homemade chili oil infused with garlic, smoked paprika, and a hint of soy sauce for umami depth.

The preparation involves three simple components that come together beautifully: slowly cooked onions develop natural sweetness, the aromatic oil adds gentle heat, and your favorite pasta serves as the perfect canvas. Toss everything together with a splash of reserved pasta water to create a silky coating that clings to every strand.

Finished with salty Parmesan and fresh herbs, this vegetarian main dish serves four and works equally well for a quick weeknight dinner or an impressive weekend meal. Adjust the chili flakes to control the spice level, and consider pairing with a crisp white wine and simple side salad.

Updated on Sat, 07 Feb 2026 14:26:00 GMT
Steam rises from a bowl of Caramelized Onion Pasta, with golden onions and fresh basil garnish. Save to Pins
Steam rises from a bowl of Caramelized Onion Pasta, with golden onions and fresh basil garnish. | spicra.com

I stumbled onto this combination during one of those evenings when the fridge was nearly empty but hunger was knocking loudly. Something about the way the onions transformed into this sweet, golden jam made me realize I'd been undervaluing them my entire cooking life. Now it's become my go-to when I want something that tastes like it took hours but actually comes together in the time it takes to boil water.

Last winter my friend Anna came over during a particularly dreary week and I threw this together somewhat frantically. She took one bite, actually put her fork down, and asked what kind of magic was happening in the skillet. We ended up sitting at the counter for hours picking at the bowl and talking about how the simplest foods often end up being the most memorable ones.

Ingredients

  • 12 oz pasta: I've found spaghetti or linguine catches the sauce best but whatever you have in the pantry will work beautifully
  • 2 tablespoons olive oil: Use a decent quality oil since it's one of the main flavors here
  • 1 large yellow onion: The sweetness develops better with yellow onions than red or white
  • 3 cloves garlic: Fresh minced garlic adds that aromatic base that makes everything taste better
  • Salt and black pepper: Don't be shy with salt when caramelizing onions it helps draw out moisture
  • 3 tablespoons extra virgin olive oil: This becomes the carrier for all those chili oil flavors
  • 1 tablespoon red chili flakes: Adjust up or down depending on your spice tolerance
  • 1 teaspoon smoked paprika: The smoked variety adds depth that regular paprika just cant match
  • 1 small garlic clove: Thinly sliced this will infuse the oil without burning
  • 1 teaspoon soy sauce: The secret ingredient that adds umami and helps everything meld together
  • Parmesan cheese: Grate it fresh if possible the pre grated stuff just doesn't melt the same way
  • Fresh basil or parsley: The bright herb cuts through all that richness

Instructions

Product image
Boil water quickly for tea, coffee, instant soups, and faster prep when cooking grains or noodles.
Check price on Amazon
Caramelize the onions:
Heat olive oil in a large skillet over medium heat then add sliced onions with a pinch of salt. Cook for 25 to 30 minutes stirring occasionally until they turn deep golden and smell incredible. Add minced garlic during the last 5 minutes so it softens without browning too much.
Make the chili oil:
Heat extra virgin olive oil in a small saucepan over medium heat. Sauté sliced garlic for 1 to 2 minutes until fragrant then add chili flakes and paprika stirring constantly for 2 to 3 minutes until the oil takes on a beautiful reddish hue. Stir in soy sauce and let it simmer gently for another 2 minutes.
Boil the pasta:
Bring a large pot of generously salted water to a rolling boil. Cook pasta until al dente then reserve about 1 cup of that starchy pasta water before draining.
Bring it together:
Toss the hot pasta directly into the skillet with the caramelized onions. Pour over that fragrant chili oil and toss everything together adding splashes of pasta water until you get a silky coating that clings to each strand.
Finish and serve:
Top bowls with plenty of grated Parmesan and scattered fresh herbs. Add extra chili flakes if you want more heat and serve while steaming hot.
Product image
Boil water quickly for tea, coffee, instant soups, and faster prep when cooking grains or noodles.
Check price on Amazon
A fork lifts strands of pasta tossed in chili oil, topped with grated Parmesan cheese. Save to Pins
A fork lifts strands of pasta tossed in chili oil, topped with grated Parmesan cheese. | spicra.com

This recipe has saved me on countless weeknights when I almost ordered takeout instead. There's something deeply satisfying about taking such basic ingredients and ending up with a dish that feels special enough for company but simple enough for Tuesday.

Making It Your Own

I've played around with adding anchovies to the onions while they cook down and the result is this incredible depth that nobody can quite identify but everyone loves. You could also toss in some wilted spinach or arugula at the end if you want to pretend you're eating something green.

The Art of Patience

The onion caramelization step might feel excessive but it's absolutely everything here. I used to rush it until the day I actually let them go the full 30 minutes and understood what everyone had been talking about. The sugars develop slowly and that transformation is what makes this dish taste like it came from a restaurant kitchen.

Perfecting The Sauce

The ratio of chili oil to pasta water creates that restaurant style glossiness. Too little water and the oil slides right off too much and you lose those concentrated spicy notes.

  • Start with just 2 tablespoons of pasta water and add more only if needed
  • The residual heat from the pasta helps emulsify everything so work quickly
  • If the sauce looks broken add another splash of water and toss vigorously
Product image
Measure spices, liquids, and baking ingredients accurately for consistent results in cooking and baking.
Check price on Amazon
Close-up of Caramelized Onion Pasta with chili oil drizzle and vibrant red chili flakes. Save to Pins
Close-up of Caramelized Onion Pasta with chili oil drizzle and vibrant red chili flakes. | spicra.com

This is one of those recipes that teaches you something new every time you make it and somehow never gets old. Hope it becomes a weeknight staple in your kitchen like it has in mine.

Questions & Answers

How long does it take to caramelize onions properly?

Allow 25-30 minutes over medium heat, stirring occasionally. The onions should turn deeply golden brown and develop a sweet, concentrated flavor. Be patient—this slow cooking process is essential for building the dish's signature sweetness and depth.

Can I adjust the spice level in this dish?

Absolutely. Start with 1 tablespoon of chili flakes and reduce to ½ teaspoon for mild heat or increase up to 2 tablespoons for extra spice. You can also omit the chili flakes entirely and serve the chili oil on the side so diners can add their preferred amount.

What type of pasta works best with caramelized onions?

Long pasta shapes like spaghetti, linguine, or fettuccine pair beautifully as the caramelized onions and chili oil coat each strand evenly. Short shapes like penne or rigatoni also work well, catching the flavorful oil in their ridges and tubes.

How do I store and reheat leftovers?

Store in an airtight container in the refrigerator for up to 3 days. Reheat gently in a skillet with a splash of water or olive oil over medium-low heat, stirring occasionally. The pasta may absorb some liquid, so add a bit more water or oil to restore the silky coating.

Can I make this vegan?

Yes, simply substitute the Parmesan with a plant-based alternative or nutritional yeast, and skip the cheese garnish entirely. The caramelized onions and chili oil provide plenty of savory umami flavor on their own, making this naturally dairy-free except for the optional cheese topping.

What can I serve with this pasta?

A crisp green salad with acidic vinaigrette balances the rich, sweet pasta beautifully. Garlicky roasted vegetables, sautéed broccoli rabe, or simple roasted asparagus also complement the flavors. For wine lovers, a dry white wine like Pinot Grigio or Sauvignon Blanc cuts through the sweetness and heat.

Caramelized Onion Pasta with Chili Oil

Sweet and spicy pasta featuring golden caramelized onions and aromatic homemade chili oil, finished with Parmesan and fresh herbs.

Prep Time
15 min
Time to Cook
30 min
Overall Time
45 min
Recipe by spicra Olivia Carter

Dish Category Bold Weeknight Flavors

Skill Level Easy

Cuisine Type Italian-Inspired

Makes 4 Number of Servings

Dietary Details Vegetarian-Friendly

What You'll Need

Pasta

01 12 oz pasta (spaghetti, penne, or linguine)
02 Salt for pasta water

Caramelized Onions

01 2 tablespoons olive oil
02 1 large yellow onion, thinly sliced
03 3 cloves garlic, minced
04 Salt and freshly ground black pepper to taste

Chili Oil

01 3 tablespoons extra virgin olive oil
02 1 tablespoon red chili flakes
03 1 teaspoon smoked paprika
04 1 small garlic clove, thinly sliced
05 1 teaspoon soy sauce

Garnish

01 Grated Parmesan cheese for serving
02 Fresh basil or parsley, chopped
03 Extra chili flakes (optional)

Cooking Steps

Step 01

Caramelize the Onions: Heat 2 tablespoons olive oil in a large skillet over medium heat. Add sliced onions and a pinch of salt. Cook, stirring occasionally, for 25-30 minutes until deeply golden and caramelized. Add minced garlic during the last 5 minutes, stirring to prevent burning. Season with black pepper and adjust salt to taste. Set aside.

Step 02

Prepare the Chili Oil: In a small saucepan, heat 3 tablespoons olive oil over medium heat. Add sliced garlic and sauté for 1-2 minutes until fragrant but not browned. Add chili flakes and paprika; stir continuously for 2-3 minutes until aromatic. Stir in soy sauce and let simmer for 2 minutes. Remove from heat and set aside.

Step 03

Cook the Pasta: Bring a large pot of salted water to a boil. Cook pasta according to package instructions until al dente. Reserve 1 cup of pasta water, then drain the pasta.

Step 04

Combine Components: Toss the hot pasta with caramelized onions in the skillet. Drizzle with chili oil and toss to coat evenly. Add reserved pasta water a little at a time if needed to loosen the sauce.

Step 05

Garnish and Serve: Top with generous Parmesan, chopped herbs, and extra chili flakes if desired. Serve immediately while hot.

Necessary Tools

  • Large skillet
  • Small saucepan
  • Large pot
  • Pasta strainer or colander
  • Chef's knife
  • Cutting board
  • Tongs or pasta spoon

Allergy Details

Go through each ingredient to spot allergens. If unsure, reach out to a healthcare provider.
  • Contains wheat (gluten), dairy (Parmesan), and soy (soy sauce)

Nutrition Info (each portion)

For informational use only—please talk to your doctor for health advice.
  • Calorie Count: 450
  • Fats: 20 g
  • Carbohydrates: 55 g
  • Proteins: 12 g