
This cheesy baked gnocchi is a big, bubbling dish of comfort food. Tender potato gnocchi are folded together with roasted cherry tomatoes, roasted eggplant, creamy ricotta and a silky tomato cream sauce. The dish is then buried under mozzarella and baked until the top is golden and blistered.
When the dish comes out of the oven, the edges sizzle and the kitchen smells of toasted cheese and sweet roasted tomatoes. A scoop gives you gnocchi soft as pillows, jammy tomatoes that burst in your mouth, melting pieces of eggplant, and long strings of mozzarella. The ricotta stays in soft, creamy pockets that balance the bright sauce.
For a home cook, this one is very forgiving. You don’t need to cook pasta to an exact al dente point or fuss over a delicate sauce. It all comes together in a single baking dish, and you can get the vegetables and sauce ready in advance.
It works for a cozy weeknight, a potluck or a family dinner, and leftovers reheat beautifully for meal prep. It’s also vegetarian, so it’s an easy main course when you’re feeding a mixed crowd.
Why This Recipe Works
Roasting the eggplant and cherry tomatoes before they go into the dish is what gives this casserole its depth. Eggplant holds a lot of water. If you add it raw, it turns spongy and leaves the sauce watery. High heat drives off that moisture and browns the cubes, so they turn sweet and silky. Roasting does the same for the tomatoes: they concentrate into sweet, slightly caramelized bites that add flavor without adding liquid.
The sauce uses tomato passata mixed with heavy cream. That gives it a rich, pourable consistency that coats every gnocchi without drowning them. The cream also stops the acidity of the tomatoes from tasting sharp once everything has baked. The ricotta goes in as dollops and gets stirred only lightly, which leaves creamy pockets throughout instead of one uniform texture.
Finally, the gnocchi are cooked only until they float, then tossed in butter. They finish softening in the oven as they absorb some of the sauce. Because they start slightly underdone, they stay plump and tender instead of going mushy.
Tips for Success
- Salt the gnocchi water well. Gnocchi absorb seasoning as they cook, and underseasoned gnocchi taste flat even under a flavorful sauce.
- Give the vegetables space on the sheet pan. If they’re crowded, they steam instead of brown, so use two pans if your sheet is small.
- Pat the eggplant dry. If your eggplant seems wet after cubing, blot it with a towel before you oil it so it browns faster.
- Use whole-milk ricotta. Part-skim ricotta can turn grainy when baked, while whole-milk stays creamy.
- Make it ahead. Assemble through step 5, cover and refrigerate for up to 24 hours. Add 10 minutes to the baking time if it goes into the oven cold.
- Don’t drown it. The gnocchi drink up sauce as they bake, but too much liquid makes the casserole soupy. Stick to the amounts given.
- Check the sides, not just the top. Bubbling sauce along the glass edges tells you the center is heated through.
- No glass dish? A 3-quart (2.8 L) ceramic casserole dish works just as well. Metal pans brown the bottom a little faster.
Variations
Spinach and ricotta: Fold 3 cups (90 g) of fresh baby spinach in with the sauce in step 4. It wilts in the oven and adds color and an earthy note that suits the ricotta.
Add Italian sausage: For a heartier dish, brown 1 lb (450 g) of sausage removed from its casings and stir it in with the vegetables. The fat and fennel seasoning make the dish richer, and it still serves 6, just more generously.
Smoky mozzarella: Swap half the mozzarella for shredded smoked mozzarella or provolone. The smokiness goes well with the roasted eggplant, and the cheese still melts beautifully.
Spicy tomato sauce: Whisk ½ tsp (1 g) of red pepper flakes into the sauce. The gentle heat cuts through the cream and cheese and makes each bite a little livelier.
FAQ
Can I use homemade gnocchi?
Yes, and they’re delicious here. Boil them only until they float, then handle them gently, because fresh gnocchi are more delicate than store-bought. They may need 3–5 fewer minutes in the oven.
Do I have to boil the gnocchi first?
You can skip boiling with shelf-stable gnocchi, but add ½ cup (120 ml) of extra water to the sauce and cover the dish with foil for the first 15 minutes. Boiling first gives a more reliably tender, evenly cooked result, which is why it’s the method shown here.
Why did my casserole turn out watery?
Most of the time, the vegetables were underroasted or their pan juices went into the dish. Wet, part-skim ricotta can also release liquid. Roast the vegetables until they’re well browned, and let the finished dish rest before serving.
Can I make this dairy-light?
You can swap the cream for whole milk and reduce the mozzarella to 1½ cups (170 g). The sauce will be thinner and less rich, but it still bakes up creamy thanks to the ricotta.
Can I use canned tomatoes instead of fresh cherry tomatoes?
Fresh cherry tomatoes are best because roasting makes them sweet and jammy. In winter, drained canned whole cherry tomatoes will work. Roast them for 15 minutes so they lose some of their liquid.
Storage and Reheating
Let leftovers cool completely, then transfer them to an airtight container or cover the baking dish tightly. They’ll keep in the refrigerator for up to 4 days. The gnocchi will soak up more sauce as they sit, so the texture gets thicker and more compact. Many people find it even more satisfying that way.
To reheat individual portions, microwave for 1½–2 minutes with a tablespoon of water sprinkled over the top, so the sauce loosens. For larger amounts, cover the dish with foil and warm at 350°F (175°C) for 20–25 minutes. Uncover for the last 5 minutes to crisp the cheese again.
The casserole freezes reasonably well for up to 2 months, although the gnocchi soften slightly once thawed. Freeze it in portions in freezer-safe containers. Thaw overnight in the refrigerator, then reheat in the oven as described above.
Serving Suggestions
Serve a crisp green salad dressed with lemon and olive oil alongside. Its fresh acidity balances the rich, cheesy casserole. Warm crusty bread or garlic bread is great for mopping up the creamy tomato sauce left on the plate.
For more vegetables, roasted broccoli or green beans add crunch and a little char to contrast with the soft gnocchi. For a lighter meal, a simple plate of sliced cucumbers and cherry tomatoes with a pinch of salt (about ⅛ tsp) keeps things bright and refreshing.

