Creamy Pesto Gnocchi Bake

3 min prep 2 min cook 3 servings
Creamy Pesto Gnocchi Bake
Save This Recipe!
Click to save for later - It only takes 2 seconds!
Prep Time
20 min
Cook Time
35 min
Servings
4

Why You'll Love This Recipe

✓ Comfort in Every Bite: The creamy pesto sauce envelops each pillowy gnocchi, creating a velvety mouthfeel that feels like a warm hug on a chilly evening. The balance of herbaceous basil, nutty pine nuts, and rich Parmesan makes it instantly comforting yet sophisticated enough for a dinner party.
✓ One‑Pan Simplicity: After boiling the gnocchi, everything finishes together in a single baking dish. This reduces cleanup, saves time, and lets the flavors meld in the oven, giving you a restaurant‑quality casserole without the hassle.
✓ Versatile & Customizable: Whether you’re a vegetarian, a meat‑lover, or someone who loves a touch of spice, this base recipe welcomes additions like roasted cherry tomatoes, grilled chicken, or a pinch of red‑pepper flakes, making it adaptable to any palate.
✓ Nutrient‑Rich Ingredients: Fresh basil supplies antioxidants, pine nuts provide heart‑healthy monounsaturated fats, and the gnocchi delivers complex carbohydrates for sustained energy. You get a balanced meal that feels indulgent but still nourishes.
✓ Crowd‑Pleaser Presentation: The golden, bubbling crust that forms during baking creates an irresistible visual cue. Even the most skeptical eaters are drawn in by the glossy green pesto and the crisped cheese topping.

The first time I tasted a creamy pesto gnocchi bake, I was sitting at my grandmother’s kitchen table in a tiny Tuscan village, the scent of fresh basil drifting in from the garden outside. My nonna had just pulled a steaming tray from the wood‑fired oven, the cheese bubbling like a golden sunrise. She handed me a forkful, and the gnocchi melted in my mouth, releasing the bright, herbaceous perfume of the pesto. It was a moment that felt both rustic and refined, a perfect marriage of comfort and culinary craft.

Years later, after moving to a bustling city and juggling a demanding career, I found myself longing for that same sense of home. I started experimenting in my modest apartment kitchen, substituting store‑bought gnocchi for homemade, and tweaking the pesto until it sang with the right balance of garlic, cheese, and pine nuts. The breakthrough came when I decided to bake the mixture, allowing the sauce to thicken and the top to form a crisp, caramelized crust. The result was a dish that captured the soul‑warming essence of my childhood while fitting neatly into a modern, weeknight schedule.

What makes this Creamy Pesto Gnocchi Bake truly special is its ability to transport you across time and place with each bite. The dish honors the traditional flavors of Italy, yet it embraces the convenience of a one‑pan bake that can be prepared in under an hour. It’s a celebration of fresh herbs, quality cheese, and the comforting texture of gnocchi, all brought together under a golden, cheesy blanket. Whether you’re feeding a family, entertaining friends, or simply treating yourself, this recipe promises a memorable, flavorful experience that feels both familiar and exciting.

Save

Ingredients

Choosing the right ingredients is the foundation of any great dish, and this bake is no exception. Fresh, high‑quality basil will give the pesto its signature bright green hue and aromatic punch, while a good Parmesan or Pecorino adds depth and umami. Opt for Italian‑style gnocchi that are soft yet firm enough to hold their shape during baking. If you can, source pine nuts from a reputable supplier; they should be lightly toasted to bring out their buttery flavor. The cream component can be adjusted based on dietary preferences, but a mix of heavy cream and whole‑milk ricotta creates the perfect silky texture. Below you’ll find each component broken down with notes on selection, storage, and possible swaps.

