Caramelized Onion Pasta with Sun Dried Tomatoes
There is nothing I love more than a dinner that delivers a ton of flavour without requiring me to stand at the stove all night. I love cooking, and I definitely love eating healthy, delicious food, but that doesn’t mean I always want to spend hours making it. That’s why my one pot, one pan and one skillet dinners have quickly become some of my favourites. I’ve been seeing the viral caramelized onion pasta recipe and sauce made with coconut milk everywhere, and I had to know what all the fuss was about. Honestly, it was the coconut milk that made me curious. My first instinct was to replace it with heavy cream, because coconut milk just didn’t immediately make sense to me.
I’m so glad I didn’t.
The coconut milk is subtle, but it adds this beautiful creaminess that balances all those savoury flavors. Add a squeeze of lemon, fresh parsley and fresh grated cheese and everything just works.
And everyone I’ve served this to LOVES it and immediately wants the recipe. That’s always a pretty good sign.
At a Glance
- Serves: 4
- Prep Time: 15 minutes
- Cook Time: 1 hour
- Total Time: 1 hour 15 minutes
- Main cooking vessel: One 9 x 13-inch baking dish, plus a pot for the pasta
- Flavour: Sweet caramelized onions, savoury garlic, tangy sun-dried tomatoes and a creamy finish
- Secret ingredient: Coconut milk
- Great pasta shapes: Penne, rigatoni or another shape that catches plenty of sauce
- Biggest tip: Slice those onions thinly and save your pasta water
Recipe

Caramelized Onion Pasta with Sun Dried Tomatoes
Ingredients:
- ½–1 cup reserved pasta water, as needed
- 8-10 large yellow onions, thinly sliced
- 1 jar sun-dried tomatoes, chopped, or purchase them julienned
- 20 garlic cloves (2–3 heads) peeled and left whole
- 1/4 cup olive oil
- 1 tbsp smoked paprika
- 1 tbsp Italian seasoning
- 1 tbsp dried parsley
- 1/2 tsp salt
- 1 tsp fresh pepper
- 1/2 cup coconut milk
- juice of 1 lemon
- 2 tbsp fresh parsley, chopped
- 1/2 cup freshly grated Parmesan or Romano
- 5 cups cooked pasta like rigatoni or penne
- 1 cup reserved pasta water
Instructions:
- Preheat the oven to 400°F.
- Add the sliced onions, sun-dried tomatoes, garlic, smoked paprika, Italian seasoning, dried parsley, salt and black pepper to a 9 x 13-inch baking dish.
- Drizzle the olive oil over everything and toss well, making sure the onions are evenly coated in the oil and seasonings.
- Cover the baking dish tightly with aluminum foil and bake for 1 hour, stirring the onions around the 30-minute mark.
- Cover again and return to the oven until the onions are very soft and caramelized.
- When the onions have about 10 minutes left in the oven, cook the pasta according to the package directions.
- Before draining, reserve at least 1 cup of the starchy pasta water.
- Remove the baking dish from the oven. Add the coconut milk, fresh parsley and lemon juice directly to the caramelized onion mixture and stir well.
- Add the cooked pasta and ½ cup of the reserved pasta water.
- Toss until the pasta is evenly coated and the sauce becomes creamy and glossy.
- Add additional pasta water, a little at a time, if needed to loosen the sauce.
- Sprinkle with freshly grated Parmesan and toss again, or leave the Parmesan or Romano on top for serving.
- Serve immediately with additional cheese, fresh parsley or black pepper, if desired.
- Don’t forget to rate this recipe and leave a comment!
Yes, There Are A LOT of Onions In This Caramelized Onion Pasta Recipe
Eight to ten large onions looks slightly ridiculous when you first pile everything into the pan. I get it.
But trust the process.
The sliced onions cook down dramatically during their hour in the oven, becoming soft, sweet and almost jammy. They aren’t just another ingredient in this dish — they essentially become the caramelized onion pasta sauce.
And this is really the only part of the recipe that takes some effort. Cutting eight to ten onions isn’t exactly my idea of a good time, so if you have a mandolin, this is the time to use it. You want thin, relatively even slices so they soften at roughly the same rate.
Once that’s done, the oven handles most of the work.

Why I Roast the Onions Instead of Standing at the Stove
Traditional caramelized onions are usually cooked slowly in a heavy-bottomed skillet over low or medium heat, with plenty of stirring and patience.
They’re delicious, but that’s not what I’m doing here.
For this caramelized onion pasta recipe and sauce, the onions go into a baking dish with olive oil, garlic, sun-dried tomatoes and seasonings. Cover the pan tightly with aluminum foil, which traps moisture and gives the onions time to soften before they become deeply cooked and sweet.
I give the onion mixture a stir around the halfway point, cover it again and let the oven keep doing its thing.
It isn’t the traditional stovetop method, but for this pasta dinner, I love how hands-off it is.

Coconut Milk Was the Biggest Surprise In This Caramelized Onion Pasta
For the caramelized onion pasta sauce, I really did contemplate swapping the coconut milk for heavy cream.
Don’t.
At least try it with the coconut milk once, because it surprised me in the best way. We’re only using ½ cup, so the finished dish doesn’t suddenly taste like coconut pasta. Instead, it rounds out the intense savoury flavor from the garlic, sweet onions and sun-dried tomatoes and gives you a creamy sauce without making everything feel overly heavy.
Then the lemon comes in at the end with exactly the brightness the dish needs.
That balance is probably my favourite thing about this recipe.

