There’s something about pillowy gnocchi, silky cheese sauce, and bright green spinach that instantly feels like a cozy, restaurant-worthy weeknight dinner. This Parmesan Spinach Gnocchi recipe builds a simple, creamy sauce with butter, flour, and whole milk, then folds in tender spinach and a sharp hit of Parmesan. Lemon juice wakes everything up at the end, making the dish feel light and balanced instead of heavy. It’s the kind of comfort food that comes together quickly and looks elegant on the table — the ideal midweek showstopper when you want something special without fuss.
Why you’ll love this recipe

This Parmesan Spinach Gnocchi is fast, forgiving, and wildly satisfying. Dried gnocchi cook in minutes, the sauce thickens on the stovetop with a classic roux, and the spinach wilts down to add color and nutrients. The grated Parmesan gives a rich, nutty backbone while a touch of lemon keeps the flavors lively. If you love creamy pasta dishes but want something different from the usual spaghetti or mac and cheese, gnocchi offers a fun, pillowy texture that pairs beautifully with this sauce.
Ingredients
Use the exact quantities below for best results. The ingredient names and amounts follow the recipe source as the authoritative list.
- 1 tablespoon olive oil
- ½ cup diced onion
- ⅛ teaspoon kosher salt
- 2 cloves garlic, minced
- ½ teaspoon dried thyme
- 2 tablespoons unsalted butter (¼ stick)
- 2 tablespoons all-purpose flour
- 1 cup whole milk
- ¼ teaspoon ground nutmeg
- 16 ounces dried gnocchi
- ½ cup grated Parmesan cheese
- 4 ounces fresh spinach
- 1 lemon, juiced
Equipment and prep
Gather a medium skillet with a lid, a large pot for boiling the gnocchi, a wooden spoon or spatula, a whisk, and a measuring cup. Dice the onion, mince the garlic, grate the Parmesan if needed, and juice the lemon. Have the spinach washed and spun dry or well-drained. Measure the flour, milk, butter, and seasonings so everything is within reach; this helps the sauce come together smoothly.
Step-by-step instructions

The directions below are rewritten into clear, numbered steps. They preserve the original order and quantities from the ingredient list while making each action easy to follow. Read the entire section once before you start cooking so you understand timing and pan placements.
- Heat oil and soften onion: Place a medium skillet over medium heat and add 1 tablespoon olive oil. Once the oil shimmers, add ½ cup diced onion and cook, stirring occasionally, for about 4–6 minutes until the onion becomes translucent and begins to soften.
- Season and add garlic: Sprinkle ⅛ teaspoon kosher salt over the onion, then add 2 cloves garlic, minced, and ½ teaspoon dried thyme. Cook, stirring frequently, for 30–60 seconds until the garlic becomes fragrant. Be careful not to let the garlic brown.
- Add butter to form the base: Add 2 tablespoons unsalted butter (¼ stick) to the skillet. Stir the butter into the onion mixture until it melts completely and coats the onions.
- Make the roux: Sprinkle 2 tablespoons all-purpose flour over the butter and onions. Stir constantly for about 1 minute to cook the raw flour taste and form a light roux. The mixture will thicken slightly and become pasty.
- Whisk in milk and spices: Gradually pour in 1 cup whole milk while whisking or stirring vigorously to avoid lumps. Add ¼ teaspoon ground nutmeg. Continue stirring over medium-low heat until the sauce comes together and starts to thicken, about 3–5 minutes. Adjust heat as needed so the sauce gently simmers but does not boil vigorously.
- Cook the gnocchi: While the sauce thickens, bring a large pot of salted water to a boil. Add 16 ounces dried gnocchi to the boiling water and cook according to the package directions, typically 2–3 minutes after they float to the surface. Once the gnocchi float and are tender, use a slotted spoon to transfer them directly into the skillet with the sauce.
- Combine gnocchi and sauce: Gently stir the gnocchi into the cream sauce, coating each piece. If the skillet seems crowded, you may transfer the sauce to a larger pan first. Let the gnocchi simmer in the sauce for 1–2 minutes so they absorb a little flavor.
- Add Parmesan: Stir in ½ cup grated Parmesan cheese until it melts and the sauce becomes silky. Taste the sauce and adjust for seasoning if needed; add a pinch more kosher salt if desired.
- Fold in spinach: Add 4 ounces fresh spinach to the skillet, a handful at a time if necessary, and fold it into the gnocchi and sauce. The spinach will wilt quickly; continue folding until all leaves are evenly incorporated.
- Finish with lemon: Remove the skillet from the heat and squeeze the juice of 1 lemon over the gnocchi. Stir once to combine; the lemon brightens the sauce and lifts the richness of the Parmesan.
- Serve immediately: Transfer the Parmesan Spinach Gnocchi to plates or a shallow serving bowl. If desired, sprinkle a little extra grated Parmesan on top and add a few twists of black pepper. Serve hot so the sauce remains creamy and the gnocchi are tender.
Troubleshooting and tips

