Spaghetti with Sun-Dried Tomato and Walnut Pesto
| ~7 min read | Pasta Sauces
Sections
Yes — spaghetti with homemade sun-dried tomato and walnut pesto is a fast, pantry-friendly dish that works as a no-cook sauce: soak or soften the dried tomatoes, pound or pulse them with toasted walnuts, garlic, Parmesan, and olive oil, then loosen the paste with a ladle of starchy pasta water and toss it with spaghetti cooked to al dente. The result is deeper, sweeter, and more savory than basil pesto, and it holds up well in colder months when fresh basil is expensive or tired.
The one thing to get right is texture. Sun-dried tomatoes are dense and leathery, walnuts turn pasty if over-processed, and the sauce will seize into a stiff paste if you skip the pasta water. Treat the pesto as a concentrate rather than a finished sauce, and it will coat every strand evenly instead of clumping at the bottom of the bowl.
What Makes This Pesto Different from Basil Pesto
Classic pesto genovese relies on fresh basil, pine nuts, garlic, salt, Parmigiano-Reggiano, and olive oil. Swapping in sun-dried tomatoes changes the balance in three ways:
- Sweetness and acidity: dried tomatoes are concentrated, so they bring a jammy sweetness and a tang that basil does not. You usually need less salt and no lemon.
- Body: walnuts are softer and more bitter-skinned than pine nuts, so they emulsify into a thicker paste. That means the sauce needs more liquid to loosen.
- Color and aroma: the pesto turns deep brick red rather than green, and the aroma is roasted and savory rather than grassy.
Because the tomatoes are already cured and salty, this pesto keeps longer in the fridge than a fresh basil version — roughly a week in a sealed jar topped with a film of olive oil, versus a few days for basil pesto, which oxidizes and darkens quickly.
Choosing the Tomatoes and Walnuts
Not all dried tomatoes behave the same. The two main types sold are oil-packed and dry-packed.
- Oil-packed: ready to use, soft, and already seasoned. Drain them but keep a spoonful of the packing oil to blend in — it carries a lot of flavor. They are saltier, so taste before adding salt.
- Dry-packed: cheaper and more intensely flavored but tough. Cover them with hot (not boiling) water or a mix of hot water and a splash of vinegar for 15–20 minutes until pliable, then drain and pat dry. Reserve the soaking liquid — it is a good substitute for some of the pasta water.
- Oven-dried or homemade: if you dry your own tomatoes, store them refrigerated in oil and use within a week; do not keep oil-covered tomatoes at room temperature, as that is a botulism risk.
For walnuts, buy halves or pieces and toast them at 350°F (175°C) for 6–8 minutes until fragrant, then cool before processing. Toasting removes some of the raw bitterness and makes the pesto taste rounder. If the walnuts taste sharp or soapy, they have gone rancid — discard them. Walnut skins are edible but slightly astringent; some cooks blanch them for a milder result, though it is optional.
How to Make the Pesto: Step by Step
This makes enough sauce for 12 oz (340 g) of dried spaghetti, serving 4.
- Toast 1 cup (100 g) walnut halves at 350°F (175°C) for 6–8 minutes. Cool completely.
- Soak 1 cup (about 100 g) dry-packed sun-dried tomatoes in hot water for 15–20 minutes; drain and pat dry. If using oil-packed, drain 1 cup and pat off excess oil.
- In a food processor, pulse 2 small garlic cloves (or 1 large) with a pinch of salt until minced. Add the walnuts and pulse to a coarse meal — stop before it turns into butter.
- Add the tomatoes, ½ cup (50 g) grated Parmesan or Pecorino, and a few grinds of black pepper. Pulse in short bursts until the mixture looks like coarse sand with visible flecks.
- With the machine running, stream in ½ cup (120 ml) extra-virgin olive oil until the paste is thick but spreadable. Add 1–2 tablespoons of the tomato soaking liquid or water if it looks dry.
- Taste and adjust: salt, pepper, a pinch of red pepper flakes, or a teaspoon of red wine vinegar if the tomatoes are very sweet.
If you are pounding by hand with a mortar and pestle, work the garlic and salt first, then the walnuts, then the tomatoes, adding oil gradually. The texture will be more rustic, with distinct pieces, which many cooks prefer.
Cooking the Spaghetti and Bringing It Together
Use a large pot with plenty of water — about 4 quarts (4 L) for 12 oz of pasta — and salt it with 1 to 1½ tablespoons of kosher or coarse salt. Bring to a rolling boil, add the spaghetti, and stir for the first 30 seconds so the strands do not stick. Cook to al dente, usually 1 minute less than the package time; check by biting a strand.
Before draining, dip a heatproof mug into the pot and save at least 1 cup (240 ml) of the cloudy cooking water. The starch in that water is what turns the pesto from a paste into a glossy sauce.
Do not drain the pasta bone-dry. Return it to the warm pot or a wide bowl, add 3–4 tablespoons of the pesto per portion, and toss with a splash of pasta water. Add water a tablespoon at a time until the sauce clings to the strands rather than sitting in pools. Serve immediately with extra Parmesan and a few chopped toasted walnuts on top.
This is a no-cook sauce, so there is no egg and no raw-meat risk — but if you add anything cooked, such as chicken or shrimp, it must reach a safe internal temperature: poultry to 165°F (74°C), shrimp and fish to 145°F (63°C), checked with a food thermometer.
Common Problems and How to Fix Them
- Sauce is stiff and clumpy: you did not add enough pasta water, or the pesto was too cold. Loosen with warm pasta water, not cold.
- Sauce is bitter: the walnuts were over-toasted or rancid, or the garlic was harsh. Use fewer garlic cloves and toast nuts only until fragrant.
- Sauce is too salty: oil-packed tomatoes and Parmesan are both salty. Skip added salt until the end, and use unsalted walnuts.
- Pesto turns grayish: oxidation from air. Press plastic wrap directly onto the surface and store in a sealed jar in the fridge.
- Pasta sticks together: not enough water or not enough stirring in the first minute.
Storage, Reheating, and Make-Ahead Notes
The pesto keeps in a sealed jar in the refrigerator for up to 1 week; cover the surface with a thin layer of olive oil to slow oxidation. It also freezes well in ice-cube trays for up to 3 months — thaw in the fridge overnight, never on the counter.
Cooked pasta leftovers should be refrigerated within 2 hours (1 hour if the room is above 90°F/32°C) at 40°F (4°C) or below. Eat within 3–4 days. Reheat in a skillet over medium heat with a splash of water, tossing until steaming hot — 165°F (74°C) for leftovers. Do not reheat more than once.
Variations and Alternatives
- Nut swaps: almonds, hazelnuts, or pecans work; almonds give a firmer paste, hazelnuts a sweeter one.
- Add greens: a handful of fresh basil or parsley blended in brightens the color and cuts the sweetness.
- Vegan version: replace Parmesan with 2 tablespoons of nutritional yeast and a pinch of salt.
- Different pasta: rigatoni, fusilli, or orecchiette hold the thick sauce better than long strands; penne works well for pasta salad.
- Add protein: grilled chicken, canned tuna, white beans, or roasted vegetables turn it into a main course.
Frequently Asked Questions
Can I use sun-dried tomatoes packed in oil without soaking them?
Yes. Drain them well and pat off excess oil so the pesto does not become greasy. They are already soft and salty, so reduce or skip added salt.
Do I have to toast the walnuts?
It is not required for safety, but toasting at 350°F (175°C) for 6–8 minutes improves flavor significantly by removing raw bitterness. Cool them before processing.
How much pesto should I use per serving of spaghetti?
About 3–4 tablespoons of pesto per 3 oz (85 g) dry spaghetti. Add pasta water gradually; the sauce should coat the strands, not pool.
Can I make this pesto without a food processor?
Yes. A mortar and pestle or a sharp knife and a cutting board both work. Chop everything finely, then mash with oil until it forms a coarse paste.
Is this dish safe for people avoiding raw eggs?
The pesto itself contains no egg, so it is safe as written. If you add a creamy element, use pasteurized eggs or skip raw egg entirely.