Craving a quick, comforting, and flavorful meal that comes together in a flash? Look no further! This delightful Pesto Gnocchi with Sun-Dried Tomatoes and Spinach is designed to transform your weeknight dinners. Ready in just 15 minutes, it’s a vibrant dish boasting tender gnocchi, rich pesto, savory sun-dried tomatoes, crisp spinach, and a sprinkle of Parmesan and pine nuts. It truly deserves a permanent spot on your dinner rotation.
Leveraging the convenience of store-bought potato gnocchi and jarred sun-dried tomatoes makes this recipe incredibly accessible. While whipping up your own batch of fresh basil pesto can elevate the flavors, a good quality store-bought jar works equally well, saving you precious time without compromising on taste.
For more effortless gnocchi inspirations, don’t miss our Sheet Pan Gnocchi with Cherry Tomatoes – another fantastic quick-prep meal!

Table of Contents
- Why You’ll Adore This Recipe
- Understanding Gnocchi: More Than Just Pasta
- Essential Ingredients for Pesto Gnocchi
- Creative Optional Additions
- Step-by-Step: Crafting Your Pesto Gnocchi
- Perfect Pairings: What to Serve with Gnocchi
- Storing and Reheating Leftovers
- Expert Recipe Tips for Success
- Frequently Asked Questions About Gnocchi
- Explore More Gnocchi Recipes
- More Delightful Sun-Dried Tomato Dishes
- Pesto Gnocchi with Sun Dried Tomatoes and Spinach Recipe Card
Why You’ll Adore This Pesto Gnocchi Recipe
This isn’t just another dinner recipe; it’s a testament to how simple ingredients can create something truly special. Here’s why this pesto gnocchi will quickly become a household favorite:
A True Pantry Powerhouse: We all cherish recipes that don’t demand a last-minute dash to the grocery store. This dish shines by relying on readily available pantry staples. I make it a point to always keep a package of shelf-stable gnocchi on hand, alongside a jar of sun-dried tomatoes and basil pesto. While I personally love having homemade basil pesto stashed in my freezer, a high-quality store-bought jar is a fantastic time-saver and delivers excellent results, especially when simmered into a sauce.
Silky Smooth Sauce Without Heavy Cream: Achieve a beautifully creamy sauce without the richness (or calories) of heavy cream. The secret lies in stirring in some of the starchy cooking water from the gnocchi. As the gnocchi simmers, it releases starch into the water, which then works its magic to naturally thicken the pesto, ensuring it perfectly coats each pillowy dumpling. A squeeze of fresh lemon juice adds a crucial bright and zesty counterpoint, cutting through the richness and elevating the overall flavor profile. This makes for a lighter, yet incredibly satisfying, take on comfort food.
Effortless Nutrition Boost with Fresh Greens: Incorporating vegetables into your meals should be simple and seamless. After stirring the cooked gnocchi into the vibrant pesto, a generous handful of fresh spinach is folded in. The residual heat from the gnocchi and sauce quickly wilts the spinach leaves to tender perfection in mere moments. This technique is a brilliant hack for almost any pasta or gnocchi dish, allowing you to boost nutrition and add a pop of color with minimal effort, as the greens meld harmoniously with the other ingredients.
Perfect for Any Season, Any Time: While I’m a staunch advocate for seasonal eating, some dishes transcend the calendar. Thanks to the convenience of jarred pesto and sun-dried tomatoes, this pesto gnocchi is a versatile and comforting dish year-round. It’s an ideal pick-me-up during chilly winter evenings, offering warmth and flavor, and equally delightful as a lighter, yet satisfying, meal during the warmer summer months when you want something quick and delicious without fuss.
Understanding Gnocchi: More Than Just Pasta
Often found nestled among the pasta varieties on grocery store shelves, gnocchi are distinctive Italian dumplings that stand apart from traditional pasta. Typically crafted from a simple blend of cooked potatoes, flour, egg yolks, a touch of Parmesan cheese, salt, and pepper, they boast a wonderfully soft, pillowy texture when cooked correctly. While technically not a pasta, their versatility means they pair beautifully with many of the same sauces you’d enjoy with your favorite noodles, from rich tomato sauces to savory brown butter and, of course, vibrant pesto.
For those who love a culinary project, crafting your own homemade gnocchi from scratch is a rewarding experience, and I wholeheartedly encourage you to give it a try when you have the time. The fresh taste and unique texture are truly worth the effort. However, there’s absolutely no need to hesitate when it comes to packaged gnocchi. It is one of those incredibly convenient supermarket treasures that makes it effortlessly easy to whip up a fantastic, gourmet-quality dinner in minutes, proving that delicious meals don’t always require hours in the kitchen.
Essential Ingredients for Your Pesto Gnocchi
Creating this flavorful pesto gnocchi requires just a few key ingredients. Here’s what you’ll need, along with tips for selection and potential substitutions to customize your dish:

