Dinner · Part 3 of 3: Tips & recipe card
Caramelized Onion and Garlic Butter Spaghetti: 20-Minute Dinner Tips, FAQ & printable recipe

- Prep
- Cook
- Total
- Serves
- 4
Tips for success
For the best caramelized onions, use a wide skillet so the onions have room to spread out. Crowded onions steam instead of browning.
Stir occasionally, but not constantly — let them sit to develop color. If they stick to the pan, add a splash of water or pasta water to deglaze.
Thinly shaving the garlic is important; it melts into the sauce and becomes sweet and mellow. If you prefer a milder garlic flavor, remove the germ from each clove. And always use freshly grated Parmesan — it makes a noticeable difference in texture and flavor.
Variations
- Add Mushrooms: Sauté 8 oz sliced cremini mushrooms with the onions during the last 5 minutes of caramelizing. They add an earthy depth that pairs beautifully with the garlic butter and Parmesan.
- Make It Spicy: Increase the red chili flakes to 1 teaspoon, or add a pinch of cayenne with the garlic. For extra heat, drizzle with chili oil before serving.
- Add Greens: Stir in a handful of baby spinach or arugula with the pasta water. Let it wilt into the sauce for a fresh, peppery contrast to the sweet onions.
- Use Whole Wheat Pasta: Swap the spaghetti for whole wheat spaghetti for a nuttier flavor and more fiber. Adjust the cooking time according to the package, and add a bit more pasta water for a looser sauce.
Storage and make-ahead
- Fridge
- Store leftovers in an airtight container in the refrigerator for up to 3 days. Reheat with a splash of water.
- Freezer
- Freeze in an airtight container for up to 2 months. Thaw overnight in the refrigerator before reheating.
- Reheat
- Reheat gently on the stovetop with a splash of water or broth, stirring until hot and glossy.
Store leftover spaghetti in an airtight container in the refrigerator for up to 3 days.
The sauce will thicken as it cools; add a splash of water or broth when reheating to restore its silky texture. Reheat gently on the stovetop or in the microwave, stirring frequently.
You can caramelize the onions up to 3 days ahead and store them in the refrigerator.
Reheat them gently in a skillet with a little butter or olive oil before proceeding with the recipe. The garlic can be sliced a day ahead, but for best flavor, prepare it fresh.
Serving ideas
Serve this spaghetti as a satisfying main course with a simple green salad dressed in lemon and olive oil, and a slice of crusty bread to mop up any remaining sauce.
For a heartier meal, add grilled chicken or shrimp on top — the sauce pairs beautifully with any protein.
For a vegetarian dinner, this pasta is already meat-free. If you want to add vegetables, toss in sautéed mushrooms or wilted spinach along with the spaghetti. The sweet onions and garlic butter complement earthy greens and mushrooms perfectly.
Frequently asked questions
Why are the onions not caramelizing?
Can this spaghetti be made ahead?
What can be used instead of Parmesan?
How can the sauce be made creamier?
Can this recipe be doubled?
Caramelized Onion and Garlic Butter Spaghetti: 20-Minute Dinner

Ingredients
- 12 oz spaghetti
- 3 tbsp unsalted butter
- 2 tbsp olive oil
- 2 large yellow onions, thinly sliced
- 1/2 tsp kosher salt
- 6 cloves garlic, thinly shaved
- 1/2 tsp red chili flakes
- 1 cup starchy pasta water
- 1 cup freshly grated parmesan cheese
- 1/4 cup fresh parsley, chopped
Instructions
- Bring a large pot of generously salted water to a boil. Add the spaghetti and cook until just shy of al dente, about 1 minute less than the package directs. Meanwhile, heat a large skillet over medium heat. Add the butter and olive oil. Once the butter foams, add the sliced onions and salt. Cook slowly, stirring occasionally, until the onions are deeply browned, sweet, and jammy, 15 to 18 minutes. Do not rush this step; low and slow is key.
- When the onions are caramelized, push them to one side of the skillet. Add the thinly shaved garlic and red chili flakes to the empty side. Cook for 1 to 2 minutes, stirring constantly, until the garlic is fragrant and lightly golden. Be careful not to burn the garlic; it should be aromatic, not bitter. Stir everything together to combine.
- Ladle 1 cup of the starchy pasta water into the skillet with the onion-garlic mixture. Stir well, scraping up any browned bits from the bottom of the pan. Let the liquid bubble and reduce for 2 to 3 minutes, until it thickens slightly and becomes glossy. This starchy water binds the sauce and gives it a silky texture that clings to the pasta.
- Drain the spaghetti (reserve extra pasta water) and add it directly to the skillet. Use tongs or a pasta spoon to toss the spaghetti thoroughly with the onion-garlic sauce, coating every strand. If the sauce seems too thick, add a splash of the reserved pasta water to loosen it. The pasta should be glossy and well coated, not dry.
- Remove the skillet from the heat. Sprinkle in the freshly grated parmesan and chopped parsley. Toss quickly and vigorously to melt the cheese into the sauce, creating a creamy, emulsified coating. The cheese should melt into the pasta water and form a silky sauce. Taste and adjust seasoning with salt if needed.
- Divide the spaghetti among warm bowls or plates. Twirl each portion into a neat nest using tongs or a fork. Finish with an extra sprinkle of parmesan and a few parsley leaves if desired. Serve hot, with a crisp salad or crusty bread on the side. The sauce will thicken as it sits, so serve right away for the best texture.
Estimated nutrition per serving
- Calories
- 580
- Protein
- 18 g
- Carbohydrates
- 82 g
- Fat
- 20 g
This recipe is based on a short cooking video and is published under the pen name Clara Weller. It was checked before publication, but errors can slip through. Nutrition, when shown, is an estimate. Read more in our editorial policy and on our food safety page.






