Skip to main content

Pasta with Ricotta and Walnuts Recipe

| ~6 min read | Pasta Recipes

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

Pasta with ricotta and walnuts is a creamy, nutty weeknight dish that comes together in the time it takes to boil water. The ricotta is loosened with starchy pasta water and tossed with hot pasta off the heat, so it turns into a silky sauce rather than a grainy clump, while toasted walnuts add crunch and a gentle bitterness that keeps the whole bowl from tasting flat. It works because the ingredients are few and forgiving: no cream, no long simmering, just good ricotta, toasted nuts, and a little reserved cooking water to bring it together.

Ingredients

  • 350 g (12 oz) dried pasta, such as rigatoni, penne, or casarecce
  • 250 g (about 1 cup) whole-milk ricotta, at room temperature
  • 80 g (¾ cup) walnut halves, roughly chopped
  • 40 g (½ cup) finely grated Parmesan, plus more to serve
  • 2 tablespoons extra-virgin olive oil
  • 1 garlic clove, lightly crushed (optional)
  • 1 teaspoon finely grated lemon zest (optional)
  • Salt and freshly ground black pepper
  • Small handful of fresh basil or parsley, torn, to finish

Instructions

  1. Bring a large pot of water to a rolling boil. Add enough salt that the water tastes clearly seasoned, roughly 1 tablespoon per 4 litres (1 gallon).
  2. While the water heats, toast the walnuts in a dry skillet over medium heat for 4–6 minutes, shaking the pan often, until fragrant and lightly browned. Watch them closely, because walnuts go from toasted to burnt quickly. Tip them onto a plate to cool.
  3. In the same skillet, warm the olive oil over low heat with the crushed garlic, if using, for about 2 minutes until fragrant. Do not let the garlic brown. Remove and discard the garlic, then set the oil aside.
  4. In a large bowl, whisk the ricotta with the Parmesan, lemon zest if using, a good pinch of salt, and plenty of black pepper until smooth. If it looks stiff, stir in 1 tablespoon of the warm garlic oil.
  5. Add the pasta to the boiling water and cook until al dente, following the package time but starting to check 1–2 minutes before the stated time. Before draining, scoop out and reserve about 250 ml (1 cup) of the pasta water.
  6. Drain the pasta and add it immediately to the bowl with the ricotta. Toss well, adding the reserved pasta water a splash at a time, until the sauce is glossy and coats the pasta. The heat of the pasta softens the ricotta; do not return the bowl to direct heat or the ricotta may split.
  7. Fold in most of the toasted walnuts, saving a few for the top. Taste and adjust salt and pepper.
  8. Divide among warm bowls, scatter over the remaining walnuts and the torn herbs, drizzle with the garlic oil, and finish with extra Parmesan.

Tips

  • Use whole-milk ricotta. Part-skim ricotta is drier and gives a grainier sauce; if that is all you have, loosen it with a little more pasta water and a spoonful of olive oil.
  • Room-temperature ricotta blends more smoothly than cold ricotta straight from the fridge, so take it out 20–30 minutes ahead if you can.
  • Reserve more pasta water than you think you need. It is the only thing that thins the sauce, and starchy water helps it cling to the pasta.
  • Toast the walnuts. Raw walnuts taste flat and slightly bitter; a few minutes in a dry pan brings out their oils and makes the dish taste finished.

Serving Suggestions

This is a complete one-bowl meal, but it pairs well with a simple green salad dressed with lemon and olive oil, or a platter of roasted vegetables. A crisp white wine or a light red works better than anything heavy. If you want to stretch it, serve it as a side to grilled chicken or fish, or add a bowl of warm crusty bread to mop up the last of the sauce. Keep portions modest: ricotta and walnuts are rich, so 350 g of dried pasta serves about four comfortably.

Variations

Swap the walnuts for toasted pine nuts, hazelnuts, or pecans; each brings a different texture and flavour. Add a handful of baby spinach to the hot pasta before tossing so it wilts in the residual heat. A pinch of chilli flakes in the garlic oil gives it a gentle kick. For a lemon-forward version, increase the zest to a full teaspoon and add a squeeze of lemon juice at the end. If you like a stronger cheese note, replace half the Parmesan with pecorino. For a vegan version, use a firm plant-based ricotta-style cheese and nutritional yeast, and check that your pasta is egg-free; the texture will be slightly different but the method is the same.

Storage and Reheating

Cool leftovers within 2 hours (1 hour if the room is above 90°F/32°C) and refrigerate in a covered container at 40°F (4°C) or below. The dish keeps for 3–4 days in the fridge. It does not freeze well, because the ricotta turns watery and grainy on thawing; if you must freeze it, freeze the pasta and walnut mixture without the herbs and expect a softer texture. To reheat, add a splash of water or milk and warm gently in a covered pan over low heat, or microwave in short bursts, stirring between each, until steaming hot. Reheat leftovers to 165°F (74°C), checked with a food thermometer, and do not reheat more than once.

Frequently Asked Questions

Why did my ricotta turn grainy?

Ricotta turns grainy when it is overheated or when cold ricotta meets hot pasta too abruptly. Toss it off the heat, add pasta water gradually, and let the residual heat of the pasta do the work. If the sauce still looks split, a tablespoon or two of warm pasta water whisked in usually brings it back together.

Can I make this with fresh homemade pasta?

Yes. Fresh pasta cooks in just 2–4 minutes, so have the ricotta mixture ready before it goes into the water. Reserve the pasta water as usual, and expect to need slightly less of it because fresh pasta releases less starch. Do not taste raw dough or raw egg mixtures; cook the pasta fully before eating.

Is this dish safe for someone who is pregnant or immunocompromised?

The ricotta is not cooked to a high temperature in this method, so anyone in a higher-risk group should use pasteurized ricotta and pasteurized Parmesan, which are widely available. Avoid raw or lightly cooked eggs in any version of the dish unless they are pasteurized.

Can I prepare it ahead of time?

You can toast the walnuts, make the garlic oil, and mix the ricotta with the Parmesan up to a day ahead and keep them covered in the fridge. Cook the pasta fresh just before serving; the finished dish is best eaten right away, though leftovers reheat acceptably.

How much pasta water should I actually add?

Start with 2–3 tablespoons and toss, then add more only if the sauce looks thick or clings in clumps. You will typically use 60–120 ml (¼–½ cup) for 350 g of pasta, but it depends on the ricotta. Add it gradually, because you cannot take it back out.

Can I leave out the Parmesan?

Yes, but the dish will taste flatter because Parmesan supplies most of the savoury depth. If you skip it, add a little extra salt and a pinch of lemon zest, and finish with a drizzle of good olive oil.

Similar articles