How Long to Cook Gnocchi

The most common methods of cooking gnocchi are boiling, baking, and pan frying. Any way you choose you're bound to have a delicious meal!

This page may contain affiliate links. Find out more in our privacy policy.

Cooking gnocchi might sound like a complicated and fancy dish, but it’s actually one of the quickest and easiest pasta to cook! Because it’s not really pasta, it’s a dumpling!

Showing how long to cook gnocchi in a pot.


Table of Contents


What is Gnocchi?

In order to know how long to cook gnocchi, we have to understand what it is. Gnocchi is a dumpling made from potatoes that is often found in Italian cooking. A traditional fresh gnocchi recipe requires potatoes, eggs, flour, and possibly cheese. You can make homemade gnocchi from scratch, get store-bought gnocchi in the pasta aisle, or get it frozen. There are many variations you can buy now, including cauliflower and sweet potato gnocchi!

So if it’s so similar to pasta, how is cooking it any different? Well, let me tell you!


How Long to Cook Gnocchi and Different Methods

There are four main ways to cook gnocchi. All are great options, it just depends on the type of dish you are making and the type of gnocchi you are using. We’ll go over each method below.


How long to boil gnocchi in water

This is the most common way to cook gnocchi. This method can be used no matter what dish you are making because it doesn’t add any flavor to the gnocchi. However, this method should not be used for cauliflower or kale gnocchi as it tends to disintegrate when boiled.

To boil gnocchi:

  1. Bring pot of salted water to a boil over medium heat.
  2. Add gnocchi to the pot.
  3. Let them cook for 3-5 minutes until the gnocchi float to the top (regardless if frozen or not).
  4. Then, strain or remove with a slotted spoon and enjoy!


A pot of water and gnocchi.


How long to boil gnocchi in sauce

Boiling your gnocchi in sauce is similar to boiling it in water except it eliminates a step! This method only works for super saucy gnocchi dishes, however, because you need at least enough liquid to mostly cover the gnocchi while it softens. Because gnocchi is potato base, it won’t release much moisture while cooking in sauce, so you don’t have to worry about the sauce thinning out.

To boil gnocchi in a sauce:

  1. Make your sauce as directed, reserving any finishing cream or cheese for the end.
  2. Add gnocchi to the pan with sauce and bring to a low boil or simmer.
  3. Cook for 5-10 minutes covered, until the gnocchi is softened.
  4. Add any remaining cream or cheese and enjoy!


Recipe Examples:

Creamy Vegan Gnocchi

One Pot Chicken Florentine Gnocchi


How long to pan fry gnocchi

Pan-frying gnocchi is a method that can be used with any type of gnocchi but is best used to make cauliflower or kale gnocchi. This is because these versions of gnocchi do not contain flour as a binding agent so frying them does not disrupt their natural state like boiling would.

To pan-fry gnocchi:

  1. Heat oil or butter in a pan over medium heat. Add gnocchi to hot pan. It’s super important to have enough oil to keep them from sticking because the low-carb version of gnocchi has a habit of sticking.
  2. Fry for 8-10 minutes until golden brown and soft. Then use as desired!


Recipe examples:

Brown Butter Fried Gnocchi

Pan Fried Gnocchi With Spinach and Sausage


How long to bake gnocchi

Baking gnocchi can be done in two ways: in a sauce or on a baking sheet. Most gnocchi can be made in the oven in a sauce, but not cauliflower and kale gnocchi! Any kind of gnocchi, however, can be oven baked on a baking sheet. This method is actually ideal for cooking cauliflower or kale gnocchi as it results in a crisp exterior but they are soft inside.

To bake gnocchi in a sauce:

  1. Preheat oven to 350 degrees
  2. Add all ingredients to a deep baking dish (like the viral TikTok for feta pasta), such as a cake or casserole pan.
  3. Add gnocchi and press them down to ensure they are all mostly covered in liquid.
  4. Bake for 15-20 minutes until soft. Then mix everything together and top with more cheese if desired!


Scooping tomato feta gnocchi out of a pot.


How long to cook gnocchi on pan in the oven:

  1. Preheat oven to 400 degrees
  2. Spread gnocchi over a sheet pan in a single layer and spray or drizzle with oil
  3. Bake for 10-15 minutes, until golden brown and soft. Then use as desired!


Recipe Examples:

Feta and Tomato Gnocchi Bake

Baked Gnocchi With Sage and Cheese Sauce


Types of Gnocchi and How Long to Cook Them

As discussed, there are some variations to gnocchi. While all require pretty similar cooking times, I like to use this list as a quick reference.


Frozen Low-Carb Gnocchi: This would be like cauliflower or kale gnocchi. They are always sold frozen and do not have flour in them.

  • Boil in water: Don’t do it!
  • Boil in sauce: Don’t do it!
  • Baked: 12-15 minutes
  • Pan Fried: 8-10 minutes


Frozen Veggie and Flour Gnocchi: This includes sweet potato, traditional potato, partial cauliflower, or other partial veggie gnocchi.

  • Boil in water: 3-5 minutes
  • Boil in sauce: 12-15 minutes
  • Baked: 15-20 minutes
  • Pan Fried: 10-12 minutes


Dried Gnocchi: This would be any gnocchi found in the pasta aisle, stored at room temperature. These times will also work for regular gnocchi that is refrigerated.

  • Boil in water: 2-3 minutes
  • Boil in sauce: 10-12 minutes
  • Baked: 13-15 minutes
  • Pan Fried: 10-12 minutes


Tips For Cooking Gnocchi

It’s all about texture! If you aren’t sure if the gnocchi is done, take it out and prick it with a fork. It should be fork tender, then you’ll know it’s done.

It’s always a good idea to check the packaging to see what method of cooking it recommends. Sometimes low carb gnocchi can be tricky because, for example, some cauliflower gnocchi is 100% cauliflower while others are only 40% and they are best cooked using different methods. So, just be sure you know which kind you have!


Gnocchi in a strainer on top of a pot.

How Long to Cook Gnocchi

Servings: 2
Total Time: 5 minutes
Boiling gnocchi is the easiest and most common way to cook it.
5 from 1 vote
Print Pin Rate
Course: dinner
Cuisine: Italian
Keyword: boil, gnocchi, stove
Cook Time: 5 minutes
Total Time: 5 minutes
Calories: 367 kcal


  • 1 pound gnocchi


  • Bring water and salt to a boil in a large pot.
  • Add gnocchi to boiling water and cook for 3-5 minutes, until the gnocchi floats to the top of the water.
  • Remove from heat and strain out the gnocchi.
  • Enjoy with your favorite sauce!


Nutritional information is an estimate and for informational purposes only.


Calories: 367kcal | Carbohydrates: 80g | Protein: 9g | Fat: 2g | Saturated Fat: 1g | Sodium: 769mg | Fiber: 5g | Calcium: 45mg | Iron: 8mg
Did you try this? We'd love to hear how it went. Please leave a review below! Or, follow and tag us on Instagram!Mention @_Joytothefood_ or tag #joytothefood!


Submit a Comment

Your email address will not be published. Required fields are marked *

Recipe Rating

Photo of mika and dan smiling

Welcome to Joy to the Food! We’re so glad you’re here. We’re Mika and Dan, and the two Nalas (our spunky pups). We’re all about easy and affordable recipes that bring joy to the kitchen and make life stress free!