My grandmother kept a jar of sliced garlic on the counter and a pot of water on the back burner, and this was the dinner she made when nobody had planned anything. Four cloves, a third of a cup of olive oil, and half a pound of spaghetti. That's it.
The dish lives or dies on one thing: how you treat the garlic. Hot pan, hot oil, and it burns in forty seconds. Cold pan, slow heat, and it turns sweet and nutty in about three minutes. I do it the second way, every time.
You don't need a long list of pantry items for this. You need salt, spaghetti, olive oil, garlic, chili flakes, and parsley if you have it. Everything else is a decision you get to make.
Step-by-Step Instructions
1. Boil the pasta
Fill a large pot with water, salt it well, and bring it to a rolling boil. Cook the spaghetti according to the package directions until it's just tender. Before you drain, scoop out 1/4 cup (60 ml) of the cooking water and set it aside.
2. Warm the garlic slowly
Put the olive oil and sliced garlic into a large sauté pan while it's still cold. Set it over medium-low heat and let it come up slowly until the garlic smells fragrant and turns pale gold, about 3 minutes. Don't walk away.
3. Add the chili flakes
Stir in the red chili flakes and cook for 1 more minute. The oil should be tinged with red and smell warm, not sharp.
4. Bring it together
Pour in the reserved pasta water and let it come to a simmer. Add the drained spaghetti and the parsley if you're using it. Toss until every strand is coated and the liquid has tightened around the pasta.
5. Season and serve
Taste it and add salt as needed. Serve right away, while the garlic is still crisp at the edges.
Pro Tips
How to Store Spaghetti With Garlic And Oil
Refrigerator
Keep leftovers in a sealed container in the fridge for up to 3 days. It firms up when cold, which is normal.
Freezer
Freezing works but the texture suffers, and the garlic gets soft. If you must, freeze in a sealed container for up to 1 month.
Reheating
Reheat in a skillet over medium-low heat with a splash of water, tossing until it loosens. The microwave works in a pinch but the pasta goes a bit soft.
Variations
- Add a handful of grated Parmesan at the end, off the heat, for a richer sauce.
- Toss in a cup of halved cherry tomatoes with the chili flakes and let them soften for two minutes.
- Swap the chili flakes for a small chopped fresh chili if you have one.
- Add a squeeze of lemon and some zest right before serving for a brighter version.
Frequently Asked Questions
Q: Why did my garlic turn bitter?
The oil was too hot when the garlic went in, or it sat a few seconds too long. Start with a cold pan, keep the heat at medium-low, and pull it off as soon as the slices look pale gold. The garlic keeps cooking in the hot oil after the pan leaves the burner.
Q: Can I use more or less garlic?
Yes. Four cloves is a middle ground for half a pound of pasta. Go up to six if you love it, or down to two for a milder plate. Slice size matters more than the count.
Q: Do I have to use parsley?
No, it's optional. Without it the dish is plainer but still correct. A little grated lemon zest gives you some of that fresh lift instead.
Q: How do I keep the pasta from drying out before serving?
Hold back a bit more pasta water than you think you need and add it a splash at a time while tossing. The sauce should look slightly loose in the pan, because it tightens as it sits.
Q: Is this dish spicy?
One teaspoon of chili flakes across four servings is a mild warmth, not heat. If you're unsure, start with a half teaspoon and taste the oil before the pasta goes in.

Spaghetti With Garlic And Oil – 20-Minute Garlic Pasta
Spaghetti with garlic and oil is a five-ingredient Italian classic: golden garlic, chili flakes and olive oil tossed with pasta in about 20 minutes.
Ingredients
Instructions
- 1Boil the pasta — Fill a large pot with water, salt it well, and bring it to a rolling boil. Cook the spaghetti according to the package directions until it's just tender. Before you drain, scoop out 1/4 cup (60 ml) of the cooking water and set it aside.
- 2Warm the garlic slowly — Put the olive oil and sliced garlic into a large sauté pan while it's still cold. Set it over medium-low heat and let it come up slowly until the garlic smells fragrant and turns pale gold, about 3 minutes. Don't walk away.
- 3Add the chili flakes — Stir in the red chili flakes and cook for 1 more minute. The oil should be tinged with red and smell warm, not sharp.
- 4Bring it together — Pour in the reserved pasta water and let it come to a simmer. Add the drained spaghetti and the parsley if you're using it. Toss until every strand is coated and the liquid has tightened around the pasta.
- 5Season and serve — Taste it and add salt as needed. Serve right away, while the garlic is still crisp at the edges.




Questions or cooking notes?
Ask about an ingredient or share a tip that could help someone else.