Cheesy baked gnocchi with spinach and marinara sauce combines pillowy potato dumplings, rich tomato sauce, creamy ricotta, and a golden mozzarella topping. It has the comfort of a baked pasta dish, but packaged gnocchi keeps the preparation quick enough for a practical weeknight dinner.
RECIPE CARD
Cheesy Baked Gnocchi with Spinach and Marinara Sauce
Ingredients
- 1 pound (450g) potato gnocchi
- 1 tablespoon olive oil, plus more for the baking dish
- 2 cloves garlic, minced
- 4 cups baby spinach
- 2 cups marinara sauce
- 1 teaspoon Italian seasoning
- 1 cup whole-milk ricotta cheese
- 1 1/2 cups shredded low-moisture mozzarella cheese
- 1/2 cup finely grated Parmesan cheese
- 1/4 teaspoon black pepper
- 1/4 teaspoon crushed red pepper flakes (optional)
- Fresh basil, for serving (optional)
Quick Method
Condensed overview. Use Full Instructions for the complete method, timing and doneness details.
- Cook the gnocchi: Heat oven to 375°F (190°C). Boil gnocchi in salted water until they float, cook 30 seconds longer, reserve 1/2 cup cooking water, and drain.
- Wilt the spinach: Heat olive oil in a skillet over medium heat. Cook garlic for 30 seconds, then add spinach in batches and cook just until wilted.
- Combine: Gently fold gnocchi with spinach, marinara, Italian seasoning, black pepper, and dollops of ricotta. Add cooking water if needed.
- Assemble: Transfer to a lightly oiled baking dish. Sprinkle evenly with mozzarella and Parmesan.
- Bake: uncovered for 20 to 25 minutes until bubbling and melted. Broil briefly for extra browning if desired.
- Rest and serve: Rest for 5 minutes, garnish with basil and optional red pepper flakes, and serve warm.
The dish comes together in distinct, manageable stages: briefly boil the gnocchi, wilt the spinach with garlic, combine everything with marinara and ricotta, then bake until bubbling. If you enjoy cozy one-pan flavors, our creamy Tuscan chicken skillet is another satisfying dinner.
Why You’ll Love It
- Comforting texture: Tender gnocchi, creamy ricotta, and browned cheese make every serving rich and satisfying.
- Easy preparation: Store-bought gnocchi and marinara reduce prep work without sacrificing homemade appeal.
- Vegetarian and adaptable: Spinach adds freshness, while extra vegetables or herbs are easy to include.
Ingredients You’ll Need
Use shelf-stable or refrigerated potato gnocchi and follow its package directions for boiling. A flavorful marinara forms the base, so choose one with a balanced tomato flavor rather than excessive sweetness. Fresh baby spinach wilts quickly, and garlic adds depth without requiring a long simmer.

Whole-milk ricotta creates creamy pockets throughout the casserole. Low-moisture mozzarella melts evenly and browns well, while Parmesan adds savory sharpness. Fresh basil is optional but brings a fragrant finish. Salt carefully because packaged sauce and both cheeses already contribute seasoning.
How to Make Cheesy Baked Gnocchi
1. Cook the gnocchi briefly
Heat the oven to 375°F (190°C) and lightly oil a three-quart baking dish. Bring a large pot of salted water to a steady boil. Add the gnocchi and stir gently so they do not settle on the bottom. Once they float, cook for about 30 seconds longer, then drain promptly.
Do not overcook the gnocchi at this stage because they soften further in the oven. Reserve half a cup of cooking water before draining; a small splash can loosen a thick marinara mixture later.

2. Wilt the spinach with garlic
Warm olive oil in a large skillet over medium heat. Add the minced garlic and stir for about 30 seconds, just until fragrant. Add the spinach in batches, turning it as each handful wilts. Season lightly with black pepper and remove the skillet from the heat once the leaves are tender.

3. Combine the filling
Place the drained gnocchi in a large bowl. Add the wilted spinach, marinara sauce, Italian seasoning, and spoonfuls of ricotta. Fold gently until the gnocchi is evenly coated but some visible ricotta pockets remain. If the mixture looks unusually thick, add reserved cooking water one tablespoon at a time.

4. Assemble and add the cheese
Transfer the mixture to the prepared baking dish and spread it into an even layer. Sprinkle mozzarella over the full surface, followed by Parmesan. Keeping the topping even ensures each portion receives both creamy interior cheese and a browned, savory crust.

5. Bake until bubbling
Bake uncovered for 20 to 25 minutes, until the sauce bubbles around the edges and the cheese has melted. For deeper color, broil for one or two minutes at the end, watching constantly. Let the casserole rest for five minutes before serving so the sauce settles and the portions hold together.
Tips for Tender Gnocchi
The most important step is avoiding overcooking. Boil the gnocchi only until it floats, drain well, and remember that the oven provides additional cooking time. A thick sauce protects the dumplings without making the casserole watery, but extremely dense marinara benefits from a spoonful of cooking water.
Drain wilted spinach if it releases visible liquid. Excess moisture can thin the sauce and prevent the cheese from browning. Use low-moisture mozzarella rather than fresh mozzarella, which releases more water during baking.
Variations and Serving Ideas
Add sautéed mushrooms, diced bell pepper, zucchini, or roasted eggplant for more vegetables. Red pepper flakes provide heat, while chopped olives add briny flavor. For extra protein, stir in cooked Italian sausage or white beans before transferring the mixture to the baking dish.
Serve with a crisp green salad, steamed broccoli, or garlic bread. For a brighter vegetable side, pair smaller portions with zesty lemon orzo with roasted vegetables. A lighter lunch the next day can include our avocado chickpea wrap.
Storage and Reheating
Cool leftovers promptly and refrigerate them in a sealed container for up to four days. Reheat individual portions in the microwave at moderate power, or cover the baking dish with foil and warm it in a 350°F oven until hot. Add a spoonful of marinara if the gnocchi seems dry.
You can assemble the casserole up to one day ahead. Cover and refrigerate it before baking, then add about five minutes to the oven time. Freezing is possible, although ricotta and gnocchi may become slightly softer after thawing; defrost overnight in the refrigerator before reheating.
Frequently Asked Questions
Can I bake gnocchi without boiling it first?
Some shelf-stable gnocchi can cook directly in a generous amount of sauce, but results vary by brand. Brief boiling is the most reliable method for a tender center and prevents the casserole from becoming dry while the gnocchi cooks.
Can I use frozen spinach?
Yes. Thaw it completely and squeeze out as much liquid as possible before adding it to the sauce. About half a cup of well-drained frozen spinach can replace the fresh spinach in this recipe.
How do I get a golden cheese topping?
Use low-moisture mozzarella, spread it evenly, and bake uncovered. If the casserole is bubbling but still pale, broil briefly while watching closely. Keep the dish several inches from the heating element to avoid scorching.
Final Notes
Cheesy baked gnocchi with spinach and marinara sauce is at its best when the dumplings are only briefly boiled, the spinach is well drained, and the topping is baked until genuinely bubbling. Those simple details create a cozy vegetarian casserole with tender gnocchi, rich tomato flavor, creamy cheese, and a golden finish.