The Feast

Home cooking recipes for everyday dinners and easy entertaining

Creamy Lemon Ricotta Gnocchi with Pistachio Pesto

· 5 min read · Dinners

This creamy lemon ricotta gnocchi with pistachio pesto is a bright, elegant dish that comes together in about 30 minutes. The gnocchi are pillowy and light, thanks to ricotta and a touch of lemon zest, while the pistachio pesto adds a rich, nutty contrast. The creamy lemon sauce ties everything together with a tangy, velvety finish—perfect for a weeknight dinner or a special occasion.

Ingredients

  • 1 cup (250 g) whole-milk ricotta, drained if watery
  • 1 large egg, lightly beaten
  • 1/2 cup (50 g) grated Parmesan cheese, plus more for serving
  • 1 teaspoon lemon zest (from about 1 lemon)
  • 1/2 teaspoon salt
  • 1/4 teaspoon black pepper
  • 3/4 cup (95 g) all-purpose flour, plus more for dusting
  • For the pistachio pesto:
  • 1/2 cup (60 g) shelled pistachios, unsalted
  • 1 cup (30 g) fresh basil leaves
  • 1 small garlic clove, roughly chopped
  • 1/4 cup (25 g) grated Parmesan cheese
  • 1/3 cup (80 ml) extra-virgin olive oil
  • 1 tablespoon lemon juice
  • Salt to taste
  • For the creamy lemon sauce:
  • 2 tablespoons unsalted butter
  • 1 shallot, finely chopped (about 2 tablespoons)
  • 1 cup (240 ml) heavy cream
  • 1 teaspoon lemon zest
  • 2 tablespoons lemon juice (from about 1 lemon)
  • 1/4 cup (25 g) grated Parmesan cheese
  • Salt and black pepper to taste
  • 1/4 cup (60 ml) pasta water (reserved from cooking gnocchi)

Instructions

  1. Make the pesto: In a food processor, combine pistachios, basil, garlic, Parmesan, and lemon juice. Pulse until finely chopped. With the motor running, drizzle in the olive oil until a smooth paste forms. Season with salt to taste. Set aside.
  2. Make the gnocchi dough: In a large bowl, mix ricotta, egg, Parmesan, lemon zest, salt, and pepper until well combined. Add the flour and stir with a fork until a soft dough forms. Do not overmix—it should be slightly sticky but hold together.
  3. Shape the gnocchi: On a lightly floured surface, gently roll the dough into ropes about 3/4 inch thick. Cut into 1-inch pieces. You can leave them as pillows or roll each over the tines of a fork for ridges. Place shaped gnocchi on a floured baking sheet.
  4. Cook the gnocchi: Bring a large pot of salted water to a boil. Drop gnocchi in batches of about 10–12 (do not overcrowd). Cook until they float to the surface, about 2–3 minutes. Remove with a slotted spoon and set aside. Reserve 1/4 cup of the pasta water.
  5. Make the creamy lemon sauce: In a large skillet over medium heat, melt the butter. Add the shallot and cook until soft, about 2 minutes. Pour in the heavy cream, add lemon zest and juice, and bring to a gentle simmer. Cook for 2–3 minutes until slightly thickened. Stir in the Parmesan until melted. Season with salt and pepper.
  6. Combine: Add the cooked gnocchi to the sauce, along with 2 tablespoons of the pesto and a splash of pasta water. Gently toss to coat. If the sauce is too thick, add more pasta water, a tablespoon at a time, until it reaches a silky consistency.
  7. Serve: Divide among plates. Top with a dollop of remaining pesto, extra Parmesan, and a sprinkle of lemon zest if desired. Serve immediately.

Tips

  • Drain the ricotta: If your ricotta is watery, place it in a fine-mesh strainer over a bowl for 30 minutes before using. Excess moisture makes the dough sticky and difficult to shape.
  • Don't overwork the dough: Mix until just combined. Overmixing develops gluten, making gnocchi tough and dense.
  • Use a light touch: When rolling and cutting, use minimal flour. Too much flour makes gnocchi heavy.
  • Substitute the pesto: If you don't have pistachios, use walnuts or almonds. For a dairy-free version, omit the Parmesan in the pesto and use nutritional yeast.

Serving Suggestions

Serve this gnocchi as a main course with a crisp green salad and a glass of dry white wine like Pinot Grigio or Sauvignon Blanc. It also pairs well with grilled chicken or shrimp for extra protein. For a lighter meal, serve smaller portions as a starter.

Variations

  • Add vegetables: Sauté asparagus, peas, or spinach and fold into the sauce before adding gnocchi.
  • Swap the pesto: Use traditional basil pesto or arugula pesto instead of pistachio.
  • Make it spicy: Add a pinch of red pepper flakes to the sauce for heat.
  • Gluten-free option: Substitute the all-purpose flour with a 1:1 gluten-free flour blend. The texture may be slightly softer, so handle gently.

Storage and Reheating

Store leftover gnocchi and sauce in an airtight container in the refrigerator for up to 3 days. To reheat, place in a skillet over low heat with a splash of milk or water, stirring gently until warmed through. Avoid microwaving as it can make the gnocchi rubbery. You can also freeze cooked gnocchi (without sauce) for up to 1 month—spread on a baking sheet, freeze solid, then transfer to a zip-top bag. Reheat from frozen by boiling for 1–2 minutes.

Frequently Asked Questions

Why are my gnocchi falling apart?

This usually happens when the dough is too wet. Make sure to drain the ricotta well, and if the dough feels too sticky, add a little more flour—but only a tablespoon at a time. Also, handle the gnocchi gently and don't over-boil them; they should be removed as soon as they float.

Can I use part-skim ricotta?

Yes, but whole-milk ricotta gives a richer, creamier texture. If using part-skim, you may need to add a bit more flour to compensate for the lower fat content.

Can I make the gnocchi ahead of time?

Yes, you can shape the gnocchi and refrigerate them on a floured baking sheet for up to 24 hours. Cover loosely with plastic wrap. They can also be frozen as described above.

Can I use store-bought pesto?

Absolutely. If using store-bought pesto, choose a high-quality brand and add an extra tablespoon of lemon juice to brighten it up.

How do I know when the gnocchi are cooked?

They are done when they float to the surface of the boiling water. This usually takes 2–3 minutes. Do not leave them in longer or they will become mushy.

Can I make this dairy-free?

Yes, use a dairy-free ricotta alternative and substitute the heavy cream with full-fat coconut milk. Use vegan butter and omit the Parmesan in the sauce and pesto, or use a vegan Parmesan substitute.

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