Spaghetti with a bright tomato sauce, briny olives, and slow-cooked garlic is a quick weeknight dinner that feels special. This version skips browning meat but builds depth with cooked-down onions, a touch of red pepper, and fresh basil stirred in at the end. It suits any night you want something fast but layered, with pantry staples and a few fresh upgrades.
Serves 4 · Prep 15 min · Cook 30 min · Total 45 min
Garlic Must Soften, Not Brown
The key to this sauce is cooking minced garlic in olive oil over low heat until it turns pale gold and loses its raw bite, about 5 minutes. If the garlic browns or burns, it turns bitter. Stir constantly, and if the pan gets too hot, reduce the heat and wait for the oil to cool before continuing. This step infuses the oil with flavor and builds a base the tomatoes will absorb.
Ingredients
- 8 oz (225 g) dried spaghetti
- 3 tbsp (45 ml) extra-virgin olive oil
- 1 medium yellow onion, finely chopped (about 1½ cups / 200 g)
- 4 cloves garlic, minced (about 1 tbsp / 15 g)
- ¼ tsp red pepper flakes
- 1 can (28 oz / 795 g) crushed tomatoes, preferably San Marzano
- 1 tsp (5 g) granulated sugar
- Salt to taste (start with ¾ tsp / 4 g)
- ½ cup (75 g) pitted Kalamata olives, halved
- ¼ cup (15 g) fresh basil, thinly sliced
- ½ cup (50 g) grated Parmesan cheese, plus more for serving
- 2 tbsp (30 ml) reserved pasta water
Instructions
- Bring a large pot of salted water to a boil. Add spaghetti and cook according to package directions until al dente, about 9–11 minutes. Reserve ½ cup (120 ml) of pasta water before draining.
- While the pasta cooks, heat olive oil in a large skillet over medium-low heat. Add onion and cook, stirring occasionally, until soft and translucent, about 5 minutes.
- Add minced garlic and red pepper flakes. Stir constantly and cook until garlic turns pale gold and fragrant, about 5 minutes. Do not let garlic brown.
- Pour in crushed tomatoes and add sugar and salt. Bring to a simmer, then reduce heat to low. Cook uncovered, stirring occasionally, for 15 minutes to thicken slightly.
- Stir in olives and cook for 2 minutes to warm through.
- Add drained spaghetti to the skillet. Toss to coat, adding 2–3 tbsp (30–45 ml) of reserved pasta water to loosen the sauce if needed.
- Remove from heat. Stir in fresh basil and grated Parmesan. Toss again and adjust salt if needed.
- Serve immediately, with extra Parmesan on the side.
Sauce Breaks or Separates
Tomato sauce can separate if cooked too fast or if the acid level shifts. To prevent this, simmer gently and avoid boiling hard. If the sauce breaks, remove from heat and whisk in 1 tbsp (15 ml) of reserved pasta water or a splash of milk. Do not stir in cold ingredients straight from the fridge; warm them slightly first. If the sauce tastes too sharp, add another ½ tsp (2.5 g) sugar or a small grated carrot during cooking.
Overcooked garlic causes bitterness. If the garlic burns, start over. A small piece of raw garlic added at the end won’t fix it. To rescue a slightly bitter sauce, stir in a pinch of baking soda (⅛ tsp / 0.5 g) to neutralize acid, but test a spoonful first — too much changes flavor.
Equipment and Substitutions
A 12-inch (30 cm) skillet or saucier pan works best for even heating and room to toss. A deep saucepan can substitute if the skillet is too small. Use a slotted spoon or tongs to move pasta; a fork makes it clump.
Substitutions:
- Onion: 1 cup (150 g) frozen diced onion, thawed — saves prep time, same texture.
- Crushed tomatoes: 1 can (28 oz / 795 g) tomato puree — thicker, so add ¼ cup (60 ml) water to match consistency.
- Olives: ½ cup (75 g) green olives or capers (¼ cup / 35 g) — capers add more salt, so reduce added salt by ¼ tsp (1.5 g).
- Basil: 1 tsp (0.5 g) dried oregano — add during simmer, not at the end.
- Parmesan: Pecorino Romano or vegetarian Parmesan alternative — similar salt level, same melting.
- Pasta water: Warm broth or water — same function for emulsifying sauce.
Sauce Lasts 4 Days, Freezes 3 Months
Cooked sauce (without pasta) keeps in an airtight container in the refrigerator for up to 4 days. Reheat gently in a saucepan over low heat, stirring in a splash of water or broth to restore texture. With pasta, store for up to 3 days; the noodles absorb sauce and soften.
To freeze, cool sauce within 2 hours and place in a freezer-safe container or resealable bag. Label with date and freeze for up to 3 months. Thaw overnight in the refrigerator before reheating. Do not refreeze thawed sauce.
Never leave cooked spaghetti at room temperature for more than 2 hours (1 hour if above 90°F / 32°C). Discard any dish left out longer.