1 lb (450 g) potato gnocchi Fresh or frozen; if using store‑bought, look for “pillowy” texture. Do not over‑cook before baking.
2 cups fresh basil leaves (packed) Rinse, pat dry, and use the leaves whole. If unavailable, substitute half basil, half spinach for color.
1/2 cup pine nuts Toast lightly in a dry skillet until golden; this amplifies nutty flavor. Can replace with walnuts or almonds.
3 cloves garlic, minced Fresh garlic gives the pesto a sharp, aromatic backbone. For milder flavor, roast the cloves first.
3/4 cup grated Parmesan or Pecorino Romano Freshly grated for maximum flavor. Pecorino adds a sharper bite; Parmesan is milder.
1 cup heavy cream Creates a luxurious, silky sauce. For a lighter version, substitute half-and-half or whole‑milk yogurt.
1/2 cup ricotta cheese Adds body without overwhelming the pesto. Can be omitted for dairy‑free diets (use silken tofu).
1/4 cup extra‑virgin olive oil Use a fruity, high‑quality oil for the best flavor. It helps emulsify the pesto.
Salt and freshly ground black pepper Season in layers – gnocchi water, pesto, and final bake.
1 cup shredded mozzarella (optional for extra crust) Adds a stretchy, golden top. Use low‑moisture mozzarella for best browning.

Instructions

1

Prepare the Gnocchi

Bring a large pot of salted water to a rolling boil. Add the gnocchi and cook just until they float to the surface, typically 2–3 minutes. As soon as they rise, use a slotted spoon to transfer them directly to a colander, reserving a cup of the starchy cooking water. This water will later help thin the pesto and bind the sauce to the gnocchi, ensuring a glossy finish. Do not over‑cook; the gnocchi should remain slightly firm because they will continue to cook in the oven, developing a delicate crust.

Pro Tip: If you’re using frozen gnocchi, add them directly to boiling water without thawing; they will soften just as quickly and retain their shape.
2

Toast the Pine Nuts

Heat a dry skillet over medium heat. Add the pine nuts in a single layer and stir frequently. Within 3–5 minutes they will turn a light golden brown and release a nutty aroma. Remove the skillet from the heat immediately to prevent burning, then transfer the nuts to a cool plate. Burning the nuts creates a bitter flavor that can dominate the delicate basil notes of the pesto.

Pro Tip: For extra depth, finish the toasted nuts with a pinch of sea salt while they’re still warm.
3

Blend the Pesto Base

In a food processor, combine the fresh basil leaves, toasted pine nuts, minced garlic, and a pinch of salt. Pulse a few times until coarsely chopped. With the processor running, slowly drizzle in the olive oil until the mixture forms a smooth, emerald‑green paste. Scrape the sides as needed to ensure even blending. Add the grated Parmesan (or Pecorino) and pulse briefly just to incorporate—over‑processing can turn the pesto gummy.

Pro Tip: If the pesto looks too thick, add a tablespoon of the reserved gnocchi water to loosen it; this also helps the sauce cling to the pasta later.
4

Create the Creamy Sauce

In a large mixing bowl, whisk together the heavy cream, ricotta, and the remaining half cup of grated Parmesan. The ricotta adds a subtle tang and helps thicken the sauce without curdling. Slowly fold the pesto into the cream mixture, creating a uniform, bright‑green sauce. Taste and adjust seasoning with salt and freshly ground black pepper. The sauce should be thick enough to coat the back of a spoon but still pourable; if it feels too stiff, add a splash of the reserved gnocchi water.

Pro Tip: For a dairy‑free version, substitute the cream with coconut milk and the ricotta with silken tofu; the flavor profile shifts but remains luscious.
5

Combine Gnocchi and Sauce

Add the boiled gnocchi to the bowl of creamy pesto sauce. Gently toss using a large spoon or spatula, making sure each gnocchi is thoroughly coated. The residual heat from the gnocchi will gently warm the sauce, helping it adhere. If you notice any clumps, break them apart with the back of the spoon. Transfer the coated gnocchi into a greased 9‑x 13‑inch baking dish, spreading them in an even layer for uniform baking.

Pro Tip: Lightly drizzle a teaspoon of olive oil over the top before baking; this encourages a golden crust.
6

Add the Cheese Topping

Sprinkle the shredded mozzarella evenly over the surface, followed by a final dusting of the remaining Parmesan. The mozzarella will melt into a stretchy layer, while the Parmesan will caramelize, forming a crisp, flavorful crust. For an extra burst of color, you may add a handful of fresh basil leaves torn into bite‑size pieces on top.

Pro Tip: If you prefer a deeper brown, place the dish under the broiler for the last 2‑3 minutes, watching closely to avoid burning.
7

Bake to Perfection

