How to Bake Gnocchi in a Pan: Step-by-Step
| ~6 min read | Gnocchi
Baking gnocchi in a pan means cooking the dumplings directly in a skillet with a little fat and liquid, so they come out tender inside with browned, slightly crisp edges — no separate pot of boiling water required. The method works with shelf-stable potato gnocchi and with fresh refrigerated gnocchi; both go straight into the pan raw. It does not work well with frozen gnocchi, which release too much water and turn gluey. You also need an oven-safe skillet (cast iron or stainless steel with an oven-safe handle) or a baking dish, and a sauce with enough moisture to keep the gnocchi from drying out. Everything else is timing and heat.
What You'll Need
- 500 g (about 17.6 oz) shelf-stable or fresh potato gnocchi, unboiled
- 1–2 tablespoons olive oil or butter, plus more for the pan
- An oven-safe skillet, 25–30 cm (10–12 in), or a shallow baking dish
- A sauce: tomato, cream, pesto thinned with a splash of water, or a cheese sauce — about 400–500 g (14–17 oz) for 500 g gnocchi
- Optional toppings: grated Parmesan or mozzarella, torn basil, black pepper
- A food thermometer if the dish contains raw meat or egg
Step-by-Step
- Heat the oven to 220°C (425°F). A hot oven browns the gnocchi before the sauce dries out. If your skillet is not oven-safe, do all the browning on the stovetop and transfer everything to a baking dish before the oven stage.
- Dry the gnocchi. Tip the gnocchi onto a clean kitchen towel or paper towels and pat them dry. Surface moisture is the main reason pan-baked gnocchi stick and steam instead of browning. Do not rinse them.
- Warm the pan and the fat. Put the skillet over medium-high heat and add 1–2 tablespoons of olive oil or butter. Let it shimmer but not smoke. If you are using butter, add a teaspoon of oil to stop it burning.
- Brown the gnocchi in a single layer. Add the gnocchi and spread them out so they are not touching. Leave them alone for 2–3 minutes until the undersides are golden, then toss and brown for another 2 minutes. Work in two batches if the pan is crowded — a crowded pan steams the gnocchi and they turn mushy.
- Season now, not later. Add a pinch of salt and black pepper while the gnocchi are in the pan. Salt added at the end sits on top of the sauce instead of seasoning the dumplings.
- Add the sauce and stir to coat. Pour in 400–500 g of sauce and stir gently so every gnocchi is coated. If the sauce is thick, loosen it with 2–3 tablespoons of water or stock — it should be pourable, not stiff. A dry sauce will scorch in the oven.
- Add cheese if using. Scatter grated Parmesan over the top, or dot with mozzarella if you want a stretchy crust. Keep the layer thin; a heavy blanket of cheese traps steam and makes the gnocchi soft rather than crisp.
- Bake uncovered for 12–18 minutes. The dish is ready when the sauce bubbles at the edges and the top is browned in patches. If the top is browning too fast, cover loosely with foil for the last few minutes.
- Check any raw meat or egg component. If your sauce contains raw poultry, the mixture must reach 74°C (165°F) on a food thermometer; ground beef, pork or lamb must reach 71°C (160°F). Never judge by color. A sauce that is mostly tomato or cream with no raw meat needs no temperature check.
- Rest for 3–5 minutes before serving. The sauce thickens slightly and the gnocchi firm up. Serve straight from the pan with extra pepper and basil.
Common Mistakes
The most frequent failure is skipping the stovetop browning and putting wet gnocchi straight into the oven with sauce. They poach in the liquid and end up with the texture of boiled dough. The second is overcrowding the pan, which produces the same result. Third is using too little sauce: gnocchi absorb liquid as they bake, so a dish that looks saucy going in can be dry 15 minutes later. Fourth is using frozen gnocchi without thawing — thaw overnight in the fridge, never on the counter, and pat dry before cooking. Finally, do not salt the pan like pasta water; gnocchi are dense and absorb salt quickly, so season lightly and taste the sauce instead.
Tips
Choose a sauce with some body: a plain tomato passata, a creamy mushroom sauce, or a cheese sauce all work, while a thin broth will leave the gnocchi soggy. If you want extra crispness, finish the dish for 2–3 minutes under a hot grill, watching closely. A cast iron skillet gives the best browning, but it holds heat, so take the pan out of the oven and let it sit on a trivet, not a cold counter. For a lighter version, use 1 tablespoon of oil and a tomato-based sauce rather than cream. Leftovers keep in the fridge at 4°C (40°F) or below for 3–4 days; reheat in a covered pan over medium heat with a splash of water, or in the microwave, until steaming and reaching 74°C (165°F). Freeze leftovers at -18°C (0°F) for up to 2 months and reheat from frozen in a covered pan. Refrigerate within 2 hours of cooking, or within 1 hour if the room is above 32°C (90°F).
Troubleshooting
The gnocchi are sticking to the pan: the pan was not hot enough or the fat was too sparse. Add another tablespoon of oil, lower the heat slightly, and let the crust release on its own before stirring. The dish is dry: stir in 3–4 tablespoons of warm water or stock, cover with foil, and return to the oven for 5 minutes. The sauce is watery: remove the foil and bake uncovered for another 5–8 minutes, or spoon off excess liquid. The top is burnt but the middle is cold: the oven was too hot or the dish too deep. Cover with foil and bake at 190°C (375°F) until heated through, checking the center with a thermometer. The gnocchi taste gluey: they were overcooked or frozen when they went in. There is no fix once they are gluey — next time brown them first and keep the bake to 15 minutes.
Frequently Asked Questions
Do I need to boil gnocchi before baking them in a pan?
No. Shelf-stable and fresh gnocchi can go straight into the pan. Boiling first adds water and makes them more likely to fall apart in the oven.
Can I use frozen gnocchi?
Yes, but thaw them overnight in the fridge and pat them dry first. Cooking from frozen releases too much water and gives a gluey result.
What temperature should the oven be?
220°C (425°F) for a single layer in a wide skillet. Use 190°C (375°F) if your dish is deep or your oven runs hot.
How long do leftovers last?
3–4 days in the fridge at 4°C (40°F) or below, or up to 2 months frozen at -18°C (0°F). Reheat to 74°C (165°F).
Can I make it ahead?
Brown the gnocchi and assemble the dish up to a day ahead, cover and refrigerate, then bake just before serving. Add 5 minutes to the bake time if it goes in cold.
Is it safe to taste the sauce if it contains raw egg?
No. If your sauce includes raw egg, cook it until it reaches 71°C (160°F) before tasting, or use pasteurized eggs. Never taste raw dough or batter.