Creamy Pesto Gnocchi: Recipe, Storage and Tips
6 min read · by Grace Lin · Last updated: November 26, 2026
Creamy pesto gnocchi is soft potato dumplings tossed in fresh basil pesto with a small amount of cream. The gnocchi are made from mashed potato and flour, rolled into ropes, cut and shaped, then boiled until they float. The pesto is blended in a food processor with basil, Parmigiano, pine nuts and garlic, and loosened with olive oil and a spoon of cream. The method is short, but the dough needs a light hand so the gnocchi stay tender.
What Goes Into Creamy Pesto Gnocchi?
A small batch for two needs starchy potatoes, all-purpose flour, fresh basil, pine nuts, grated Parmigiano, a little garlic and cream. The ingredient list in this recipe is short, and each item does a specific job in the finished dish.
The recipe on Cooking My Dreams uses 7 oz of starchy potatoes, such as Russet, Idaho or Yukon Gold, and 1 cup of all-purpose flour for the dough. For the pesto it calls for 0.9 oz of fresh basil leaves, ½ tablespoon of pine nuts, 4 tablespoons of grated Parmigiano, ½ garlic clove and 2 tablespoons of cream. The page does not give amounts for the olive oil or the salt, so add a few tablespoons of oil until the sauce is creamy and season to taste.

Starchy potatoes give the dough its structure, which is why the recipe asks for Russet, Idaho or Yukon Gold rather than waxy salad potatoes. Flour is added in small amounts so the gnocchi hold together in the water.
How Do You Make the Gnocchi Dough?
Boil the potatoes until a fork goes in easily, then peel and mash them while they are still warm, mix in the flour, and shape the dough into ropes before cutting.
- Boil the potatoes until a fork pierces them easily. The page gives about 20 to 30 minutes, depending on size.
- Drain and peel the potatoes, then mash them with a potato ricer while still warm. A ricer keeps the texture light, and warm potato absorbs the flour more evenly.
- Add a pinch of salt and the flour, then mix until the dough is soft and no longer sticky.
- On a floured wooden board, roll the dough into long ropes that are thinner than an inch.
- Cut the ropes into pieces about ½ inch long. Roll each piece on a fork or a gnocchi board to make ridges that hold the sauce.
- Rest the shaped gnocchi on a floured towel so they do not stick together while you finish the batch.
How Do You Make the Basil Pesto?
The pesto is made in a food processor and finished with cream, which is what makes it creamy rather than oily.
Pulse the basil, Parmigiano, pine nuts, garlic and a pinch of salt until finely minced. Add a few tablespoons of olive oil and pulse until the mixture is smooth and creamy. Then stir in the 2 tablespoons of cream and set the sauce aside. Because the cheese and cream are added raw, the pesto stays bright and green. You may also find Best Gnocchi Board under 25 useful.

How Long Do the Gnocchi Take to Cook?
Gnocchi cook in boiling salted water for about one to two minutes after they float to the surface.
Bring a pot of salted water to a boil and drop the gnocchi in one at a time so they do not clump. Scoop them out with a slotted spoon once they rise. Toss them with the pesto straight away, because the sauce is best served warm and fresh. The recipe does not give an oven temperature, since this is a stovetop dish.
Storage, Freezing and Reheating
Keep the pesto and the gnocchi separate, since the sources recommend different timing for each.
| Item | Refrigerator | Freezer |
|---|---|---|
| Pesto | 2 to 3 days in an airtight container | Up to 3 months |
| Cooked gnocchi with sauce | Up to 2 days in an airtight container | Not recommended once tossed in sauce |
| Uncooked gnocchi | Not recommended, they turn sticky | Freeze on a tray, then bag; cook straight from frozen |
Uncooked gnocchi should not go in the fridge, because they become sticky. To freeze them, arrange the pieces apart on a parchment-lined plate for about one hour, then move them to a freezer bag. The recipe source says they keep up to three months and can be cooked straight from frozen without thawing. A second reference, the Wikipedia gnocchi article, describes freezing on a tray and bagging, but gives up to two months. Check the package or your own freezer routine if the two figures matter for your schedule.
The recipe gives no specific reheating method. It warns that reheated pesto can oxidize and lose flavor, and it advises adding pesto raw to warm pasta or gnocchi rather than heating it directly. The Wikipedia article notes that homemade gnocchi are usually eaten the same day they are made.
Substitutions for a Lighter or Dairy-Free Version
Most swaps in this dish change texture or flavor, so make them one at a time and taste as you go.
- Flour: potato starch for gluten-free dough, or whole wheat, spelt or buckwheat flour. Expect a different texture.
- Pine nuts: almonds, walnuts or other nuts give a similar crunch and body.
- Cream: half and half or a dash of whole milk. You can also leave it out for a sharper basil flavor, or use oat or soy cream for a dairy-free version. The recipe advises against coconut cream.
- Parmigiano: nutritional yeast gives a savory finish in a vegan version, paired with a plant-based cream.
Frequently Asked Questions
Can you make creamy pesto gnocchi ahead of time?
Yes, the pesto can be made ahead and kept in the fridge for two to three days. Uncooked gnocchi can be frozen on a tray and bagged, then cooked straight from frozen. Cook and sauce the gnocchi just before you serve them.
Why do the gnocchi need to be shaped on a board or fork?
The ridges from a fork or gnocchi board give the pasta grip for the sauce. The recipe also says to cut the ropes into pieces about half an inch long so they cook evenly.
Is there a non-dairy way to make it creamy?
Oat or soy cream can replace the dairy cream, and nutritional yeast can stand in for the cheese. The recipe warns against coconut cream because it changes the flavor of the basil.
How do you know when the gnocchi are cooked?
The recipe says to scoop them out once they float, which takes about one to two minutes in boiling salted water. Taste one to check the texture before you drain the rest.
Creamy pesto gnocchi is a simple dish once the dough is right. Keep the potatoes warm when you mash them, use only as much flour as the dough needs, and add the pesto raw at the end. Store the sauce and gnocchi separately, and follow the timing above so each part stays at its best.
6 min readLearnSpinach Pesto: Easy Recipe, Storage and UsesUpdated Nov 27, 2026
6 min readLearnCavolo Nero Pesto: Recipe, Nut Swaps and StorageUpdated Nov 19, 2026
6 min readLearnArugula Pesto: Easy Recipe, Variations and StorageUpdated Nov 27, 2026
8 min readLearnPotato Gnocchi Recipe: Ingredients, Steps and TipsUpdated Nov 26, 2026
6 min readLearnCreamy Spinach Cheese Ravioli Recipe: Filling, Sauce and StorageUpdated Nov 27, 2026
6 min readLearnPasta e Fagioli: Recipe, Beans and Storage TipsUpdated Nov 27, 2026