
This pasta dish with slow-cooked onions and spicy oil turns basic pantry items into a mind-blowing meal. The mellow sweetness from the onions works amazingly with the kick from the homemade spicy oil, giving you comfort food with an exciting twist.
I whipped this up during a super busy time when I wanted something tasty without going shopping. The way onions slowly turn golden and sweet has made this my favorite dish for impressing friends without breaking a sweat.
Ingredients
- 12 oz pasta of your choice: The foundation that soaks up all the amazing flavors. Spaghetti or fettuccine work great for catching all that oil.
- 2 large onions: These guys are the heroes that change completely when cooked slowly. Pick ones that feel heavy and have tight skin.
- Olive oil and butter: Working together, they help the onions turn golden. The butter gives richness and the oil stops everything from burning.
- Sugar: You can skip it, but a tiny bit helps the onions brown faster. Just a teaspoon does the trick.
- Chili flakes: They bring the fire to the party. Look for bright red ones for the best flavor.
- Fresh garlic: Adds that can't-miss smell to the oil. Go for plump cloves without any green shoots.
- Smoked paprika: Not a must-have but brings amazing smoky flavor if you've got it.
- Parmesan cheese: For topping your dish. Grate it fresh if you can for the best melt and taste.
Step-by-Step Instructions
- Caramelize the Onions:
- Cut onions into thin, even slices so they cook the same. Warm up olive oil and butter in a big pan on medium-low until the butter's all melted. Toss in those onions with a bit of salt, spreading them out. Let them cook for 25-30 minutes, giving them a stir every 5 minutes or so. Don't rush this part. You'll watch them change from sharp and strong to golden and sweet. If they stick to the pan, splash in a bit of water to unstick all the good stuff. Adding that tiny bit of sugar can speed things up if you're in a hurry.
- Prepare the Chili Oil:
- While your onions are doing their thing, let's make that spicy oil. Warm some olive oil in a small pot over medium-low heat. Add chopped garlic and keep an eye on it so it doesn't burn. When you can smell that garlic after about 30 seconds, throw in your chili flakes and let them bubble gently for 1-2 minutes. Your oil will turn a pretty red as it soaks up the chili flavor. Mix in the smoked paprika and salt, then pull it off the heat. It'll keep developing flavor as it sits there.
- Cook the Pasta:
- Get a big pot of water boiling hard. Add enough salt so it tastes like ocean water. This gets flavor right into your pasta. Cook according to the box until it's got a little bite left. Before you drain it, scoop out about half a cup of that starchy water. This magic liquid helps your sauce stick to the pasta. Drain everything but don't rinse it or you'll wash away the starch that helps everything come together.
- Combine Everything:
- Put your pan with those sweet onions back on medium heat. Dump in your drained pasta and toss it around to get it all coated. Add a splash of that pasta water you saved, which will mix with the onions and fats to make a silky sauce. Pour most of your spicy oil over everything and toss again. The bright red oil should coat all the pasta, making a beautiful contrast with those golden onions.

Those slow-cooked onions really make this dish special. I first noticed how amazing they could be when I tried making French onion soup ages ago, and now I throw them into dishes whenever I can. Taking your time with them really pays off with that deep, rich flavor they develop.
Make Ahead Options
This pasta actually tastes even better after the flavors have had time to mix. You can cook those onions up to three days early and keep them in the fridge in a sealed container. The spicy oil stays good for about two weeks if you keep it in a closed jar at room temperature. Prepping these parts ahead turns this into a super quick meal when you just need to boil some pasta and throw everything together.
Perfect Pairings
This dish goes great with a simple arugula salad with just lemon and olive oil. The peppery greens and bright lemon cut through the rich onions and spicy oil perfectly. For wine, go with something like a Chianti or Sangiovese that's not too heavy but still stands up to all those big flavors.
Customization Ideas
You can switch this up in so many ways. Try throwing in a handful of spinach or arugula at the end for some fresh green color. If you want protein, add some Italian sausage, pancetta, or chickpeas for a veggie version. Some toasted pine nuts give you a nice crunch, while a spoonful of ricotta or mascarpone makes it creamy and helps cool down the spice.

This pasta shows how simple ingredients can create amazing flavors when treated right. It's totally worth the time it takes!
Frequently Asked Questions
- → How much time does caramelizing onions take?
Cooking onions until they’re deeply golden and sweet takes about 25-30 minutes over low to medium heat. Going too fast will just sauté them, so take your time for the best natural sweetness and flavor.
- → Can I prep the chilli oil early?
Absolutely! Keep it in an airtight container in the fridge for up to two weeks. The longer it sits, the more flavorful it gets. Before using, let it sit at room temperature since it might solidify after chilling.
- → Which pasta works best here?
Spaghetti, penne, or fettuccine are all great options. Spaghetti and fettuccine soak up the oil beautifully, while penne traps yummy bits inside. Use whichever pasta you like most!
- → How do I control the spice level?
Dial back the chilli flakes to 1-2 teaspoons if you want less heat. Need more spice? Try 1½ tablespoons or add a pinch of cayenne. You can even serve extra chilli oil at the table so everyone can spice their serving to taste.
- → Can this be made vegan?
It’s easy to make it vegan! Trade butter for olive oil or plant-based butter when caramelizing onions. Skip Parmesan or replace it with a vegan alternative. You’ll still have all the rich, bold flavors intact.
- → Why is pasta water important to save?
That starchy water is magic! It helps bind the onions and oil to the pasta, making the sauce smooth and silky. It also keeps things moist, so your pasta doesn’t dry out when serving or reheating.