- Gnocchi: This recipe calls for a 1-pound package of shelf-stable potato gnocchi. These are readily available in most grocery stores, typically found near dry pasta. Look for brands that promise a light and tender texture. For dietary preferences, feel free to substitute with cauliflower gnocchi or another gluten-free version. The cooking method remains the same, ensuring convenience and versatility.
- Pesto: The heart of our sauce! You have the flexibility to use either homemade pesto for a fresher, more intense flavor, or a good quality store-bought jar for maximum convenience. Don’t worry too much about the nuances of fresh vs. jarred here; as the pesto simmers, its flavor profile develops a slightly “cooked” character, so both options yield delicious results. Choose a basil pesto for classic flavor, or experiment with other varieties like arugula or spinach pesto.
- Sun-Dried Tomatoes: These concentrated bursts of umami and sweetness are crucial for depth of flavor. Opt for sun-dried tomatoes that come packed in oil, as they are plump, soft, and ready to use. Simply use a fork to extract them from the jar and give them a rough chop. You don’t need the oil from the jar for this recipe, though it can be saved for other culinary uses or to enhance the pesto flavor if desired. Avoid the dry, rehydratable kind to save time.
- Spinach: Fresh baby spinach is my go-to for its tender texture and quick-wilting properties. It adds a welcome touch of freshness, color, and nutrition. If baby spinach isn’t available, baby arugula offers a slightly peppery note that’s equally delicious. For those who prefer a more robust texture and a less wilted green, heartier chopped kale is an excellent choice, though it may require an extra minute or two to soften.
- Pine Nuts: These small, buttery nuts provide a delightful nutty crunch that complements the gnocchi perfectly. While they can be a bit pricey, a little goes a long way. For a more budget-friendly alternative, chopped walnuts or almonds work wonderfully and offer similar textural contrast. Regardless of your choice, remember that nuts truly shine when toasted. You can achieve this by spreading them on a baking sheet and toasting in a 350-degree F (175°C) oven for about 5 minutes, or in a dry skillet over medium-low heat. Keep a close eye on them, as they can burn quickly!
- Parmesan Cheese: Freshly grated Parmesan cheese adds a salty, savory depth and a touch of richness to the sauce. I stir it directly into the gnocchi and sauce at the end. For a more pungent and assertive flavor, Pecorino Romano cheese is a fantastic substitute. Always aim for freshly grated cheese for the best flavor and melt.
- Lemon: A squeeze of fresh lemon juice is non-negotiable for this recipe. It brightens the entire dish, cutting through the richness of the pesto and sun-dried tomatoes with its essential citrusy acidity. It transforms the pesto into a “lemon pesto” sauce, adding a gourmet touch.
- Red Pepper Flakes, Salt & Black Pepper: These are the only seasonings you’ll need to round out the flavors. The red pepper flakes introduce a subtle, pleasant warmth, which you can adjust to your spice preference. Remember that pesto itself often contains garlic, so additional fresh garlic isn’t usually necessary, allowing the pesto’s inherent flavors to shine. Taste and adjust salt and pepper as needed, considering the saltiness of the pesto and Parmesan.
Creative Optional Additions to Your Gnocchi
While this pesto gnocchi is fantastic as is, it’s also a wonderful canvas for culinary creativity. Here are a few ideas to expand the dish’s flavor and nutritional profile:
- Roasted Vegetables: To boost the vegetable content and add another layer of flavor, consider tossing in some roasted vegetables. Roasted broccoli, cauliflower florets, or even cubes of butternut squash (especially in the autumn) are excellent choices. Roast them separately until tender and slightly caramelized, then stir them into the gnocchi along with the spinach.
- Fresh Herbs: Pesto is an herb-based sauce that welcomes additional fresh herbs. If you have fresh basil leaves, chopped parsley, or snipped chives on hand, they make a beautiful and aromatic garnish. Stir them in just before serving, along with the Parmesan cheese, for a burst of vibrant flavor and color.
- Protein Boost: For a more substantial meal, consider adding a protein. Cooked chicken (shredded or diced), sautéed shrimp, Italian sausage, or even white beans can be easily folded into the gnocchi during the final steps.
- Cherry Tomatoes: Halved fresh cherry tomatoes, added at the same time as the spinach, can bring a burst of juicy freshness and a different kind of sweet acidity to the dish.
How To Make This Pesto Gnocchi Recipe: A Step-by-Step Guide
This recipe is incredibly straightforward, making it perfect for even the busiest evenings. Follow these simple steps for a truly delicious meal:
1. Cook the Gnocchi to Pillowy Perfection. Begin by bringing a large pot of generously salted water to a rolling boil. Once boiling, gently add the gnocchi and simmer according to the package instructions. Gnocchi cooks very quickly; typically, they are ready when they float to the surface of the water, becoming delightfully pillowy and tender. Using a slotted spoon or a spider, carefully scoop the cooked gnocchi out of the pot. Before discarding the water, remember to reserve about 1/2 cup of this starchy cooking liquid – it’s crucial for our sauce!
2. Simmer the Pesto into a Rich Sauce. While the gnocchi is cooking, place a large skillet on another burner and warm your pesto over medium-low heat. Stir in the reserved gnocchi cooking water and the fresh lemon juice. Allow the sauce to come to a very gentle bubble, simmering for just 2-3 minutes. This brief simmer allows the starch from the cooking water to work its magic, thickening the pesto slightly and transforming it into a luxurious, clingy sauce. If you’re using fresh pesto, you’ll notice its bright green color may deepen slightly as it warms and melds.

