Skip to content
Allquickyrecipes Search recipes

Dinner · Part 1 of 3: Ingredients

Caramelized Onion and Garlic Butter Spaghetti: 20-Minute Dinner

Twirled spaghetti coated in caramelized onion garlic butter sauce with parmesan and parsley
Prep
Cook
Total
Serves
4

This caramelized onion and garlic butter spaghetti is the most delicious 20-minute dinner you will ever make. Sweet, jammy onions melt into a golden garlic butter sauce, then coat every strand of al dente spaghetti with a glossy, cheesy finish.

It's the kind of weeknight pasta that feels special but comes together with just a handful of pantry staples. Save this easy comfort dinner right now.

Caramelized onions are the secret to this deeply savory, sweet, and silky pasta. Slowly cooked until they turn jammy and golden, they create a rich foundation that pairs perfectly with garlic, butter, and Parmesan.

Tossed with starchy pasta water, the sauce turns glossy and clings beautifully to the spaghetti. This is a 20-minute dinner that tastes like it simmered for hours.

Ingredients

Makes 4 servings · serves 4
  • 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
Contains: gluten, milk

Why this recipe works

Caramelizing the onions low and slow brings out their natural sugars, transforming them from sharp and crisp to sweet and jammy.

Ready to start cooking right away??? Jump to Part 2 ? Step-by-Step Method ?

This depth of flavor is the backbone of the dish, providing a complex, savory sweetness that no quick-sautéed onion can match.

The starchy pasta water is the key to a silky, emulsified sauce. As it reduces with the butter and cheese, it creates a glossy coating that clings to the spaghetti, giving the dish a luxurious texture without any cream.

Notes and substitutions

Use a good-quality Parmesan and grate it yourself; pre-shredded cheese contains anti-caking agents that prevent smooth melting.

Yellow onions are ideal for caramelizing because they're high in sugar and become sweet and tender. If you have sweet onions, they work too.

For the best texture, cook the spaghetti just shy of al dente — it will finish cooking in the sauce. You can substitute linguine or bucatini. If you don't have chili flakes, skip them for a milder dish, or add a pinch of cayenne for heat.

  • spaghetti: Use linguine, fettuccine, or bucatini. Adjust cooking time to package directions.
  • yellow onions: Sweet onions like Vidalia or Walla Walla work well. Red onions will be slightly sharper.
  • parmesan: Pecorino Romano adds a saltier, more pungent flavor. Use less and adjust salt.
  • red chili flakes: Skip for a milder dish, or use a pinch of cayenne for extra heat.

Equipment

  • Large pot for pasta
  • Large skillet or sauté pan
  • Wooden spoon or spatula
  • Chef's knife and cutting board
  • Measuring cups and spoons
  • Colander

Coming up in Part 2: the method

  1. Caramelize and Build the Sauce · 3 stepsStart the Pasta and Caramelize the Onions · Add Garlic and Chili Flakes · Create the Glossy Emulsion
  2. Toss and Emulsify · 2 stepsToss in the Al Dente Spaghetti · Add Parmesan and Parsley
  3. Finish and Serve · 1 stepServe Immediately

Up next · Part 2 of 3

6 steps · 20 min of cooking · what to look for at each stage

Step-by-step instructions (Part 2)