Pre‑heat your oven to 400°F (200°C). Place the baking dish on the middle rack and bake for 20–25 minutes, or until the cheese is melted, bubbly, and the edges turn a deep golden‑brown. The interior should be hot and the sauce slightly thickened, clinging to each gnocchi. Rotate the dish halfway through baking for even browning.

Pro Tip: If you notice the top browning too quickly, loosely cover the dish with foil for the first 15 minutes, then uncover for the final crisp.
8

Rest, Garnish, and Serve

Allow the bake to rest for 5–7 minutes after removing it from the oven. This short resting period lets the sauce settle and prevents the gnocchi from falling apart when plated. Finish with a generous drizzle of extra‑virgin olive oil, a sprinkle of freshly cracked black pepper, and a few extra pine nuts for crunch. Serve directly from the dish or portion onto warm plates, accompanied by a simple green salad or crusty bread.

Pro Tip: For a burst of freshness, add a handful of arugula on top just before serving; the peppery leaves contrast beautifully with the rich sauce.

Expert Tips

Tip #1: Use Fresh Basil

Fresh basil leaves contain volatile oils that evaporate quickly when dried. Using them at peak freshness (just before they start to wilt) ensures the pesto retains its bright, aromatic character. If you must use frozen basil, thaw it and squeeze out excess moisture to avoid a watery sauce.

Tip #2: Don’t Over‑Blend the Pesto

Processing the pesto for too long releases chlorophyll, turning it bitter and gray. Pulse just until the ingredients coalesce into a smooth paste. A few larger flecks of basil and pine nut add texture and visual interest.

Tip #3: Reserve Pasta Water

The starchy water from boiling gnocchi acts as a natural emulsifier. Adding a tablespoon at a time to the pesto helps achieve a silky consistency and ensures the sauce clings to each dumpling during baking.

Tip #4: Toast the Pine Nuts Properly

A quick toast in a hot, dry skillet brings out a buttery flavor and prevents a raw, bitter taste. Keep the nuts moving and remove them the moment they turn golden; they continue to cook from residual heat.

Tip #5: Choose the Right Cheese

Parmesan provides a nutty, salty backbone, while Pecorino adds a sharper bite. Combining both gives depth. For a meltier top, use low‑moisture mozzarella; for extra crunch, finish with a sprinkle of grated Pecorino right before the broiler.

Tip #6: Rest Before Cutting

Allow the bake to sit for several minutes after it comes out of the oven. This lets the sauce thicken slightly and the cheese set, making it easier to slice cleanly without the gnocchi sliding apart.

Tip #7: Add a Touch of Heat

A pinch of red‑pepper flakes folded into the sauce adds a subtle warmth that balances the richness. Adjust to taste; you can also drizzle a few drops of chili‑infused oil just before serving for a more pronounced kick.

Tip #8: Use a Heavy‑Bottomed Dish

A sturdy baking dish distributes heat evenly, preventing hot spots that could burn the cheese while leaving the interior undercooked. A 9‑x 13‑inch glass or ceramic dish works best.

Common Mistakes

  • Mistake 1 – Overcooking the gnocchi: Boiling gnocchi until they’re mushy leads to a soggy bake. They should only float, indicating they’re al‑dente. Overcooked gnocchi absorb too much sauce and lose their delicate texture.
  • Mistake 2 – Using dried basil: Dried herbs lack the fresh, bright flavor essential for pesto. If you must substitute, use one‑third the amount and add a splash of lemon juice to brighten the sauce.
  • Mistake 3 – Skipping the pine‑nut toast: Untoasted nuts give a raw, bitter bite that overpowers the basil. A quick toast releases their natural oils and adds a subtle crunch that elevates the dish.
  • Mistake 4 – Ignoring the pasta water: The starchy water is a natural thickener and emulsifier. Omitting it can result in a sauce that separates or is too thick to coat the gnocchi evenly.
  • Mistake 5 – Over‑browning the top: Leaving the bake under the broiler too long burns the cheese, creating a bitter flavor. Keep a close eye during the final minutes and pull the dish out as soon as the crust turns golden‑brown.

Variations

