This post may contain affiliate links. Please read our disclosure policy.
This Cacio e Pepe Potato Gnocchi combines soft gnocchi with a silky Pecorino Romano sauce, black pepper, green beans, and peas for an easy Italian-inspired dinner.
Be sure to check out our Cacio e Pepe pasta!

Why You’ll Love This Cacio e Pepe Potato Gnocchi
- A veggie boost: green beans and peas add color, texture, and a touch of sweetness to balance the peppery cheese sauce.
- Just a few simple ingredients: gnocchi, cheese, and black pepper form the base — no cream, butter, or heavy sauce needed.
- Ready in about 20 minutes: a fast, satisfying dinner for busy weeknights.
- Silky, clingy sauce: starchy pasta water and freshly grated Pecorino emulsify into a smooth, glossy coating for every bite of gnocchi.

What You’ll Need
| Potato gnocchi | Soft and pillowy, gnocchi soaks up the peppery cheese sauce beautifully and gives the dish a heartier bite than pasta. |
| Pecorino Romano | A sharp, salty sheep’s milk cheese that’s the traditional base of cacio e pepe — freshly grated cheese melts smoothly, while pre-shredded cheese can turn grainy. |
| Black pepper | The other half of “cacio e pepe” (literally “cheese and pepper”). Toasting it briefly and using it generously is key to the dish’s signature flavor. |
| Hot gnocchi water | Starchy pasta water is what emulsifies the cheese into a smooth sauce instead of clumping — this step can’t be skipped. |
| Green beans and peas | Add color, freshness, and a light sweetness that balances the rich, salty sauce. |
| Garlic | Adds a subtle savory background note to the vegetables without overpowering the classic cheese-and-pepper flavor. |

How to Make Cacio e Pepe Potato Gnocchi
Technique Tip: Why Freshly Grated Cheese Matters
Pre-shredded cheese is coated with anti-caking agents that prevent it from melting smoothly, which can leave your sauce grainy or clumpy instead of silky. Grate the Pecorino yourself right before cooking for the best texture — a food processor with a grating attachment makes quick work of it.
- Grate the cheese: Finely grate the Pecorino Romano.
- Cook the gnocchi: Bring a large pot of salted water to a boil. Cook the gnocchi according to the package directions until they float. Reserve 1 cup of the cooking water, then drain.
- Cook the vegetables: Meanwhile, heat the olive oil in a large skillet over medium heat. Cook the green beans and peas until just tender, then stir in the garlic and cook for 30 seconds.
- Combine: Add the gnocchi to the skillet and season generously with black pepper. Whisk the Pecorino with ½ cup of the reserved cooking water until smooth, then pour it over the gnocchi. Toss until evenly coated, adding more cooking water as needed to create a silky sauce.

Technique Tip: Keep the Heat Low When Adding Cheese
Adding the cheese and water mixture over high heat can cause the cheese to seize and turn stringy or clumpy instead of smooth. Keep the skillet on low heat while you stir the sauce together, and work quickly so it stays glossy.
How to stop cheese from clumping in cacio e pepe
Cacio e pepe sauce must be smooth and silky if done the right way. Here are some helpful tips:
- Grate pecorino cheese yourself: Pre-grated cheese makes the sauce clumpy. It is actually very easy to grate the cheese in a food processor. The job will be done in seconds for you.
- Grate the cheese first: Grate the cheese before you start cooking because later you will need to mix it with really hot gnocchi water. And you won’t have time to grate it. And make sure to grate it on the finest holes. Cheese grated on large holes takes longer to melt and will clump.
- Use high quality pecorino cheese: Pecorino Romano cheese is the key ingredient in this recipe. Use high quality cheese. Bring it to room temperature and whisk into the sauce ½ cup at a time. This way it will melt more evenly. You will need to whisk it about 3-4 minutes, depending on the temperature of the gnocchi water, quality of cheese, age and the size of the bowl. The cheese will finish melting once you add it into the skillet.

