Easy Appetizers

Simple appetizers, snacks and home cooking answers

How to Make Pasta Garlic and Oil (Aglio e Olio)

· 7 min read · Kitchen Basics

In this article
  1. Which Version to Make: Weeknight or Company
  2. Pasta Garlic and Oil in 20 Minutes
  3. What Goes Wrong and How to Fix It
  4. Adding Lemon, Chilli or Breadcrumbs Without Wrecking the Balance
  5. Storing Garlic and Oil Pasta Safely
  6. How Much Garlic and Oil for Other Amounts

Boil the pasta in well-salted water, gently cook sliced garlic in about 1/2 cup (120 ml) of olive oil until pale gold, then toss the drained pasta with the oil, a splash of pasta water and parsley off the heat.

This is a 20-minute pantry dinner for two to four people, and the whole dish depends on two things: garlic that never browns and pasta water that pulls the oil into a light sauce. It suits a weeknight when the fridge is nearly empty, and it is also the base you build on when you want something more.

Which Version to Make: Weeknight or Company

Pick the method by how much time and how many ingredients you have. Both use the same pasta-to-oil ratio, so the choice is about add-ins, not technique.

  • Plain weeknight version: spaghetti, garlic, olive oil, salt, pepper, parsley. Ready in about 20 minutes with one pot and one pan.
  • Dressed-up version: add red pepper flakes, lemon zest, toasted breadcrumbs or grated Parmesan. Adds 3-5 minutes and one or two small bowls.
  • Feeding a crowd: use a wide skillet or a roasting pan so the pasta and oil can be tossed without spilling; a small pan crowds the garlic and it steams instead of frying.

If you have only a small saucepan, cook the garlic in it and then toss everything in the warm pasta pot after draining. The pot's residual heat is enough to bring the sauce together.

Pasta Garlic and Oil in 20 Minutes

Use 1 pound (450 g) of dried spaghetti or linguine for 3-4 servings. The oil amount is deliberately generous: 1/2 cup (120 ml) coats a pound of pasta without leaving it greasy, because some of it stays in the pan and some clings to the strands.

  1. Bring 4 quarts (about 3.8 L) of water to a rolling boil in a large pot. Add 1 tablespoon (about 18 g) of kosher salt, or 2 teaspoons of fine salt.
  2. Add 1 pound (450 g) of dried pasta and cook according to the package time minus 1 minute, so it finishes slightly firm. Stir for the first 30 seconds so the strands don't stick.
  3. While the pasta cooks, peel 6-8 garlic cloves (about 1 head) and slice them thinly, about 1/8 inch (3 mm). Keep them in slices rather than mincing, so they cook evenly and don't burn.
  4. Set a 10-12 inch (25-30 cm) skillet over medium-low heat and add 1/2 cup (120 ml) of olive oil. Add the garlic and a pinch of red pepper flakes if using.
  5. Cook the garlic for 3-5 minutes, stirring often, until it turns pale gold at the edges. The moment it darkens, pull the pan off the heat; the oil keeps cooking it.
  6. Reserve 1 cup (240 ml) of the pasta water, then drain the pasta.
  7. Add the drained pasta to the garlic pan along with 1/4 cup (60 ml) of the reserved water. Toss over low heat for 1-2 minutes, adding another splash of water if it looks dry, until the oil and water form a thin, glossy coating.
  8. Take the pan off the heat. Stir in 1/4 cup (15 g) of chopped fresh parsley, 1/2 teaspoon of salt and a few grinds of black pepper. Taste and add salt if needed.

Serve immediately in warm bowls. The dish firms up as it cools, so it does not hold well on a buffet.

What Goes Wrong and How to Fix It

Almost every failed batch comes down to heat, water or timing. Match the symptom to the cause before you start again.

