Basic Pasta Dish Recipe: Garlic Spaghetti Aglio e Olio
| ~6 min read | Spaghetti
Sections
This is the plainest good pasta dish there is: spaghetti tossed with gently warmed garlic and olive oil, finished with parsley, chili and a little starchy pasta water. It works because almost nothing gets in the way of the noodles — the sauce is really just seasoned oil emulsified with cooking water, so the technique of salting the pot, cooking to al dente and tossing everything together matters more than the shopping list. It takes about 25 minutes, uses ingredients you probably already have, and teaches a technique that scales up to dozens of other pasta dishes.
Ingredients
- 350 g (12 oz) dried spaghetti
- 60 ml (1/4 cup) extra-virgin olive oil, plus a splash for serving
- 4 garlic cloves, thinly sliced
- 1/2 teaspoon red pepper flakes, or to taste
- 1 teaspoon fine sea salt, for the pasta water, plus more to taste
- 1 large handful flat-leaf parsley, finely chopped (about 3 tablespoons)
- 40 g (1/2 cup) finely grated Parmesan or Pecorino, optional but recommended
- Freshly ground black pepper
Instructions
- Boil the water. Fill a large pot (5–6 litres) about three-quarters full with cold water and bring it to a rolling boil over high heat. A wide pot lets the strands move freely; a crowded pot gives you gluey pasta.
- Salt it properly. When the water boils, add 1 teaspoon of fine salt and stir. Taste the water: it should taste pleasantly seasoned, like a mild soup. If it tastes flat, add another pinch. Salting at this stage seasons the noodle itself, not just the surface.
- Start the garlic while the water heats. Put the olive oil and sliced garlic in a cold, wide skillet over medium-low heat. Cook gently for 4–6 minutes, stirring often, until the garlic turns pale gold and smells sweet. Do not let it brown. Add the red pepper flakes in the last 30 seconds.
- Pull the pan off the heat. Remove the skillet from the burner and set it aside while the pasta cooks. If you leave the garlic on the heat, it will burn and turn the dish bitter.
- Cook the pasta to al dente. Add the spaghetti to the boiling water, stir once, and cook according to the package, but start checking 1 minute before the stated time. Standard dried spaghetti is usually 8–10 minutes; it should be tender at the edge with a firm core.
- Save the pasta water. Just before draining, scoop out about 250 ml (1 cup) of the cloudy cooking water with a mug or ladle. This water contains starch that thickens the sauce and helps it cling to the noodles.
- Drain and finish together. Drain the pasta (do not rinse it — rinsing washes away the starch). Tip it into the skillet with the garlic oil, set the pan over medium-low heat, and add 60 ml (1/4 cup) of the reserved pasta water. Toss continuously for 1–2 minutes with tongs until the liquid looks creamy and coats every strand. Add a splash more water if it looks dry.
- Finish off the heat. Take the pan off the burner and stir in the parsley and the grated cheese. Taste, and add salt and black pepper to finish. Serve immediately in warmed bowls.
Tips
- Watch the garlic, not the clock. The most common mistake is browning the garlic at too high a heat. It keeps cooking after you pull the pan off, so remove it while it is still pale gold.
- Don't skip the pasta water. It is the only thing that makes oil and water stay together. Without it the sauce pools at the bottom of the bowl; with it, every strand is coated.
- Reserve more than you need. A cup of pasta water is the easiest insurance. If the sauce tightens, loosen it with a splash; leftover water can go in the sink.
- Check the cook time on your own pasta. Thick or artisanal brands can run two or three minutes longer than the box suggests.
Serving Suggestions
Serve this straight away, in warmed shallow bowls, with a final drizzle of olive oil and a little extra black pepper. It goes well with a simple green salad dressed with lemon and olive oil, a slice of toasted crusty bread to mop the bowl, or a small bowl of olives and a piece of pecorino. If you want protein, a plain grilled chicken breast or a fillet of white fish cooked to 145°F (63°C) sits nicely alongside. It also makes a light first course before a main of roast vegetables or a baked fish.
Variations
Amped-up oil version: Fry 3–4 anchovy fillets in the oil with the garlic until they melt, and omit most of the added salt. With tomatoes: after the garlic is ready, add 200 g of halved cherry tomatoes and cook for 3 minutes until they soften, then toss with the pasta. With broccoli: cook 200 g of broccoli florets in the pasta water for the final 4 minutes and add them to the pan with the noodles. Creamy (carbonara-style) note: this basic dish can be adapted by beating 2 eggs with 40 g of grated pecorino, but for anyone at risk (young children, older adults, pregnant people, people with weakened immune systems) use pasteurized eggs. Toss the egg mixture with the pasta off the heat so the eggs thicken rather than scramble, and know that the raw egg version is not safe for everyone.
Storage and Reheating
Cool the leftovers quickly and refrigerate them within 2 hours of cooking (1 hour if the room is above 90°F / 32°C). Kept in an airtight container at 40°F (4°C) or below, they will keep for 3–4 days. Reheat in a covered pan over medium-low heat with a splash of water and a little oil, stirring gently until steaming hot; the microwave works too, in 30–60 second bursts. Leftovers should reach 165°F (74°C) throughout. You can freeze leftovers in an airtight container for up to 2 months at 0°F (-18°C); thaw in the fridge overnight, never on the counter, and reheat to 165°F.
Frequently Asked Questions
Do I have to use spaghetti?
No. Any dried long pasta works — linguine, spaghettini or bucatini — and short shapes such as penne or rigatoni are just as good. Adjust cooking time by the shape and thickness, and check a strand a minute before the package time.
Why does my garlic taste bitter?
It browned. Garlic burns quickly at high heat and turns acrid, which flavours the whole dish. Start the garlic in cold oil over low heat, slice it evenly rather than crushing it into fine bits, and take the pan off the burner the moment it turns pale gold.
Can I make this ahead?
The garlic oil can be made a day ahead and kept in the fridge; gently warm it before adding the pasta. The finished dish is best eaten at once, though leftovers keep 3–4 days.
Is the pasta water really necessary?
Yes — unless you are not using it at all. It is the starchy liquid that makes the olive oil emulsify and cling. Plain tap water lacks that starch and won't thicken the sauce, so always reserve it from the pot.
Can I leave the cheese out?
Absolutely. This dish is traditionally made without cheese, and the version above only uses Parmesan or Pecorino for depth. Leave it out and add a little extra salt and pepper to finish.
What if my sauce is too dry or too oily?
Sauce too dry: add a few spoonfuls of reserved pasta water and toss over low heat. Too oily: toss a little longer with a splash of hot water so the oil and water combine, and serve straight away.
Can children eat this?
Yes, though the red pepper flakes can be omitted entirely. If you use a raw egg sauce such as carbonara, note that children, pregnant people, older adults and anyone with a weakened immune system should only eat versions made with pasteurized eggs.
How do I keep the pasta from sticking?
Stir it once right after it goes into the pot, use a large pot with plenty of boiling water, and don't add oil to the water — it coats the noodles and stops the sauce from clinging later.