Transform store-bought or fresh potato gnocchi into an elegant Italian dish with vibrant homemade basil pesto. The aromatic sauce combines fresh basil leaves, roasted garlic, toasted pine nuts, and aged Parmesan, creating a rich, herbaceous coating that clings perfectly to tender potato dumplings.
Ready in just 25 minutes, this vegetarian main comes together with minimal effort. Simply blend the pesto ingredients until smooth, boil the gnocchi until they float, and toss together for a silky, restaurant-worthy result. Reserve some pasta water to achieve the perfect velvety consistency.
The first time I made fresh pesto, I couldn't believe something so simple could taste so alive. My tiny kitchen was filled with the smell of basil and garlic, and I knew I'd never go back to jarred sauce again. Now this gnocchi dish is my go-to when I need dinner ready in under 30 minutes but still want something that feels special.
Last summer my sister came over exhausted from work, and I threw this together without really thinking. She took one bite and went completely silent, then asked if I could teach her how to make it. Now she texts me every time she makes it, usually with some variation she's discovered on her own.
Ingredients
- 500 g potato gnocchi: Fresh from the refrigerated section cooks up the most tender, but shelf-stable works in a pinch
- 50 g fresh basil leaves: Look for vibrant green leaves without any dark spots or wilting
- 2 cloves garlic: Fresh garlic makes all the difference here, don't use the pre-minced stuff
- 40 g pine nuts: Toasting them briefly in a dry pan brings out their natural sweetness
- 60 g grated Parmesan: Invest in a wedge and grate it yourself for the best melting texture
- 80 ml extra-virgin olive oil: This is the backbone of the sauce, so use something you really like the taste of
- Salt and pepper: Season generously but taste as you go, the Parmesan adds saltiness too
- Juice of ½ lemon: A squeeze of bright acidity cuts through the richness and makes everything pop
- Extra Parmesan and basil: For serving, because more is always better when it comes to garnishes
Instructions
- Get your water boiling:
- Fill a large pot with water, add a generous palmful of salt, and bring it to a rolling boil while you prep everything else
- Make the pesto:
- Toss the basil, garlic, pine nuts, and Parmesan into your food processor and pulse until everything's coarsely chopped, then stream in the olive oil with the motor running until silky smooth
- Cook the gnocchi:
- Drop the gnocchi into the boiling water and wait for them to float to the surface, usually just 2 to 3 minutes
- Reserve some pasta water:
- Before draining, scoop out about a half cup of the starchy cooking water, then drain the gnocchi well
- Bring it together:
- Return the hot gnocchi to the pot, pour over that vibrant pesto, and toss gently, adding a splash of pasta water if the sauce needs help clinging to every piece
- Serve it up:
- Plate the gnocchi while it's steaming hot and finish with extra grated Parmesan, fresh basil leaves, and a few more toasted pine nuts
This recipe became a regular in my rotation after a friend came over for what was supposed to be a quick dinner. She ended up staying for three hours, just talking and picking at the last bits of pesto in the bowl. Sometimes the simplest meals create the best moments.
Making It Your Own
I've discovered that swapping half the basil for fresh spinach makes a lovely, milder version that's perfect for anyone who finds straight basil too intense. Walnuts or almonds work beautifully instead of pine nuts, especially if you're watching your grocery budget. The beauty of this dish is how forgiving it is, so feel free to play around until you find your perfect version.
Timing Is Everything
I always make the pesto first and let it sit at room temperature while the water comes to a boil. This gives the flavors time to meld together beautifully, and I've found it actually tastes better than pesto used immediately. If you're meal prepping, the pesto keeps for about a week in the fridge, just press a piece of plastic wrap directly onto the surface to prevent oxidation.
Serving Suggestions
A simple green salad with a bright vinaigrette cuts through the richness of the gnocchi perfectly. Crusty bread is practically mandatory for sopping up any extra pesto clinging to the sides of your bowl. In the summer, I love serving this with chilled white wine and letting everyone eat outside.
- A light Pinot Grigio or Sauvignon Blanc complements the basil beautifully
- Grilled zucchini or roasted asparagus makes an excellent side dish
- Keep lemon wedges at the table for anyone who wants extra brightness
There's something deeply satisfying about a dish that comes together this quickly but still feels like a proper meal. I hope this becomes one of those recipes you turn to again and again, making little adjustments until it's perfectly yours.
Recipe FAQs
- → Can I make the pesto ahead of time?
-
Absolutely. Prepare the basil pesto up to 3 days in advance and store it in an airtight container in the refrigerator. The flavors actually develop and intensify overnight. Bring to room temperature before tossing with hot gnocchi for the best consistency.
- → What can I use instead of pine nuts?
-
Walnuts, almonds, or cashews work beautifully as substitutes. Toast them lightly beforehand to enhance their nutty flavor. Each alternative brings a slightly different character—walnuts add earthiness, while cashews create an even creamier texture.
- → How do I prevent the gnocchi from sticking together?
-
Use a large pot with plenty of salted water, allowing the gnocchi space to move freely. Stir gently immediately after adding to the water. Once they float to the surface, drain quickly but reserve some starchy cooking water—this liquid gold helps bind the pesto into a glossy sauce.
- → Is this dish suitable for freezing?
-
Freeze the uncooked gnocchi and pesto separately for best results. Cooked gnocchi becomes mushy when frozen and reheated. If you have leftovers, store them in the refrigerator for up to 2 days and reheat gently with a splash of olive oil or water.
- → How can I make this vegan?
-
Replace the Parmesan with nutritional yeast, vegan Parmesan, or a combination of toasted breadcrumbs and nutritional yeast for umami depth. The pesto remains luscious and flavorful, while still delivering that signature Italian herbaceous punch.
- → What wine pairs well with pesto gnocchi?
-
A crisp Pinot Grigio, Sauvignon Blanc, or light-bodied white wine complements the basil and cuts through the rich pesto beautifully. The wine's acidity balances the creamy sauce while refreshing the palate between bites of tender gnocchi.