A white ceramic bowl of homemade potato gnocchi tossed in brown butter and sage, garnished with grated parmesan, shot from above on a rustic wooden surface

Gnocchi Recipe: Soft, Pillowy, and Worth the Mess

Quick Answer

To make gnocchi, bake or boil russet potatoes until tender, rice them while hot, then mix with flour, egg, and salt until a soft dough forms. Roll into ropes, cut into small pieces, and boil in salted water until they float —? about 2 to 3 minutes.

I ate packaged gnocchi for years and thought I understood gnocchi. Then I had homemade gnocchi at a dinner that a friend of mine cooked, and I understand now that I had been eating a related product. The homemade version was softer, lighter, and had a texture that held sauce differently than the dense, slightly rubbery pillows from the refrigerated section. I ate more than I meant to, which is the sign of a dish that got something right.

I tried to make it at home and the first batch was rubbery — overworked, too much flour, the kind of gnocchi you have to chew through. The problem was that I had kneaded the dough like it was bread, which works for bread and does the opposite of what you want for gnocchi. You work the dough just enough to bring it together, adding flour gradually until it's no longer sticky, and then you stop. Overworking develops gluten and ruins the texture.

The potatoes need to be baked, not boiled. Boiled potatoes retain water, which means you have to add more flour to compensate, which makes denser gnocchi. Baked potatoes are drier and you end up with a softer dough that needs less flour to hold together. Pass the baked potato through a ricer while it's still hot, let it cool slightly, then add egg and just enough flour to make a dough that holds its shape when rolled.

The mess is real. There is flour on things that shouldn't have flour on them. This is the cost. The gnocchi is worth it.

Prep40 minutes
Cook20 minutes
Total60 minutes
Serves4 servings
DifficultyMedium

Ingredients

  • 2 pounds russet potatoes (about 3 large)
  • 1 large egg, lightly beaten
  • 1 teaspoon kosher salt, plus more for the boiling water
  • 1/4 teaspoon freshly grated nutmeg
  • 1 to 1 1/4 cups all-purpose flour, plus more for dusting

Instructions

  1. 1Preheat your oven to 400°F. Pierce each potato several times with a fork, place directly on the oven rack, and bake for 50 to 60 minutes until completely tender all the way through. Do not wrap them in foil —? you want the steam to escape, not pool.
  2. 2While the potatoes are still hot, cut them in half and scoop the flesh into a potato ricer. Rice them onto a clean, lightly floured surface. If you do not have a ricer, use the largest holes on a box grater. Do not use a food processor or a masher —? overworked potato becomes gluey and the gnocchi will be dense.
  3. 3Spread the riced potato out loosely and let it steam for 2 to 3 minutes. You want it dry. This step is not optional.
  4. 4Make a well in the center of the potato. Add the beaten egg, salt, and nutmeg. Pour 1 cup of the flour around the edges of the mound.
  5. 5Using a bench scraper or your hands, gently bring the dough together. Work it only until it just comes together into a soft, slightly sticky dough —? about 30 to 40 seconds of gentle folding and pressing. If the dough is sticking badly to your hands, add flour one tablespoon at a time, up to 1/4 cup more. Stop the moment it holds together. More flour means tougher gnocchi.
  6. 6Divide the dough into 6 equal pieces. On a lightly floured surface, roll each piece into a rope about 3/4-inch thick. Use your fingertips and a light touch —? if you press hard you will smash the air out of them.
  7. 7Cut each rope into 3/4-inch pieces with a bench scraper or sharp knife. For the classic ridged look, roll each piece gently down the back of a fork. This is optional but it does help sauce cling.
  8. 8Bring a large pot of heavily salted water to a rolling boil. Working in batches of about 20 at a time, drop the gnocchi in. They will sink, then float. Cook for 30 seconds after they float, then remove with a slotted spoon. Total boiling time per gnocchi is 2 to 3 minutes.
  9. 9Transfer immediately to your sauce or to a baking dish with a little butter or olive oil to keep them from sticking together. Serve right away.

Pro Tips

  • Baking the potatoes instead of boiling them is the single most important thing in this recipe. Boiled potatoes carry too much moisture, which forces you to add more flour, which makes your gnocchi feel like you rolled them out of a stress ball.
  • Measure flour by spooning it into the cup and leveling —? do not scoop directly from the bag. A packed cup of flour can be 20 to 30% heavier and will ruin your dough before you even know what happened.
  • Test one gnocchi before cooking the whole batch. Drop a single piece in the boiling water. If it falls apart, gently knead a little more flour into the dough. If it holds together and floats, you are cleared for takeoff.