3. Combine Gnocchi and Pesto. Once the gnocchi is cooked and the sauce has thickened, carefully transfer the cooked gnocchi directly into the skillet with the pesto. Stir gently but thoroughly, ensuring every tender gnocchi dumpling is beautifully coated in the rich, fragrant sauce. You should still see a good amount of luscious sauce pooling in the skillet.
4. Fold in Sun-Dried Tomatoes and Spinach. Add the chopped sun-dried tomatoes and fresh baby spinach to the skillet. Gently fold them into the gnocchi and sauce. It might look like a lot of spinach at first, but don’t worry – the heat from the gnocchi and sauce will quickly cause the spinach to wilt down, becoming tender and fully integrated into the dish in just 1-2 minutes.

5. Finish with Flavor and Serve. Finally, stir in the toasted pine nuts (or your chosen alternative), grated Parmesan cheese, red pepper flakes, salt, and black pepper. Give everything a final gentle toss to combine. Taste and adjust seasonings as needed, adding more salt, pepper, or lemon juice to your preference. Serve immediately, garnishing with extra grated Parmesan if desired.

Perfect Pairings: What to Serve with Your Pesto Gnocchi
This versatile pesto gnocchi can effortlessly transition from a light main course to a delightful side dish. Here are some suggestions to complete your meal:
Simple Salads: To complement the richness of the pesto and gnocchi, a fresh, crisp salad is an ideal accompaniment. Options like an Arugula Salad with Lemon Vinaigrette, a Classic House Salad, or a more robust Italian Chopped Salad offer a refreshing contrast and a good dose of greens.
Crusty Bread: Don’t let any of that delicious pesto sauce go to waste! A piece of warm, crusty bread – think a rustic baguette, focaccia, or ciabatta – is perfect for soaking up every last bit of the flavorful sauce. It adds a satisfying textural element and ensures no flavor is left behind.
Protein Companions: If you’re looking to elevate this dish into a more substantial meal, consider serving it alongside your favorite protein. It pairs beautifully with grilled or roasted chicken, pan-seared shrimp, baked salmon, or even Italian sausage. Since the gnocchi comes together so quickly, it won’t demand too much of your cooking attention, making it an excellent and fuss-free side for any main protein.
Wine Pairing: For those who enjoy wine, a crisp, dry white wine like Sauvignon Blanc, Pinot Grigio, or a light Chardonnay would beautifully complement the vibrant pesto and lemon notes.
Storing and Reheating Your Pesto Gnocchi Leftovers
This pesto gnocchi tastes wonderful freshly made, but it also holds up well as leftovers, making it perfect for meal prep. Follow these tips for storage and reheating:
Storage: Allow any leftover gnocchi to cool completely to room temperature. Then, transfer it to an airtight container and store it in the refrigerator for up to 3 days. Beyond this time, the texture of the gnocchi might start to degrade.
Reheating in the Microwave: For a quick reheat, place the gnocchi in a microwave-safe dish. Add a tablespoon or two of water or vegetable broth to help keep the sauce from drying out. Cover and microwave on medium power, stirring occasionally, until heated through. Be careful not to overheat, as gnocchi can become tough.
Reheating on the Stove: For best results, gently warm the leftovers in a skillet over medium-low heat on the stove. You’ll likely need to add a splash of water, vegetable broth, or even a drizzle of extra virgin olive oil to rehydrate and thin out the sauce, which tends to thicken in the fridge. Stir frequently until the gnocchi is warm throughout. Once heated, I highly recommend stirring in a fresh handful of baby spinach or a few fresh basil leaves to revive the dish and add back some vibrant freshness. A final drizzle of high-quality extra virgin olive oil before serving can also work wonders.
Freezing: While gnocchi itself freezes well before cooking, cooked gnocchi, especially in a sauced dish, generally doesn’t freeze or thaw with the best texture. The gnocchi can become gummy or mushy. It’s best to enjoy this dish within the refrigerated timeframe.
Expert Recipe Tips for Pesto Gnocchi Success
Achieving a perfect pesto gnocchi dish is easy with these insider tips:
Timing is Absolutely Everything: This recipe moves incredibly fast, so a little pre-planning (mise en place) goes a long way. The ideal scenario is to have your pot of salted water for the gnocchi already boiling before you even begin preparing the sauce. Then, you can place your skillet for the pesto on an adjacent burner. By starting the gnocchi and sauce preparations simultaneously, side-by-side, you can efficiently scoop the perfectly cooked gnocchi directly into the warm pesto sauce, ensuring everything comes together seamlessly and hot.
Beware of Overcooking the Gnocchi: Gnocchi can go from perfectly tender to dense and gummy in a flash. Always adhere to the recommended cook time on the package, which is usually only a few minutes. The most reliable indicator that gnocchi is ready is when it bobs up to the surface of the boiling water. Once they float, they are typically cooked through – you want them to be beautifully pillowy and light, not chewy or hard.
Gentle Heat for the Sauce: When warming the pesto sauce, maintain a very low simmer. You should see only minimal, gentle bubbles. Remember, the gnocchi will be hot when you add it to the warm sauce, so there’s no need to crank the heat to high. High heat can cause the pesto to “break” or become oily, and can also scorch the delicate flavors. A gentle heat ensures a smooth, emulsified sauce that perfectly coats the gnocchi.
Taste and Adjust: Always taste your sauce before adding the gnocchi and again before serving. Pesto and Parmesan can vary in saltiness, and your personal preference for lemon or spice might differ. Don’t be shy about adding a little more salt, pepper, or another squeeze of lemon juice to achieve your perfect flavor balance.
Frequently Asked Questions About Gnocchi
The most reliable sign that gnocchi is cooked through is when the dumplings float to the top of the boiling water in the pot. Once they rise, give them about 30 seconds to a minute more, then gently remove them. They should feel light and pillowy to the touch, not dense or firm.
Absolutely! To adapt this recipe for a vegan diet, simply ensure you use a pesto that is free of cheese (many brands offer vegan options, or you can make your own with nutritional yeast instead of Parmesan). Then, omit the Parmesan cheese from the recipe. To add a cheesy, umami flavor, you can sprinkle the final dish with a generous amount of nutritional yeast, which provides a savory depth.
Gnocchi’s tender, pillowy texture makes it incredibly versatile and suitable for a wide range of sauces. Classic pairings include rich tomato-based sauces (like marinara or arrabbiata), vibrant pesto (as in this recipe), and luxurious brown butter sauces often with sage. Cream sauces, mushroom sauces, and even simple garlic and olive oil preparations also complement gnocchi beautifully. The key is to choose a sauce that coats the dumplings well without being too heavy or overwhelming their delicate flavor.
While the gnocchi itself is best cooked fresh, you can prepare elements of this dish in advance. Chop your sun-dried tomatoes and have your spinach ready. If using homemade pesto, it can be made days ahead. As for the assembled dish, it’s truly best served immediately for optimal texture, but leftovers can be stored and reheated as detailed in the “Leftovers & Storage” section.
Explore More Delicious Gnocchi Recipes
If you’ve fallen in love with gnocchi, here are more inspiring recipes to try:
Roasted Gnocchi and Vegetables
Baked Gnocchi with Tomatoes and Mushrooms
Sheet Pan Asparagus Mushroom Gnocchi
Roasted Butternut Squash Gnocchi
Sweet Potato Gnocchi
Gnocchi with Tomatoes and Corn
More Delightful Sun-Dried Tomato Dishes
Can’t get enough of sun-dried tomatoes? Here are more recipes highlighting their savory-sweet flavor:
Lemony White Bean Orecchiette
Creamy Sun-Dried Tomato Pasta
Sun-Dried Tomato Penne
Easy Sun-Dried Tomato Pesto
Roasted Cauliflower Salad with Sun-Dried Tomatoes
Don’t forget to check out our full collection of simple seasonal pasta recipes for more delicious and easy meal ideas, complete with favorite ingredients and helpful tips.
Pesto Gnocchi with Sun-Dried Tomatoes and Spinach
Paige Adams
Print Recipe
5 mins
10 mins
15 mins
4 servings
Ingredients
- 1 pound shelf-stable potato gnocchi
- 3/4 cup basil pesto (store-bought or homemade)
- Juice of 1 fresh lemon
- 1/2 cup chopped sun-dried tomatoes, oil drained
- 2 cups baby spinach
- 1/4 cup toasted pine nuts (or chopped walnuts/almonds)
- 1/4 cup grated Parmesan cheese, plus more for serving
- 1/4 teaspoon red pepper flakes (optional, for a hint of heat)
- 1/4 teaspoon kosher salt (or to taste)
- 1/4 teaspoon black pepper (freshly ground preferred)
Instructions
- Bring a large pot of salted water to a boil. Cook the gnocchi according to package instructions (typically 2-3 minutes). Gnocchi will float to the surface when ready. Reserve 1/2 cup of the starchy gnocchi cooking water, then drain the gnocchi.
- While gnocchi cooks, warm the pesto over medium heat in a large skillet. Add the reserved cooking water and lemon juice. Bring to a gentle simmer and cook for 2-3 minutes, stirring, until the sauce slightly thickens.
- Add the cooked gnocchi to the skillet with the pesto sauce. Stir gently to ensure all gnocchi are well coated.
- Fold in the chopped sun-dried tomatoes and baby spinach. Continue cooking for 1-2 minutes, stirring gently, until the spinach wilts.
- Stir in the toasted pine nuts, grated Parmesan cheese, red pepper flakes, salt, and black pepper. Taste and adjust seasonings as needed.
- Serve immediately, topping with additional grated Parmesan cheese and a drizzle of olive oil, if desired.
Video Tutorial
Notes
If pine nuts are unavailable or too pricey, chopped walnuts or almonds make excellent substitutes, offering a similar nutty crunch.
Baby arugula can be used instead of spinach for a slightly peppery flavor. For heartier greens, chopped kale is a good choice, though it may need a minute longer to wilt.
Store leftovers in an airtight container in the refrigerator for up to 3 days. Reheat gently in the microwave or on the stove, adding a splash of water or broth if the sauce has thickened. Stir in fresh spinach after reheating for best texture.
Nutrition
Carbohydrates: 51g |
Protein: 11g |
Fat: 28g |
Saturated Fat: 5g |
Polyunsaturated Fat: 3g |
Monounsaturated Fat: 3g |
Cholesterol: 9mg |
Sodium: 1125mg |
Potassium: 383mg |
Fiber: 5g |
Sugar: 2g |
Vitamin A: 2618IU |
Vitamin C: 25mg |
Calcium: 180mg |
Iron: 6mg
Please note: Nutrition information is automatically calculated and should be considered an approximation.
Additional Information
Pasta & Noodles, Main Dish
Italian, Mediterranean
Did you make this delicious recipe?
Share your creation! Mention @lastingredient on Instagram and tag it #lastingredient. We’d love to see your culinary masterpiece!