Baked Gnocchi From Scratch: A Complete Guide
| ~6 min read | Homemade Pasta
Sections
Yes, you can absolutely make baked gnocchi from scratch, and it is one of the most rewarding comfort dishes a home cook can master. You make the gnocchi dough from potatoes (or ricotta, or flour), shape and boil the dumplings until they float, then bake them in a sauce under cheese until the top browns and bubbles. The result is crispy on top, pillowy underneath, and sturdy enough to hold a rich sauce that would overwhelm plain boiled gnocchi. The key is getting the dough light, salting the water properly, and choosing a sauce that will not turn everything to mush in the oven.
What Baked Gnocchi Actually Is
Baked gnocchi is boiled gnocchi that has been transferred to a baking dish, combined with sauce and cheese, and finished in a hot oven. It sits somewhere between a pasta bake and a potato gratin. The baking step adds a crisp golden crust and a deeper, more concentrated flavor, and it lets you build in layers of cheese, herbs, and vegetables that would not survive a quick toss in a pan.
You will see two main approaches. The first is a fully boiled-then-baked method, where the gnocchi cooks in salted water first and then goes into the oven with sauce. The second, often called a no-boil method, has you put raw gnocchi straight into the baking dish with a looser sauce and extra liquid, relying on the oven to cook them. Both work, but the boiled-then-baked route gives you more control and a more predictable texture, so it is the safer choice when you are just starting out.
Making the Gnocchi Dough From Scratch
The classic dough is potato-based. You bake or boil starchy potatoes, rice or mash them while hot, and fold in flour and egg until a soft dough forms. The single biggest factor in whether your gnocchi turns out light or leaden is how much flour you add, and the second is how hot the potatoes are when you work them.
Here is the standard process:
- Bake or boil about 2 pounds (900 g) of starchy potatoes until completely tender. Baking dries them out and reduces water content, which means you need less flour.
- Peel the potatoes and pass them through a ricer or food mill while still hot. Let the riced potato spread out and steam off for a few minutes.
- Add about 1 to 1.5 cups (120 to 180 g) of all-purpose flour, one egg, and a generous pinch of salt. Fold gently with your hands or a bench scraper. Stop as soon as the dough holds together; it should feel soft and slightly tacky, not stiff.
- Divide the dough, roll it into ropes about 3/4 inch thick, and cut into 1-inch pieces. Roll each piece over a fork or gnocchi board if you like ridges.
- Boil in well-salted water. The gnocchi are done when they float to the surface, usually 1 to 2 minutes after they rise.
Salt the water generously, as you would for pasta, because the gnocchi absorb seasoning as they cook. For ricotta gnocchi, the method is simpler: combine well-drained ricotta, egg, grated Parmesan, flour, and salt, then shape and boil. Ricotta gnocchi are more delicate and bake into a softer casserole, so handle them gently.
Choosing Your Sauce and Cheese
The sauce needs to be thick enough to coat the gnocchi without drowning them. A watery sauce will make the dish soggy and prevent the top from browning. Good options include:
- A thick tomato sauce, simmered down so it is almost jammy.
- A béchamel or white sauce, which is the base of most classic baked gnocchi dishes and pairs beautifully with Parmesan.
- Brown butter with sage, tightened with a splash of cream.
- A simple tomato-cream blend, which gives you the acidity of tomato with the body of cream.
For cheese, mozzarella provides stretch and browning, while Parmesan or Pecorino adds salty depth. Mixing them gives you both. A layer of grated cheese on top is what turns golden in the oven; without it, the surface stays pale and soft.
How to Bake It
Preheat your oven to 400°F (200°C). Toss the boiled and drained gnocchi with the sauce, then transfer to a lightly oiled baking dish. Top with cheese and bake for 15 to 25 minutes, until the sauce bubbles at the edges and the cheese is browned. If the top is browning too fast, cover with foil and continue baking until the center is hot. The dish is ready when a food thermometer inserted in the center reads at least 165°F (74°C), which confirms the sauce and gnocchi are thoroughly heated through.
Let the dish rest for 5 to 10 minutes before serving so the sauce settles and the portions hold together.
Common Problems and How to Fix Them
Most baked gnocchi failures trace back to a handful of issues. Too much flour makes the gnocchi dense and rubbery; the fix is to add flour in smaller increments and stop early. Potato water content is the hidden culprit, so bake rather than boil when possible, and never add water back into the mash. Overcrowding the baking dish traps steam and prevents browning, so choose a dish that holds a single generous layer. If the dish turns out soupy, the sauce was too thin or the gnocchi were not drained well; drain them thoroughly and reduce the sauce before baking. If the gnocchi fall apart in the water, the dough was too wet, so work in a little more flour next time and handle the dough gently.
Storage, Reheating, and Safety
Cool leftovers within 2 hours (1 hour if the room is above 90°F), cover, and refrigerate at 40°F (4°C) or below. Cooked baked gnocchi keeps for 3 to 4 days in the fridge. Reheat in a 350°F (175°C) oven covered with foil until the center reaches 165°F (74°C), or reheat individual portions in the microwave until steaming hot. Freeze leftovers at 0°F (-18°C) for up to a couple of months; thaw in the fridge, never on the counter.
Frequently Asked Questions
Can I bake gnocchi without boiling them first?
Yes, but it is less forgiving. Raw gnocchi baked in a loose sauce with extra liquid can cook through, but you must ensure they are fully tender and the center of the dish reaches at least 165°F (74°C). Boiling first is more reliable.
Why did my gnocchi turn out gummy?
Gummy gnocchi usually mean too much flour, overworking the dough, or potatoes that were too wet. Use starchy potatoes, rice them hot, and add flour gradually.
Can I make baked gnocchi ahead of time?
Yes. Assemble the dish, cover, and refrigerate for up to 24 hours before baking. Add a few extra minutes to the baking time and check that the center reaches 165°F (74°C).
Do I have to use potatoes?
No. Ricotta gnocchi are a popular alternative and bake into a softer, lighter dish. Flour and semolina gnocchi also exist, but they behave differently and may need a different baking time.
How do I get a crispy top?
Use a shallow dish so more surface is exposed, do not overload the sauce, and top with plenty of grated cheese. Baking at a higher oven temperature browns the top faster.
Can I freeze baked gnocchi?
Yes. Cool it completely, then freeze in a sealed container at 0°F (-18°C). Thaw in the fridge and reheat until the center reaches 165°F (74°C).