Substitutions

russet potatoes → Yukon Gold potatoes Yukon Golds work but have more moisture —? be especially careful to dry them well and expect to need slightly more flour
all-purpose flour → 00 flour Italian 00 flour produces a slightly more delicate, silkier gnocchi and is worth finding if you can
egg → no egg (eggless gnocchi) You can omit the egg entirely for a vegan version —? the dough will be a little more delicate, so handle it gently and cook quickly
all-purpose flour → gluten-free 1:1 flour blend Works reasonably well, though the dough will be stickier and more fragile —? chill it for 15 minutes before rolling

Storage Instructions

Cooked gnocchi should be tossed in a little olive oil and refrigerated in an airtight container for up to 2 days. Reheat gently in a pan with sauce or butter —? do not microwave if you can help it, they get rubbery. Uncooked raw gnocchi can be frozen on a parchment-lined baking sheet until solid, then transferred to a freezer bag and stored for up to 2 months. Cook from frozen —? do not thaw —? and add about 1 minute to the boiling time.

Make Ahead

You can make the raw gnocchi up to 4 hours ahead. Arrange them in a single layer on a parchment-lined, lightly floured baking sheet, cover loosely with plastic wrap, and refrigerate until ready to cook. Do not stack them before cooking or they will stick together in a way that will test your patience.

Frequently Asked Questions

Why did my gnocchi turn out dense and rubbery?

The two most common causes are too much moisture in the potatoes and too much flour in the dough. Boiling potatoes instead of baking them is the usual culprit —? boiled potatoes absorb water, which means you need more flour to compensate, and more flour means tougher gnocchi. Overkneading the dough also develops gluten and produces a chewy, dense result. Bake your potatoes, work the dough minimally, and use only as much flour as the dough actually needs.

Can I make gnocchi without a potato ricer?

Yes. A box grater on its largest holes works well —? grate the hot potato flesh directly onto your work surface. What you cannot use is a food processor, immersion blender, or potato masher. Those tools overwork the starch and produce a gluey, paste-like potato base that no amount of flour will save. The goal is light, airy, separated potato —? not mashed potato filling.

How do I know when gnocchi are done cooking?

Gnocchi signal they are done by floating to the surface of the boiling water. Once they float, give them another 30 seconds before pulling them out with a slotted spoon. Total cook time is roughly 2 to 3 minutes per batch. If a gnocchi is still sitting on the bottom after 3 minutes, something went wrong with the dough and you will want to taste one before committing the whole batch.

Can I make gnocchi ahead of time?

Uncooked raw gnocchi can be frozen for up to 2 months —? freeze in a single layer on a baking sheet first, then bag them. Cook straight from frozen, adding about a minute to the boiling time. Cooked gnocchi can be refrigerated for up to 2 days, tossed in a little olive oil. For same-day prep, raw gnocchi hold well on a floured baking sheet in the refrigerator for up to 4 hours.

What sauces go best with homemade gnocchi?

Brown butter and sage is the classic for a reason —? the nuttiness of the butter and the herbal bite of the sage suit the mild potato dough without overwhelming it. Gnocchi also work beautifully with a simple tomato sauce, a cream-based gorgonzola sauce, or just good olive oil and parmesan. Avoid very thin, watery sauces —? they do not cling well and the gnocchi end up just floating sadly in liquid.

Can I make this recipe gluten-free?

You can substitute a 1:1 gluten-free flour blend for the all-purpose flour. The dough will be stickier and more fragile than the original, so work with well-floured hands and chill the shaped gnocchi for about 15 minutes before boiling. They are more delicate during cooking, so use a gentle hand when dropping them in and lifting them out. They will not be identical to the original but they are genuinely good.

How much flour should I add to gnocchi dough?

Start with 1 cup and go from there. The dough should be soft, slightly tacky, and hold together without being wet or sticking aggressively to everything it touches. If it is sticking badly to your hands, add flour one tablespoon at a time. Most doughs land between 1 cup and 1 1/4 cups. The exact amount depends on how dry your potatoes were —? which is why baking them matters so much.

Do I need to use the fork to make ridges on gnocchi?

No, the ridges are optional. They do serve a functional purpose —? the grooves and dimples give sauce more surface area to cling to, which is genuinely useful with a thinner sauce. But if you find rolling them over a fork stressful or your dough is on the soft side and keeps tearing, skip it. Plain pillow-shaped gnocchi taste exactly the same and nobody will send them back.