Final Notes
This cheesy baked gnocchi is the kind of dish that wins over the whole table. It’s creamy, golden and full of sweet roasted vegetables, and it barely needs any effort once everything is in the dish. Once you’ve made it, play with the vegetables and cheeses to suit the season or what’s in your fridge. Whether it’s for a busy weeknight or friends gathered around the table, you’ll want to pass this one around while it’s still sizzling.
Print
Cheesy Baked Gnocchi with Roasted Eggplant and Tomatoes Recipe
- Total Time: 1 hour 15 minutes
- Yield: 6 1x
Description
Pillowy gnocchi baked with roasted eggplant, sweet cherry tomatoes, ricotta and a creamy tomato sauce under a bubbling layer of mozzarella. It’s an easy, crowd-pleasing vegetarian dinner.
Ingredients
- 2 lb (900 g) potato gnocchi, store-bought or homemade
- 2 tbsp (28 g) unsalted butter
- 1 tbsp (18 g) kosher salt, for the cooking water
- ½ tsp (1 g) freshly ground black pepper
- 1 tbsp (4 g) chopped fresh parsley (or 1 tsp dried)
- 1 medium eggplant (about 1 lb / 450 g), cut into ¾-inch (2 cm) cubes
- 2 cups (300 g) cherry tomatoes
- 3 tbsp (45 ml) olive oil
- 1 tsp (6 g) fine salt
- ¼ tsp (0.5 g) black pepper
- 1½ cups (370 g) tomato passata or smooth tomato sauce
- ½ cup (120 ml) heavy cream
- 2 cloves garlic, finely grated
- ½ tsp (3 g) fine salt
- 1 cup (250 g) whole-milk ricotta
- 2 cups (225 g) shredded low-moisture mozzarella
- 10–12 fresh basil leaves, for garnish
Instructions
- Cook the gnocchi and transfer them to the dish. Heat the oven to 400°F (200°C). Bring a large pot of water to a rolling boil and add 1 tbsp salt. Add the gnocchi and cook until they float to the surface, 2–3 minutes. Drain well, return them to the warm pot and toss with the butter, pepper and parsley. Pour them into the baking dish, using a wooden spoon to scrape out the pot. They should look glossy and steaming. Don’t leave the gnocchi boiling after they float, because overcooked gnocchi turn gummy in the oven.
- Add the roasted vegetables and ricotta. Scatter the roasted cherry tomatoes and eggplant cubes over the gnocchi. They should be soft, browned at the edges and slightly shriveled. Spoon the ricotta in large dollops across the dish. You don’t need to spread it out at this stage. If the vegetables have released liquid on the sheet pan, leave it behind rather than tipping it in. That extra moisture would thin the sauce and keep the casserole from setting nicely in the oven.
- Pour in the creamy tomato sauce. In a jug, whisk the passata, cream, garlic and salt until smooth and evenly salmon-orange, with no streaks of white. Pour it slowly over the dish, moving around so it reaches every corner instead of pooling in one spot. The sauce should flow easily, like thick cream. If it seems too thick to pour, whisk in 2 tbsp of water. A common mistake is using a chunky jarred sauce, which won’t coat the gnocchi evenly.
- Stir everything together. Use the wooden spoon to fold gently from the bottom of the dish upward until the sauce coats every gnocchi. Stop while the ricotta is still in streaks and small clumps. Then spread the mixture into an even layer that reaches the corners. When it’s done, it should look orange-pink and creamy, with pieces of tomato and eggplant spread throughout. Avoid stirring hard or mashing, because the gnocchi break easily and the roasted tomatoes will collapse into the sauce.
- Top with mozzarella. Scatter the shredded mozzarella evenly over the surface, letting it fall loosely from your fingers so it doesn’t clump. Cover all the way out to the edges, since the cheese at the edges turns into the crispiest, most delicious bits. A few pieces of eggplant and tomato peeking through is fine. Don’t press the cheese down. A loose layer browns more evenly and lets steam escape, so the top won’t turn soggy and pale.
- Bake until golden and bubbling. Bake uncovered on the middle rack for 25–30 minutes. It’s ready when the sauce is bubbling up along the sides of the dish and the cheese is melted, with deep golden-brown spots across the top. You’ll hear it sizzling at the edges. For more color, broil for 1–2 minutes at the end, but stay right by the oven, because cheese goes from golden to burnt very quickly under the broiler.
- Garnish, rest and serve. Set the dish on a trivet and let it rest for 5–10 minutes. This lets the sauce thicken slightly, so each portion holds its shape. Scatter fresh basil leaves over the top. Scoop out generous portions with a large serving spoon, lifting up so the mozzarella stretches into long strings. Don’t skip the rest. If you serve it straight from the oven, the sauce runs to the bottom of the plate and the cheese is scalding hot.
Notes
- Salt the gnocchi water well. Gnocchi absorb seasoning as they cook, and underseasoned gnocchi taste flat even under a flavorful sauce.
- Give the vegetables space on the sheet pan. If they’re crowded, they steam instead of brown, so use two pans if your sheet is small.
- Pat the eggplant dry. If your eggplant seems wet after cubing, blot it with a towel before you oil it so it browns faster.
- Use whole-milk ricotta. Part-skim ricotta can turn grainy when baked, while whole-milk stays creamy.
- Make it ahead. Assemble through step 5, cover and refrigerate for up to 24 hours. Add 10 minutes to the baking time if it goes into the oven cold.
- Don’t drown it. The gnocchi drink up sauce as they bake, but too much liquid makes the casserole soupy. Stick to the amounts given.
- Check the sides, not just the top. Bubbling sauce along the glass edges tells you the center is heated through.
- No glass dish? A 3-quart (2.8 L) ceramic casserole dish works just as well. Metal pans brown the bottom a little faster.
- Prep Time: 20 minutes
- Cook Time: 55 minutes (including roasting the vegetables)
- Category: Dinner