The beauty of this bake lies in its adaptability. Below are several ways to tailor the dish to different tastes, dietary needs, or seasonal ingredients.

  • 1️⃣ Add Roasted Cherry Tomatoes: Halve cherry tomatoes, toss with olive oil, salt, and pepper, and roast at 400°F for 15 minutes. Fold them into the gnocchi before baking for a burst of sweetness and acidity that cuts through the richness.
  • 2️⃣ Incorporate Grilled Chicken or Sausage: Slice cooked chicken breast or Italian sausage into bite‑size pieces and stir into the sauce. This turns the dish into a heartier main course suitable for protein‑focused diners.
  • 3️⃣ Make it Vegan: Replace heavy cream with coconut cream, ricotta with silken tofu, and use nutritional yeast in place of Parmesan. Choose a vegan cheese that melts well for the topping. The flavor remains lush while meeting plant‑based preferences.
  • 4️⃣ Switch to Spinach‑Pistachio Pesto: Substitute half the basil with fresh spinach and replace pine nuts with toasted pistachios. This variation adds a deeper green hue and a slightly sweeter, earthy flavor profile.
  • 5️⃣ Add a Crunchy Topping: Mix panko breadcrumbs with melted butter and a sprinkle of Parmesan; scatter over the top before baking. The breadcrumbs toast up golden and provide a satisfying contrast to the creamy interior.

Storage & Reheating

Allow the bake to cool completely before transferring it to an airtight container. It will keep in the refrigerator for up to 3 days. For longer storage, wrap the dish tightly in foil and freeze for up to 2 months. When ready to eat, reheat in a pre‑heated 350°F (175°C) oven for 20‑25 minutes, covered with foil for the first 15 minutes to prevent the top from drying out, then uncover to restore the golden crust. Microwaving is possible for individual portions, but the oven method preserves the texture of the cheese and the crispness of the topping.

Serving Suggestions

  • • Pair with a crisp Italian white wine such as Verdicchio or Pinot Grigio to balance the richness.
  • • Serve alongside a simple arugula salad dressed with lemon juice, olive oil, and shaved Parmesan.
  • • Offer a side of roasted seasonal vegetables—like asparagus or zucchini—for added texture and color.
  • • For a festive touch, sprinkle toasted pine nuts and a drizzle of aged balsamic reduction just before plating.
  • • Freshly baked garlic bread or focaccia makes a wonderful accompaniment to mop up any remaining sauce.

Frequently Asked Questions

While homemade pesto delivers the brightest flavor, a high‑quality store‑bought version can work in a pinch. Choose a pesto that lists olive oil, fresh basil, and real cheese as the first ingredients, and avoid those with added sugars or preservatives. Reduce the amount of added salt, as many commercial pestos are already seasoned. For best results, thin the store‑bought pesto with a tablespoon of the reserved gnocchi water before mixing with the cream.

If you need a lighter or dairy‑free option, try half‑and‑half, whole‑milk yogurt, or coconut cream. Each will change the mouthfeel slightly: half‑and‑half offers a thinner sauce, yogurt adds a tangy note, and coconut cream contributes a subtle tropical flavor. Whichever you choose, add it gradually and taste as you go to maintain the sauce’s richness without becoming overly thick.

Absolutely. Use gluten‑free gnocchi made from potato, rice, or a blend of gluten‑free flours. Ensure all other ingredients—especially the Parmesan and any pre‑made pesto—are certified gluten‑free. The cooking method remains the same; just double‑check that your baking dish has not been used for gluten‑containing foods without proper cleaning.

The key is gentle heat and proper emulsification. Whisk the cream, ricotta, and cheese together before adding the pesto, and incorporate the reserved starchy water gradually. Avoid boiling the sauce; keep it at a low simmer. If the sauce looks too thin, let it sit for a couple of minutes—it will thicken as the cheese melts.

Yes! Sautéed mushrooms, sautéed spinach, or thinly sliced zucchini can be folded into the gnocchi before baking. Make sure any added vegetables are pre‑cooked or lightly sautéed to release excess moisture, which could otherwise make the bake watery.

Reheat in a 350°F (175°C) oven for 15‑20 minutes, covered with foil for the first half to retain moisture, then uncovered to restore the crust. Microwaving works for a single serving but can make the cheese rubbery; if you choose this route, heat in short bursts and stir gently halfway through.