Don’t Underestimate the Pasta Water
If there’s one habit I want everyone to get into when making pasta, it’s this: reserve your pasta water before you drain it.
For this caramelized onion pasta recipe and sauce, cook your pasta according to the package directions, stopping when it’s al dente. Before draining, scoop out at least one cup of that starchy water.
Start by adding ½ cup to the pan with the cooked pasta. As you toss everything together, that starchy water combines with the coconut milk, olive oil and onion mixture and helps create that glossy sauce that actually clings to the pasta.
If things look a little dry, add more pasta water a splash at a time.
I actually keep the sauce slightly looser than I think it needs to be because the cooked pasta continues absorbing liquid as it sits.

Tips for Getting This Caramelized Onion Pasta Recipe Just Right
Use a mandolin if you have one. Eight to ten onions is a lot of slicing. A mandolin makes quick work of it and helps you get thin, even pieces. Just please use the guard!
Don’t rush the onions. They need that full hour to become really soft. Give them a good stir at the 30-minute mark, cover the pan again and let them keep going.
Twenty garlic cloves isn’t a typo. Just like the onions, the garlic becomes much softer and mellower during the long cooking time. This is supposed to be an onion-and-garlic-heavy dish.
Sun-dried tomatoes matter. They bring concentrated savoury-sweet flavour and a little tang that works really well against the onions and creamy coconut milk.
Save extra pasta water. You may not use the entire cup, but I’d much rather have it sitting beside me than realize I poured it all down the drain.
Don’t skip the lemon. That final squeeze of lemon cuts through the richness and wakes everything up.
Pecorino Romano is my personal move. The original recipe uses grated Parmesan, and that’s what I’ve listed. But nine times out of ten, I’ll reach for Pecorino Romano instead. I love its sharper, saltier taste, especially over pasta and soups.

Can I Make This Caramelized Onion Pasta Spicy?
Absolutely.
Red pepper flakes or fresh black pepper would be my first choice. You could sprinkle them over the finished dish so everyone can decide how spicy they want their serving.
If you know the entire table likes heat, you could also add red pepper flakes to the onion mixture before it goes into the oven.
You don’t need much. There’s already a lot happening here, so I want the spice to complement the caramelized onions and garlic rather than take them over.
What Pasta Shape Works Best?
I’m using five cups of cooked pasta, and penne or rigatoni are both great choices because the sauce works its way into all those little ridges and tubes.
You aren’t limited to those, though. A sturdy pasta shape is what I’d reach for first, but spaghetti, linguine or fettuccine could also work if that’s what you have.
Whatever you choose, cook it until al dente rather than very soft. It’s going back into the hot baking dish and getting tossed with the sauce, so you want the pasta to still have some structure.
If you’re craving something heartier and more traditional, this baked rigatoni takes pasta moves in a completely different direction. It’s meatier and cheesier than this caramelized onion pasta, but both recipes lean into what I love about baked pasta dinners: comforting food that can be brought right to the table and shared.

Ingredients That Matter: FAQs
Does this pasta taste like coconut?
I don’t find the coconut flavour overpowering at all. There is only ½ cup of coconut milk against eight to ten onions, 20 garlic cloves, sun-dried tomatoes, spices, lemon and cheese. For me, it adds creaminess and balance more than an obvious coconut taste.
Can I use heavy cream instead of coconut milk?
Heavy cream would create a creamy sauce, but it will change the flavour and richness of the finished dish. The coconut milk was one of the things that intrigued me about this viral recipe, and after trying it, I think it really works. I’d make it as written the first time.
How do I know when the onions are ready?
You’re looking for onions that have dramatically reduced in volume and become extremely soft and sweet. If they’re still firm after an hour, give them a little more time.
Why is my caramelized onion pasta dry?
The first thing I’d check is the pasta water. The pasta continues absorbing sauce after you combine everything, so don’t be afraid to add another splash of reserved pasta water and toss again.
Can I use Pecorino Romano instead of Parmesan?
Yes, and that’s actually what I usually do at home. Pecorino Romano is saltier and sharper than Parmesan, so keep that difference in mind when seasoning the finished pasta.
What else can I add to this
You can add bacon, fresh thyme and a little butter for a more decadent dish but trust me, this recipe doesn’t need a lot of tweaking.

A One-Pan Pasta Worth the Onion Chopping
I’m not going to pretend slicing eight to ten onions is nothing. It’s a job.
But once that’s done? The oven does almost everything.
And when those onions come out incredibly soft and sweet with all that garlic and sun-dried tomato flavor, the rest moves FAST. Coconut milk, lemon, parsley, cooked pasta, pasta water and cheese go straight into the pan and dinner is basically done.
It’s creamy without being too heavy, intensely savoury but balanced by that little bit of coconut milk and lemon, and it’s one of those dinners that tastes like you did considerably more work than you actually did.
And based on how quickly everyone asks me for the recipe when I serve it, I think this one is sticking around.

Other Recipes You Will Love!
Ina Garten Pasta Recipe with Pecorino and Black Pepper
One Pot Pasta with Smoky Pork and Broccolini
Nicholetta Bokolas
Nicholetta is an award-winning food blogger and writer whose work lives at the intersection of food and story. She shares simple, approachable recipes inspired by the flavours she grew up with, grounded in the belief that good food should never be too complicated. She is currently writing a food memoir that traces her grandmother’s journey from Greece to Canada, and the recipes that carried her through building a new life and a successful restaurant. A lifelong home cook, Nicholetta is most at home in the kitchen, cooking for the people she loves and gathering around a table where food is as much about connection as it is about what’s on the plate.
No Comments
No comments yet. Be the first!
— End of comments —
— No more comments to load —