Skip to main content

Basic Garlic Pasta Recipe: Aglio e Olio Done Right

| ~7 min read | Spaghetti

Sections
  1. Ingredients
  2. Instructions
  3. Tips
  4. Serving Suggestions
  5. Variations
  6. Storage and Reheating
  7. Frequently Asked Questions

Garlic pasta — aglio e olio in its simplest form — is spaghetti tossed in olive oil warmed with thinly sliced garlic, a little chili, and a handful of parsley. It works because the sauce is built in the pan while the pasta boils, so the starchy cooking water and the hot pasta finish the emulsion instead of a separate sauce. With four pantry ingredients and about 20 minutes, it is one of the fastest complete pasta dishes you can make, and the technique behind it — gentle garlic, reserved pasta water, off-heat tossing — is the same one used in dozens of other pasta sauces.

Ingredients

  • 350 g (12 oz) spaghetti or linguine (about 3/4 of a standard 454 g/1 lb box)
  • 1/3 cup (80 ml) extra-virgin olive oil
  • 4–5 garlic cloves (about 15–18 g), peeled and sliced very thin
  • 1/2 teaspoon red pepper flakes, or to taste
  • 1/2 teaspoon fine sea salt, plus 1 to 1 1/2 tablespoons for the pasta water
  • 1/4 cup (15 g) flat-leaf parsley, chopped
  • 1/4 cup (25 g) grated Parmesan or Pecorino Romano, optional
  • Freshly ground black pepper, to taste

Instructions

  1. Start the water. Fill a large pot (5–6 quarts/5–6 L) with water and bring it to a rolling boil over high heat. A wide pot matters here: the pasta needs room to move so it does not stick.
  2. Prep the garlic. While the water heats, peel the cloves and slice them crosswise into thin coins, roughly 2 mm thick. Slicing rather than mincing is deliberate — slices brown evenly and do not burn as quickly as tiny bits. Keep the parsley chopped and the pepper flakes measured out so you can add them quickly later.
  3. Salt the water. Once boiling, add 1 to 1 1/2 tablespoons of salt. The water should taste seasoned like a light broth, not like seawater. Add the pasta and stir immediately for the first 30 seconds to separate the strands.
  4. Warm the oil and garlic. Set a 12-inch (30 cm) skillet over medium-low heat and add the olive oil and sliced garlic. Cook gently for 3–5 minutes, stirring often, until the garlic turns pale gold at the edges and smells sweet. Do not let it brown — browned garlic turns bitter within seconds. If it starts to color too fast, pull the pan off the heat for a moment.
  5. Add the pepper flakes. Stir them into the oil for about 20 seconds to bloom their flavor, then turn off the heat. Leaving the garlic in the warm oil while the pasta finishes is fine; it will keep cooking gently.
  6. Reserve pasta water. About 2 minutes before the pasta is done, dip a heatproof measuring cup into the pot and save 1 cup (240 ml) of the starchy cooking water. Set it aside — you will almost certainly use some of it.
  7. Cook to al dente. Check the package time and start tasting 1 minute before it. Standard dried spaghetti is usually al dente at 8–10 minutes. It should be tender with a slight firmness at the center, not crunchy.
  8. Toss off the heat. Drain the pasta (do not rinse it) and tip it straight into the skillet with the garlic oil. Add 1/4 cup of the reserved pasta water and toss vigorously over low heat for 30–60 seconds until the liquid looks slightly creamy and clings to the strands. Add more water a splash at a time if it looks dry.
  9. Finish and serve. Off the heat, stir in the parsley, half the cheese if using, and black pepper. Taste and add salt only if needed — the pasta water and cheese are already salty. Serve immediately in warm bowls with the remaining cheese on the side.

Tips

  • Control the garlic heat. Medium-low is the correct setting. If the slices are sizzling hard enough to jump, the pan is too hot. Burnt garlic cannot be rescued — if it happens, wipe the pan and start the oil again rather than picking out the dark bits.
  • The pasta water is not optional. The starch in the water is what turns oil and pasta into a coating sauce instead of a puddle at the bottom of the bowl. Never pour it all down the drain before you have set some aside.
  • Do not rinse the pasta. Rinsing washes off the surface starch you need for the sauce to grip. The only exception is if you are making a cold pasta salad.
  • Scale the sauce to the pasta. If you cook a full 454 g (1 lb) box instead of 350 g, increase the oil to 1/2 cup and use 6 garlic cloves, or the dish will taste dry.

Serving Suggestions

Garlic pasta is a complete meal on its own with a green salad and crusty bread, but it also works as a side for roast chicken, grilled fish, or a simple pan-seared sausage. A squeeze of lemon at the table cuts the richness of the oil. Keep portions modest — this is an oil-based sauce, so it is richer than it looks. If you are serving it as a first course, plan on about 75–90 g (2.5–3 oz) of dry pasta per person; as a main, 100–115 g (3.5–4 oz).

Variations

  • With anchovy: Add 2 chopped anchovy fillets to the oil with the garlic; they melt into the sauce and add depth without tasting fishy.
  • With cherry tomatoes: Halve 200 g (7 oz) of cherry tomatoes and add them to the pan after the garlic turns gold; cook 3–4 minutes until they slump, then toss with the pasta.
  • With breadcrumbs: Toast 1/3 cup (40 g) of coarse dry breadcrumbs in a little olive oil until golden and scatter over the finished dish for crunch.
  • Lemon and chili: Add the zest of one lemon with the parsley and increase the pepper flakes slightly for a brighter, sharper version.

Storage and Reheating

Cool leftovers within 2 hours (1 hour if the room is above 90°F/32°C) and refrigerate in a sealed container at 40°F (4°C) or below. Garlic pasta keeps 3–4 days in the fridge. Reheat in a skillet over medium-low heat with a splash of water, tossing until hot throughout — aim for 165°F (74°C) if you are checking with a thermometer. The microwave works but tends to make the pasta unevenly hot, so stir halfway. Freezing is not recommended: the pasta turns mushy and the garlic flavor fades. Do not leave garlic-and-oil pasta sitting at room temperature for long periods; oil-based dishes are not shelf-stable.

Frequently Asked Questions

Can I use minced garlic instead of sliced?

Yes, but mince it coarsely and lower the heat further. Minced garlic has more exposed surface, so it browns and burns faster. Add it to the oil for only 1–2 minutes over low heat, and pull the pan off the heat the moment it smells sweet.

Why did my garlic pasta turn out oily instead of creamy?

Almost always because not enough pasta water was added, or the pasta was not tossed in the pan. The starch in the water emulsifies the oil. Add 1/4 cup of the reserved water and toss hard over low heat for a minute; the sauce will come together.

Is it safe to make garlic pasta ahead of time?

You can slice the garlic and chop the parsley up to a day ahead and refrigerate them separately, but do not leave garlic sitting in oil at room temperature — that is a food safety risk. Cook the dish fresh and refrigerate leftovers within 2 hours.

Can I add cheese to garlic pasta?

Yes. Parmesan or Pecorino Romano is traditional in some regions and adds salt and body. Add it off the heat so it does not clump, and taste before adding any extra salt.

How much pasta should I cook per person?

For a main course, 100–115 g (3.5–4 oz) of dry pasta per person; for a first course, 75–90 g (2.5–3 oz). The recipe above serves 3 as a main or 4 as a starter.

Can I make this gluten-free?

Yes. Use a gluten-free spaghetti and follow its package time closely, since gluten-free pasta goes from al dente to mushy quickly. Reserve the pasta water as usual — gluten-free pasta releases plenty of starch, which helps the sauce bind.

Similar articles