This Italian classic combines tender potato gnocchi with a vibrant homemade basil pesto. The fresh basil, garlic, pine nuts, and Parmesan create a creamy, aromatic sauce that perfectly coats each piece of gnocchi. Ready in just 25 minutes, this vegetarian main dish offers restaurant-quality results with minimal effort.
Last summer, my neighbor brought over an armful of fresh basil from her garden and insisted I put it to good use. I made way too much pesto, naturally, and ended up having potato gnocchi in the pantry from a forgotten shopping trip. That accidental dinner turned into something my husband still requests weekly. Sometimes the best meals happen when you just work with what is in front of you.
I made this for my book club last fall when everyone was feeling run-down and needed something comforting. There is something deeply satisfying about watching people go quiet while eating, just enjoying each bite without feeling obligated to make conversation. By the end of the night, three people had asked for the recipe, which is always the best compliment.
Ingredients
- 500 g potato gnocchi: Fresh is ideal but store-bought works perfectly fine, just do not overcook them or they will turn gummy
- 50 g fresh basil leaves: The star of the show, so pick leaves that look vibrant and avoid any that are wilted or darkening
- 2 cloves garlic: One clove makes it subtle, two gives it that proper punch
- 40 g pine nuts: Toast them first in a dry pan for three minutes and the flavor difference is remarkable
- 60 g grated Parmesan: Use a wedge you grate yourself instead of pre-grated cheese for better melting
- 80 ml extra-virgin olive oil: This binds everything together, so do not be tempted to skimp on the quality here
- Salt and black pepper: Pesto needs more salt than you think, so taste as you go
- Juice of half a lemon: Optional but highly recommended, it cuts through the rich oil and cheese beautifully
Instructions
- Get your water ready:
- Bring a large pot of generously salted water to a rolling boil while you prep the pesto
- Make the pesto base:
- Combine the basil, garlic, toasted pine nuts, and Parmesan in your food processor and pulse until everything is coarsely chopped and fragrant
- Stream in the oil:
- With the motor running, pour in the olive oil slowly until the mixture transforms into a smooth, vibrant green sauce
- Season to perfection:
- Add salt, plenty of black pepper, and the lemon juice if using, then taste and adjust anything that needs balancing
- Cook the gnocchi:
- Drop the gnocchi into the boiling water and wait for them to float to the surface, usually just two or three minutes
- Bring it all together:
- Reserve a splash of cooking water before draining, then toss the hot gnocchi directly with the pesto in a large bowl
- Finish and serve:
- Plate immediately with extra Parmesan, fresh basil leaves, and a scattering of pine nuts on top
My sister claimed she hated pesto until she tried this version, and now she makes it twice a month. It turns out she had only ever tried the jarred stuff with preservatives and an off taste. Sometimes you just have to make something from scratch to understand what it is supposed to taste like.
Making It Your Own
Walnuts or almonds work beautifully in place of pine nuts if you need a more budget-friendly option. I have used walnuts in a pinch and the slightly earthier taste actually complements the basil wonderfully. Cashews also make for a creamier pesto that coats the gnocchi differently but still tastes delicious.
Storage Wisdom
The pesto keeps beautifully in the fridge for up to a week, and I often double the recipe just to have some ready for quick meals. Press a piece of plastic wrap directly onto the surface to prevent oxidation and keep that vibrant green color. You can also freeze it in ice cube trays and thaw portions as needed.
What I Learned Along The Way
The first few times I made this, I skipped toasting the pine nuts because it felt like an unnecessary extra step. Then I finally took those three minutes to toast them properly and realized that one small change makes the entire dish taste restaurant-quality. The nuttiness becomes more pronounced and the texture is just slightly more satisfying.
- Start with cold water when boiling the gnocchi for more even cooking
- Wash and thoroughly dry your basil before processing to prevent watery pesto
- Stir the pesto into the gnocchi immediately while everything is hot
This is the kind of meal that makes you feel like you are eating something special, even though it comes together in under half an hour. I hope it finds its way into your regular rotation too.
Recipe Questions & Answers
- → Can I make the pesto ahead of time?
-
Yes, prepare the pesto up to 3 days in advance and store it in an airtight container in the refrigerator. The flavors often improve after resting overnight.
- → How do I know when the gnocchi is done cooking?
-
Fresh potato gnocchi typically float to the surface of the boiling water when fully cooked, usually within 2-3 minutes. Remove them promptly to prevent overcooking.
- → What can I use instead of pine nuts?
-
Walnuts, almonds, or cashews make excellent substitutes for pine nuts in the pesto. Toast them lightly beforehand for enhanced flavor and crunch.
- → Is this dish freezer-friendly?
-
The pesto freezes beautifully for up to 3 months. However, cooked gnocchi is best enjoyed fresh as it can become mushy when frozen and reheated.
- → How can I make this vegan?
-
Replace the Parmesan cheese with nutritional yeast or a plant-based Parmesan alternative. The pesto remains creamy and delicious without dairy.