– For a smoother sauce, whisk the milk into the roux slowly and keep stirring constantly until it thickens. This prevents lumps and creates a velvety texture.
– If the sauce becomes too thick, add a splash of milk or a tablespoon of pasta cooking water to loosen it. A little starchy cooking water helps the sauce cling to the gnocchi.
– Don’t overcook the gnocchi; they only need a couple of minutes in boiling water and should be tender but not mushy. Remove them as soon as they float and feel soft when bitten.
– If you prefer a nuttier flavor, toast the Parmesan in a dry skillet for a minute before grating, but be careful not to burn it.
– To keep the spinach vibrant, fold it in at the end and remove the pan from heat immediately once it wilts. Overcooking diminishes texture and color.
Variations and serving ideas
– Lemon-Parmesan twist: Add extra lemon zest for a brighter, more citrus-forward profile.
– Garlicky greens: Increase the garlic to 3 cloves for a bolder, savory punch.
– Add protein: Stir in cooked, shredded chicken or seared shrimp at the end for an all-in-one meal.
– Crispy topping: Finish with toasted breadcrumbs or crushed toasted almonds for a crunchy contrast to the pillowy gnocchi.
– Veg-forward: Swap half the spinach for baby kale or add roasted cherry tomatoes for bursts of sweetness.
Make-ahead and storage
This Parmesan Spinach Gnocchi is best enjoyed immediately, while the sauce is silky and the gnocchi are tender. If you do have leftovers, let them cool to room temperature, then store in an airtight container in the refrigerator for up to 3 days. Reheat gently over low heat with a splash of milk or water to loosen the sauce. The texture of the gnocchi can become slightly denser after refrigeration, but a quick warm-through will bring it back to a pleasing consistency.
Recipe notes
– The ingredient list calls for whole milk and unsalted butter to create a rich, creamy base. Using lower-fat milk will thin the sauce, while using salted butter will affect the final seasoning — taste and adjust if you swap either.
– Ground nutmeg is used sparingly for a subtle warmth. Don’t skip it; even a small amount elevates the creaminess and complements the Parmesan.
– Freshly grated Parmesan melts more smoothly than pre-grated varieties, but both work in a pinch. If using pre-grated cheese, stir it in off the heat to avoid graininess.
Serving suggestions
Serve this Parmesan Spinach Gnocchi with a crisp green salad and a bright vinaigrette to cut through the richness. A glass of crisp white wine, such as Sauvignon Blanc or Pinot Grigio, pairs nicely. For a family-style presentation, place the skillet on the table and let everyone help themselves, garnishing with extra Parmesan and freshly ground pepper.
Final thoughts
This Parmesan Spinach Gnocchi is a comforting, elegant dish that manages to be both easy enough for a busy weeknight and special enough for guests. The combination of a classic roux-based cream sauce, tender gnocchi, vivid spinach, and a squeeze of lemon creates a balanced plate that satisfies without weighing you down. With straightforward steps and pantry-friendly ingredients, it’s a recipe you’ll return to again and again.
Parmesan Spinach Gnocchi is a delightful, cozy meal that showcases how a handful of simple ingredients can come together into something memorable. Follow the steps carefully, use the exact ingredient amounts listed, and enjoy the creamy, lemony finish that makes this dish sing.

Parmesan Spinach Gnocchi
Equipment
- Large Pot
- large high-sided skillet
- Wooden Spoon or Spatula
- Whisk
- spider strainer or slotted spoon
- Measuring cups and spoons
Ingredients
- 1 tablespoon olive oil
- 1/2 cup diced onion
- 1/8 teaspoon kosher salt
- 2 cloves garlic minced
- 1/2 teaspoon dried thyme
- 2 tablespoons unsalted butter ¼ stick
- 2 tablespoons all-purpose flour
- 1 cup whole milk
- 1/4 teaspoon ground nutmeg
- 16 ounces dried gnocchi
- 1/2 cup grated Parmesan cheese
- 4 ounces fresh spinach
- 1 lemon juiced
Instructions
- Bring a large pot of salted water to a rolling boil and keep it hot for the gnocchi.
- Heat a large high-sided skillet over medium heat, add the olive oil and diced onion, season with 1/8 teaspoon kosher salt, and cook 4–5 minutes until soft and beginning to brown.
- Add the minced garlic and dried thyme and cook for 1 minute until fragrant.
- Add the butter and stir until melted, then sprinkle in the flour and cook, stirring, about 1 minute until the roux bubbles and smells toasty.
- Slowly pour in the milk while whisking to smooth any lumps; bring to a gentle bubble and cook about 5 minutes until the sauce coats the back of a spoon.
- Remove the sauce from the heat, stir in the ground nutmeg, and adjust seasoning with salt and pepper to taste.
- Add the gnocchi to the boiling water and cook according to package directions, usually about 3 minutes, until they float to the top.
- While the gnocchi cook, stir the grated Parmesan, fresh spinach, and lemon juice into the warm cream sauce; the spinach will wilt slightly from the sauce's heat.
- When the gnocchi float, scoop them out with a spider or slotted spoon and add to the skillet with the sauce; toss gently to combine and serve immediately.
Notes
- You may use fresh, homemade, frozen, or store-bought gnocchi.
- 2% milk or half-and-half can be substituted for whole milk.
- Omit nutmeg if you prefer.
- Swap Parmesan for any melty cheese like fontina, gruyère, or pecorino.
- Cook the sauce over low, steady heat to prevent separation.
- If sauce is too thick, whisk in 1/4–1/2 cup milk; if too thin, add 1/4–1/2 cup hot starchy gnocchi water.