Recipe Variations
- Lemon Cacio e Pepe Gnocchi-Add the zest of one lemon to the cheese sauce for a bright, citrusy twist on the classic flavor.
- Mushroom Cacio e Pepe Gnocchi-Sauté 8 ounces of sliced mushrooms with the vegetables for an earthy, umami-rich variation.
- Crispy Prosciutto Cacio e Pepe Gnocchi-Top with crispy baked prosciutto pieces for a salty, crunchy contrast to the creamy sauce.
- Extra Veggie Cacio e Pepe Gnocchi-Swap in or add asparagus, spinach, or roasted cherry tomatoes for more color and nutrition.
Cacio e pepe Video
Ways to Serve Cacio e Pepe Potato Gnocchi
- With Crusty Bread: Serve with warm, crusty bread to soak up any extra cheese sauce.
- Alongside a Simple Salad: A lightly dressed arugula or mixed greens salad balances the richness of the dish.
- Topped with Extra Pepper and Cheese: Finish each bowl with a little extra cracked pepper and grated Pecorino for serving.
- With Grilled Chicken or Shrimp: Add grilled chicken or shrimp on top for a heartier, protein-packed meal.
Storage and Reheating Instructions
- Freezing: Freezing isn’t recommended, since the cheese sauce tends to separate and turn grainy after thawing.
- Refrigerator: Store leftovers in an airtight container for up to 2 days.
- Reheating: Reheat gently in a skillet over low heat with a splash of water or milk to loosen the sauce, stirring frequently. Microwaving can make the sauce clump, so stovetop reheating is best.

Frequently Asked Questions
Pecorino Romano is traditional and has a sharper, saltier flavor than Parmesan, which gives cacio e pepe its signature taste. Parmesan can be used in a pinch, but the flavor will be milder, and you may want to add a bit more salt.
This usually happens when the cheese is added over heat that’s too high, or when pre-shredded cheese is used instead of freshly grated. Keep the heat low, use freshly grated cheese, and stir constantly while combining the sauce.
Yes, this sauce works beautifully with spaghetti or another long pasta shape for a more traditional cacio e pepe. Cook the pasta according to package instructions and follow the same method for building the sauce.
Give this Cacio e Pepe Potato Gnocchi a try, and if it turns out as silky and delicious as ours, come back and leave a star rating below — it helps other home cooks find this recipe too!
Pin this now to find it later
Pin It
Cacio e Pepe Potato Gnocchi
Equipment
Ingredients
- 1 20-ounce package potato gnocchi
- 2 tablespoons olive oil
- 1½ to 2 teaspoons freshly ground black pepper
- 1 cup green beans, trimmed and cut into 1-inch pieces
- ⅓ cup frozen peas
- 3 garlic cloves, minced
- 2 cups freshly grated Pecorino Romano cheese
- Kosher salt, for the pasta water
Instructions
- Cook the gnocchi: Bring a large pot of generously salted water to a boil. Add the gnocchi and cook according to the package directions until they float to the top, about 2–3 minutes. Reserve 1 cup of the cooking water, then drain the gnocchi.
- Cook the vegetables: Meanwhile, heat the olive oil in a large skillet over medium heat. Add the black pepper and cook for 30 seconds, stirring constantly, until fragrant. Add the green beans and cook for 4–5 minutes, stirring occasionally, until just tender. Stir in the peas and cook for 1 minute. Add the garlic and cook for 30 seconds more.
- Make the sauce: In a large bowl, whisk together the grated Pecorino Romano and ½ cup of the reserved cooking water until smooth.
- Combine: Add the cooked gnocchi to the skillet and toss with the vegetables. Remove the skillet from the heat, then pour in the cheese sauce. Toss continuously until the gnocchi are evenly coated. If the sauce is too thick, add more reserved cooking water, a tablespoon at a time, until it becomes smooth and creamy.
- Serve: Divide among bowls and serve immediately with extra Pecorino Romano and freshly ground black pepper, if desired.
Notes
- Grate your own cheese. Freshly grated Pecorino Romano melts much more smoothly than pre-shredded cheese.
- Reserve extra cooking water. The starchy gnocchi water is the key to making a silky, creamy sauce. Add more as needed to adjust the consistency.
- Don’t overcook the gnocchi. Remove them as soon as they float to the top to keep them light and tender.
- Mix the cheese sauce off the heat. This helps prevent the Pecorino from clumping or becoming grainy.
- Serve immediately. Cacio e Pepe is best enjoyed fresh while the sauce is smooth and creamy.
Nutrition
Nutrition information is automatically calculated, so should only be used as an approximation.
© CHEF JAR. All rights reserved. All content and images on this website are protected by copyright and may not be reproduced without prior written permission. If you’d like to share this recipe, please link directly to this post rather than copying the content.













