Spaghetti aglio e olio is a simple Italian pasta dish, especially associated with Naples and the Campania region, made by tossing spaghetti with olive oil, garlic, chili, and a little starchy pasta water. Its appeal is in the contrast between fragrant, gently cooked garlic and a light, glossy sauce; parsley is common, though family and regional versions vary.
Ingredients
- 1 lb (450 g) dried spaghetti
- 4 qt (3.8 L) water, for boiling the pasta
- 1 tbsp (17 g) fine sea salt, for the pasta water
- ½ cup (120 ml) extra-virgin olive oil
- 8 garlic cloves (about 40 g), peeled and thinly sliced
- ½ tsp (about 1 g) red pepper flakes, or more or less to taste
- ½ cup (15 g) loosely packed fresh flat-leaf parsley, finely chopped
- 1 cup (240 ml) reserved pasta water; you may not need all of it
- 1 tbsp (15 ml) lemon juice, optional, for serving
- Black pepper, to taste, optional
Instructions
- Prepare the ingredients. Set a large pot of water on the stove. Peel the garlic and slice it evenly, about ⅛ inch (3 mm) thick; thin slices cook quickly and are easier to distribute through the pasta than large chunks. Chop the parsley and measure the oil and pepper flakes before you start cooking. Garlic can go from fragrant to burnt in moments, so having everything ready makes the sauce easier to manage.
- Boil the pasta water. Bring the 4 quarts (3.8 L) of water to a boil in a large pot. Stir in the salt, then add the spaghetti. Stir during the first minute to help prevent strands from sticking together. Cook according to the package’s timing, checking a minute before the suggested minimum. Aim for al dente: tender, with a slight firmness at the center, because the pasta will finish briefly in the oil and sauce.
- Warm the garlic and chili gently. Once the spaghetti is in the pot, put the olive oil and sliced garlic in a large, cool skillet. Set it over low to medium-low heat. Cook for about 4–6 minutes, stirring or gently swirling the pan, until the garlic is fragrant and pale golden at the edges. Add the pepper flakes during the last 30 seconds. If the garlic starts browning quickly, take the skillet off the heat; dark brown garlic can taste bitter and will affect the whole dish. The oil should be warm and aromatic, not smoking.
- Reserve pasta water and drain. Before draining, scoop out at least 1 cup (240 ml) of the cloudy cooking water. Drain the spaghetti, but do not rinse it: the starch on the surface helps the sauce cling. If the pasta becomes ready before the oil is, leave it in the colander for only a short time and save a little extra pasta water to loosen it as needed.
- Toss the pasta with the oil. Add the drained spaghetti to the skillet with the garlic oil. Toss with tongs over low heat for about 1 minute, turning the strands so they are coated evenly. Pour in ¼ cup (60 ml) of pasta water and continue tossing. Add more water a splash at a time, usually 2–4 tablespoons (30–60 ml) more, until the oil and water form a light, glossy coating rather than pooling at the bottom. The sauce should cling to the strands without becoming soupy.
- Finish and serve. Turn off the heat, add the chopped parsley, and toss again. Taste a strand before adding more salt; the salted cooking water may have seasoned the pasta sufficiently. Add black pepper or the optional lemon juice if you like. Serve immediately while the sauce is glossy and the garlic is fragrant.
Tips
- Keep the garlic pale. The garlic is the main flavor, so cook it slowly and watch its color. If the skillet gets too hot, lift it from the burner for a few seconds. Starting the garlic in cool oil gives you more control than adding it to already-hot oil.
- Use pasta water gradually. Its starch helps bring oil and water together into a coating, but adding too much at once can leave the pasta watery. Begin with ¼ cup (60 ml), toss thoroughly, then add small splashes until the texture looks lightly sauced.
- Adjust the heat to your chili. Red pepper flakes differ in strength. Start with ½ teaspoon (about 1 g) for a gentle warmth, or use less for a mild dish. Add more at the table if your diners prefer extra heat.
- Choose a practical oil substitute only if needed. Extra-virgin olive oil gives the dish its characteristic fruity aroma. A milder olive oil works if that flavor is too strong, but butter or a neutral oil changes the taste and moves the result away from the classic olive-oil profile.
Serving Suggestions
Serve aglio e olio as soon as it is tossed, in warmed shallow bowls so the pasta stays hot. It works as a first course or as a simple main dish. Because the ingredient list is short, a modest accompaniment is usually best: a crisp green salad with a sharp vinaigrette, sautéed greens, or roasted vegetables can round out a meal without competing with the garlic and olive oil.
Offer extra pepper flakes, chopped parsley, and lemon at the table so each person can adjust a portion. Grated cheese is not essential to this preparation, and many cooks serve it without cheese; if you want it, offer a small amount of finely grated Parmesan or Pecorino Romano separately. A piece of crusty bread is useful for enjoying any seasoned oil left in the bowl. Avoid making the pasta well ahead for guests: it is at its best just after tossing, while the emulsion is fresh.
Variations
Make it milder: Reduce the pepper flakes to a pinch or leave them out. The garlic and olive oil still provide the defining flavor, and the dish remains simple and balanced. For a brighter finish, add a little lemon juice or finely grated lemon zest after turning off the heat; lemon is an optional addition, not a requirement.
Add greens: Toss in a few handfuls of baby spinach at the end and stir until just wilted, or briefly cook chopped broccoli rabe in the pasta water before adding the spaghetti. Broccoli rabe has a pleasantly bitter edge and makes the dish heartier, though it adds a distinct flavor and is not part of every traditional version.
Use another pasta shape: Linguine or bucatini can stand in for spaghetti. Choose a similar dried pasta and follow its package timing, reserving the cooking water as usual. Long strands are particularly good at picking up the oil, but the method also works with short pasta if that is what you have.
Add a savory topping: A spoonful of toasted breadcrumbs gives the pasta a crisp contrast without changing the basic sauce. Toast plain breadcrumbs in a little olive oil in a separate skillet until golden, then scatter them over the finished pasta. For a richer, less spare variation, add grated hard cheese at the table rather than stirring a large quantity into the pan.
Storage and Reheating
This pasta is best freshly made because the oil-and-water coating can separate as it sits, and the spaghetti continues to absorb moisture. If you have leftovers, transfer them to a shallow, covered container and refrigerate within 2 hours. Cooked pasta keeps for 3–4 days in the refrigerator when properly chilled, though its texture and aroma are best on the first day. Do not leave it at room temperature for extended storage.
For the most even result, reheat a portion in a skillet over low heat with 1–2 tablespoons (15–30 ml) of water. Toss gently until hot, adding another small splash if the pasta looks dry. A microwave also works: cover the portion loosely, heat in short intervals, and stir between intervals so it warms evenly. Reheat leftovers to 165°F (74°C), the USDA FSIS safe temperature for leftovers. Avoid reheating the same portion repeatedly, since each round tends to make the pasta softer and oilier.
Frequently Asked Questions
What does aglio e olio mean?
Aglio e olio means “garlic and oil” in Italian. The name points to the dish’s central ingredients: garlic gently warmed in olive oil and tossed with pasta. Chili and parsley are familiar additions, but versions differ from cook to cook.
Should I brown the garlic?
No. Aim for fragrant garlic that is pale golden at most, not deeply browned. Thin slices cook quickly, and overcooked garlic can turn bitter. If it colors too fast, move the skillet off the burner before adding the pasta.
Why does my sauce look oily instead of glossy?
It may need more starchy pasta water and more tossing. Add the water a tablespoon or two at a time while turning the pasta over low heat. The motion helps the oil and water form a light coating. If the pasta is already drained and you forgot to reserve water, use a small splash of hot water, though it may not bind quite as well.
Can I make spaghetti aglio e olio without chili?
Yes. Leave out the pepper flakes for a garlic-forward version with no heat. You can also serve chili separately so everyone can season their own portion. Keep the garlic cooking gently either way; it provides most of the dish’s aroma.
Can I make it ahead?
It is better cooked just before serving because the strands absorb the sauce and lose some of their gloss as they sit. You can slice the garlic and chop the parsley a few hours ahead, keeping them covered and refrigerated separately. Cook the pasta and make the oil sauce shortly before the meal, then toss everything together at the end.
Is cheese traditional in this dish?
Some cooks add grated cheese, while others prefer the clean garlic-and-oil flavor without it. There is no need to add cheese for the sauce to work. If serving it, offer finely grated Parmesan or Pecorino Romano at the table so diners can choose.
More recipes to cook
Safety notes: safe minimum internal temperatures from USDA FSIS; raw and undercooked fish guidance from the U.S. FDA. Food safety notes
Spotted an error? Tell us and we will correct it (corrections policy).