Dinner · Part 2 of 3: Instructions
Caramelized Onion and Garlic Butter Spaghetti: 20-Minute Dinner Step-by-step instructions

- Prep
- Cook
- Total
- Serves
- 4
Before you start
Before you start, set a large pot of salted water on the stove to boil. Thinly slice the onions and garlic, and grate the Parmesan. Have the parsley chopped and the chili flakes measured.
Keep the pasta water ladle nearby — you'll need it for the sauce. This recipe moves quickly once the onions are caramelizing, so having everything prepped makes the process smooth.
Ingredients at a glance (10)
- 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
Caramelize and Build the Sauce
- Start the Pasta and Caramelize the OnionsBring 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.Look for Onions are soft, deeply golden, and smell sweet. They should be reduced to about a third of their original volume.Tip If the onions start to stick, add a splash of water or pasta water to deglaze. Keep the heat medium-low.
- Add Garlic and Chili FlakesWhen 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.Look for The garlic smells nutty and sweet, and the chili flakes release a warm, spicy aroma.Tip Thinly shaving the garlic helps it melt into the sauce. Use a sharp knife or a mandoline.
- Create the Glossy EmulsionLadle 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.Look for The liquid has reduced and looks like a thin, shiny sauce that coats the back of a spoon.Tip Reserve more pasta water before draining. You may need a splash more to loosen the sauce.
The onions should be deeply golden, soft, and sweet. The garlic should be fragrant but not burnt.
The pasta water has reduced into a glossy, slightly thickened sauce that coats the back of a spoon.
Toss and Emulsify
- Toss in the Al Dente SpaghettiDrain 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.Look for Every strand is coated in a glossy, golden sauce. The pan looks juicy, not dry.Tip Toss the pasta over medium heat for 1 to 2 minutes to help the sauce adhere.
- Add Parmesan and ParsleyRemove 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.Look for The cheese melts into a creamy sauce that clings to the pasta. The parsley adds fresh green flecks.Tip Grate the parmesan finely so it melts quickly. Pre-shredded cheese won't emulsify as well.
The spaghetti is coated in a silky, golden sauce. The Parmesan melts into the liquid, creating a creamy emulsion. The parsley adds fresh green flecks. The pasta is glossy and juicy, not dry.
Finish and Serve
- Serve ImmediatelyDivide 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.Look for The pasta is glossy, cheesy, and steaming. The onions are sweet and jammy throughout.Tip Warm the serving bowls in the oven or with hot water to keep the pasta hot longer.
The pasta is twirled into neat nests, topped with extra Parmesan and parsley. The sauce is thick enough to cling but still moist. The dish looks comforting and inviting, with a rich golden hue.
Common mistakes
The most common mistake is rushing the onions. If the heat is too high, they'll burn before they soften. Keep the heat medium-low and be patient.
Another pitfall is adding the pasta water too early or too late; it should be added just as the garlic becomes fragrant. Also, don't drain the pasta completely — reserve that starchy water.
How to tell it’s done
The spaghetti is done when it is al dente — tender but still firm to the bite. The sauce should be glossy and coat each strand without pooling at the bottom of the pan.
When you twirl a forkful, the pasta should hold together and the cheese should be fully melted, creating a creamy, silky finish. Taste and adjust salt at the end.
Up next · Part 3 of 3
4 variations · storage & make-ahead · 5 answers · printable card
Tips, FAQ & printable recipe (Part 3)← Back to the ingredients (Part 1)