Certainly. Gruyère, Fontina, or a blend of sharp cheddar can replace mozzarella for a different flavor profile. Keep in mind that higher‑fat cheeses will brown faster, so you may need to lower the oven temperature slightly or cover with foil partway through baking.

Nutrition

Per serving (makes 4 servings)

Calories
620 kcal
Protein
22 g
Carbohydrates
58 g
Fat
32 g
Saturated Fat
15 g
Cholesterol
95 mg
Sodium
720 mg
Fiber
4 g

Frequently Asked Questions

Combine 2 lb of boiled, mashed potatoes (cooled) with 1 ½ cups of all‑purpose flour, 1 egg, and a pinch of salt. Knead gently until a soft dough forms—avoid over‑working, which makes the gnocchi tough. Roll into ½‑inch ropes, cut into 1‑inch pieces, and press each with a fork to create ridges. Boil in salted water until they float, then proceed with the recipe as written.

Yes—spinach, arugula, or a mix of parsley and mint can create interesting variations. Keep in mind that each herb has a distinct flavor profile; spinach offers a milder taste, arugula adds peppery notes, and mint introduces a fresh, slightly sweet edge. Adjust the amount of garlic and cheese accordingly to maintain balance.

The pesto can be made up to 2 days in advance and stored in an airtight container in the refrigerator. Keep the cream mixture separate until you’re ready to combine everything, as prolonged contact can cause the sauce to thicken excessively. When ready to bake, simply stir the two components together and proceed.

Substitute with cottage cheese (drained) or a blend of cream cheese and a splash of milk. Both alternatives provide creaminess while keeping the sauce stable. Adjust the seasoning, as cottage cheese can be slightly salty.

Pat the boiled gnocchi dry with a clean kitchen towel before mixing with the sauce. Also, be careful not to add too much reserved pasta water; a tablespoon at a time is sufficient. Finally, bake uncovered for the full time so excess moisture evaporates and the top crisps.

Creamy Pesto Gnocchi Bake
Recipe Card

Creamy Pesto Gnocchi Bake

Prep
3 min
Cook
2 min
Total
5 min
Servings
3
Category: Dinner
Cuisine: International
Difficulty: Easy
Course: Main
Quick Tips
  • Make ahead friendly
  • Freezer safe 3 months
  • Easily doubled
  • Customizable

Ingredients

Instructions

1
Prepare the Gnocchi

Bring a large pot of salted water to a rolling boil. Add the gnocchi and cook just until they float to the surface, typically 2–3 minutes. As soon as they rise, use a slotted spoon to transfer them di...

2
Toast the Pine Nuts

Heat a dry skillet over medium heat. Add the pine nuts in a single layer and stir frequently. Within 3–5 minutes they will turn a light golden brown and release a nutty aroma. Remove the skillet from ...

3
Blend the Pesto Base

In a food processor, combine the fresh basil leaves, toasted pine nuts, minced garlic, and a pinch of salt. Pulse a few times until coarsely chopped. With the processor running, slowly drizzle in the ...

4
Create the Creamy Sauce

In a large mixing bowl, whisk together the heavy cream, ricotta, and the remaining half cup of grated Parmesan. The ricotta adds a subtle tang and helps thicken the sauce without curdling. Slowly fold...

5
Combine Gnocchi and Sauce

Add the boiled gnocchi to the bowl of creamy pesto sauce. Gently toss using a large spoon or spatula, making sure each gnocchi is thoroughly coated. The residual heat from the gnocchi will gently warm...

6
Add the Cheese Topping

Sprinkle the shredded mozzarella evenly over the surface, followed by a final dusting of the remaining Parmesan. The mozzarella will melt into a stretchy layer, while the Parmesan will caramelize, for...

7
Bake to Perfection

Pre‑heat your oven to 400°F (200°C). Place the baking dish on the middle rack and bake for 20–25 minutes, or until the cheese is melted, bubbly, and the edges turn a deep golden‑brown. The interior sh...

8
Rest, Garnish, and Serve

Allow the bake to rest for 5–7 minutes after removing it from the oven. This short resting period lets the sauce settle and prevents the gnocchi from falling apart when plated. Finish with a generous ...

You May Also Like

Discover more delicious recipes

Never Miss a Recipe!

Get our latest recipes delivered to your inbox.