SymptomCauseFix
Bitter, dark-brown garlicOil too hot or garlic left in the pan too longStart the garlic in cooler oil over medium-low heat; pull the pan off the heat as soon as the edges colour
Oily pasta with a puddle in the bowlNo pasta water added, or pasta added to the pan dryToss with 1/4 cup (60 ml) of starchy pasta water; the starch emulsifies the oil
Bland, flat flavourUnder-salted water or too little salt at the endSalt the water like you mean it, then taste and adjust after tossing
Garlic tastes raw and sharpGarlic added after the heat was off, or sliced too thickSlice thin and cook 3-5 minutes until pale gold before the pasta goes in
Dry, clumpy strandsPasta drained too long before tossingHave the garlic oil ready before you drain; toss within a minute

Four Mistakes That Ruin the Batch

Mincing the garlic. Small pieces burn in seconds and turn the whole pan bitter. Slices or lightly crushed cloves give you a wider window.

Cooking the garlic in smoking oil. If the oil shimmers and smokes before the garlic goes in, the outside of each slice scorches before the inside softens. Medium-low is the setting you want.

Skipping the pasta water. Oil alone slides off the pasta and pools at the bottom of the bowl. The starch in the cooking water is what makes the sauce cling.

Adding cheese in the pan over heat. Parmesan clumps if it hits a hot pan. Stir it in off the heat, or pass it at the table.

Adding Lemon, Chilli or Breadcrumbs Without Wrecking the Balance

Each add-in changes the dish in a predictable way, so add one at a time and taste.

  • Red pepper flakes: 1/4 to 1/2 teaspoon in the oil with the garlic. More than that and the heat covers the garlic.
  • Lemon: the zest of 1 lemon into the oil at the end, plus 1 tablespoon (15 ml) of juice off the heat. Add the juice only after the pan is off the burner, or it turns the sauce dull.
  • Breadcrumbs: 1/2 cup (50 g) of coarse crumbs toasted in 1 tablespoon (15 ml) of oil for 2-3 minutes, scattered on top at serving. They stay crisp only if they go on last.
  • Parmesan: 1/2 cup (50 g) finely grated, stirred in off the heat. It thickens the sauce, so add a little more pasta water if it tightens.
  • Vegetables: blanched broccoli, peas or cherry tomatoes can go into the pan for the last minute of tossing; cook them separately first so they don't water down the oil.

For a gluten-free version, use a gluten-free pasta and check the label, since blends vary in how much starch they release into the water. Reserve a little extra water in case the sauce needs loosening.

Storing Garlic and Oil Pasta Safely

Garlic in oil is the one part of this dish that needs care. Refrigerate any leftover pasta within 2 hours of cooking, in a covered container, and eat it within 3-4 days.

Homemade garlic oil, or any oil with raw or cooked garlic in it, must be refrigerated and used within 4 days. Never keep it at room temperature, because garlic in oil at room temperature can support the growth of botulism bacteria. If you want garlic oil on hand for later, make a small batch, label it with the date, and freeze what you won't use in 4 days in ice cube trays.

Reheat leftovers on the stove in a covered pan with a splash of water over medium heat, or in the microwave, until steaming hot throughout, 165°F (74°C). Do not reheat in a slow cooker. The pasta will be softer than fresh, so it is better as a quick lunch than a dinner to impress.

How Much Garlic and Oil for Other Amounts

Scale by pasta weight, not by servings, because appetites vary. The ratio that works is roughly 1/2 cup (120 ml) of oil and 6-8 cloves of garlic per pound (450 g) of dry pasta.

  • 8 oz (225 g) pasta, 2 servings: 1/4 cup (60 ml) oil, 3-4 cloves, 1/2 cup (120 ml) reserved water.
  • 12 oz (340 g) pasta, 2-3 servings: 6 tablespoons (90 ml) oil, 5 cloves, 3/4 cup (180 ml) reserved water.
  • 1 lb (450 g) pasta, 3-4 servings: 1/2 cup (120 ml) oil, 6-8 cloves, 1 cup (240 ml) reserved water.
  • 1 1/2 lb (680 g) pasta, 5-6 servings: 3/4 cup (180 ml) oil, 10-12 cloves, 1 1/2 cups (360 ml) reserved water, cooked in two pans or a very wide one.

Salt the water at about 1 tablespoon per 4 quarts (3.8 L) regardless of batch size, then adjust at the end. If you are unsure whether the garlic is done, pull a slice out and taste it: it should be soft and sweet, not sharp or bitter.