Spaghetti Aglio e Olio Recipe (Garlic and Oil Pasta)
Classic spaghetti aglio e olio in 20 minutes — toasted garlic infused in olive oil, red pepper flakes, and the starchy pasta water that creates the silky sauce.
Cook the Pasta: Bring a large pot of water to a full rolling boil. Add a generous amount of salt — the water should taste pleasantly salty, almost like mild seawater. The salt is not just for flavor; the salt is part of what makes the pasta water starchy and flavorful enough to create the sauce.Add the spaghetti and cook as per the package instructions. Stir occasionally, especially in the first 2 minutes, to prevent sticking.
Save the Water: Before draining, scoop out at least 1 cup of the pasta cooking water using a mug or ladle and set it aside. This is the most important step in the recipe — do not skip it. Then drain the pasta.
Set Up the Garlic and Oil — Cold: Place the thinly sliced garlic and the olive oil in a large, wide pan or skillet. Both the pan and the oil should be at room temperature — not preheated. This is the cold-start method.
Toast the Garlic Slowly: Turn the heat to medium. As the oil and garlic heat up together, the garlic will begin to sizzle gently and release its aroma into the oil. Once you see the oil beginning to bubble around the garlic slices, lower the heat to medium-low.
Continue cooking, watching carefully, until the garlic is light golden brown — pale and toasted, not dark brown. This takes about 5–7 minutes on medium-low heat. The garlic should smell nutty and sweet, not sharp or acrid.Light golden = perfect. Too pale = raw, sharp garlic taste. Dark brown = bitter.
Add Chili Flakes Off the Heat: Once the garlic is light golden, turn the heat completely off. Add the red chili flakes and stir. They will sizzle briefly in the hot oil and release their heat and color without burning. If you add chili flakes to actively simmering oil, they scorch in seconds.
Add Pasta Water to Create the Sauce: With the heat still off, add ½ cup of the reserved pasta water to the garlicky oil. It will bubble and sizzle dramatically — this is correct. Stir or swirl the pan to combine the water and oil. You should see the mixture begin to look slightly emulsified and less purely oily.
Toss Everything Together: Add the drained pasta, fresh parsley, grated Parmesan, black pepper, and salt. Using tongs, toss vigorously and continuously for 1–2 minutes, lifting and folding the pasta through the sauce. The heat of the pasta and the starch from the water will continue to emulsify the sauce as you toss.
If the pasta looks dry or the sauce is not silky and glossy, add more pasta water — 2 tablespoons at a time — and continue tossing. The final dish should look glossy and lightly sauced, not oily and not dry.
Serve Immediately: Transfer to warm serving bowls. Garnish with extra grated Parmesan and a pinch more parsley.
Notes
The garlic rescue move: If you see the garlic browning too fast, take the pan completely off the heat and set it on a cold surface. The garlic will continue cooking slightly in the residual oil heat, but the rate slows dramatically. Return to low heat only when it has settled. This saves the garlic almost every time.
Add pasta water gradually. Start with ½ cup, toss, assess, and add more if needed. Different pasta brands release different amounts of starch, so the exact amount of water needed varies. The goal is glossy and silky, not watery.
Toss vigorously and continuously. The emulsification happens through agitation — tossing the pasta repeatedly is what transforms separate oil and water into a unified sauce. Don't just stir gently; toss with energy using tongs, lifting the pasta and folding it through the sauce.
Salt the pasta water properly. Under-salted pasta water produces under-salted pasta water sauce. The water should taste pleasantly salty — not overwhelmingly so, but noticeably seasoned.