Cheesy Gnocchi Casserole with Ham and Peas
This cheesy gnocchi casserole with ham and peas is a one-dish comfort meal that turns pillowy potato gnocchi into a creamy, golden-baked dinner. The ham adds a savory, smoky bite, the peas bring a pop of sweetness, and a bubbling cheese sauce ties it all together. It’s a practical weeknight dish because it uses pantry staples and comes together in about 45 minutes, with no need to boil the gnocchi first.
Serves 6 · Prep 15 min · Cook 35 min · Total 50 min
Ingredients
- 1 lb (450 g) shelf-stable or refrigerated potato gnocchi
- 2 tbsp (28 g) unsalted butter
- 2 tbsp (16 g) all-purpose flour
- 2 cups (480 ml) whole milk, warmed
- 1 cup (120 g) shredded sharp cheddar cheese
- 1/2 cup (50 g) grated Parmesan cheese
- 1/2 tsp garlic powder
- 1/4 tsp onion powder
- 1/4 tsp black pepper
- 1/4 tsp salt, plus more to taste
- 1 1/2 cups (210 g) diced cooked ham (about 8 oz / 225 g)
- 1 cup (130 g) frozen peas, thawed
- 1/2 cup (60 g) shredded mozzarella cheese (for topping)
- 1 tbsp chopped fresh parsley (optional, for garnish)
Instructions
- Preheat your oven to 375°F (190°C). Lightly grease a 9x13-inch (23x33 cm) baking dish or a 2.5-quart (2.4 L) casserole dish.
- If using shelf-stable gnocchi, check the package; most do not require boiling. If using refrigerated gnocchi, you can use it straight from the package—it will cook in the sauce. If you prefer a softer texture, boil the gnocchi in salted water for 2 minutes until they float, then drain and set aside.
- In a large skillet or saucepan over medium heat, melt the butter. Whisk in the flour and cook for 1 minute, stirring constantly, until the mixture is bubbly and lightly golden.
- Gradually whisk in the warm milk. Continue whisking until the sauce thickens, about 3–4 minutes. It should coat the back of a spoon.
- Reduce the heat to low. Add the shredded cheddar, Parmesan, garlic powder, onion powder, black pepper, and salt. Stir until the cheeses are fully melted and the sauce is smooth. Taste and adjust salt if needed.
- Add the gnocchi, diced ham, and peas to the sauce. Stir gently until everything is evenly coated.
- Transfer the mixture to the prepared baking dish and spread it into an even layer. Sprinkle the mozzarella cheese over the top.
- Bake for 20–25 minutes, until the casserole is bubbling around the edges and the top is golden brown. If you want a deeper golden crust, switch to broil for the last 2 minutes, watching closely to prevent burning.
- Let the casserole rest for 5 minutes before serving. Garnish with parsley if desired.
Tips
- Don’t overcook the gnocchi: If you boil them first, cook only until they float (about 2 minutes). Overcooked gnocchi become mushy and will break apart in the casserole.
- Use a good melting cheese: Sharp cheddar gives the most flavor, but you can swap in Gruyère, Gouda, or Monterey Jack. Avoid pre-shredded cheese with anti-caking additives if possible—it melts less smoothly.
- Thaw the peas: Frozen peas can be added straight from the freezer, but thawing them first (rinse under warm water or leave at room temperature for 10 minutes) prevents the casserole from cooling down too much in the oven.
- Make it ahead: Assemble the casserole (without the mozzarella topping) up to 24 hours in advance, cover, and refrigerate. Add the mozzarella just before baking, and increase the bake time by 5–10 minutes since you’re starting from cold.
Serving Suggestions
Serve this casserole hot with a simple green salad dressed in lemon vinaigrette to cut through the richness. It also pairs well with steamed broccoli, roasted asparagus, or a crusty baguette. For a heartier meal, add a side of garlic bread or a bowl of tomato soup.
Variations
- Swap the ham: Use cooked bacon (about 6 slices, crumbled), diced cooked chicken, or leftover turkey instead of ham.
- Add vegetables: Sautéed mushrooms, spinach, or roasted red peppers work well. If adding spinach, stir in 2 cups (60 g) fresh baby spinach at the end of step 5 and let it wilt.
- Make it spicier: Add 1/4 tsp red pepper flakes or a pinch of cayenne to the cheese sauce.
- Try a different cheese combo: Replace the cheddar with smoked Gouda or add 1/4 cup (25 g) crumbled blue cheese for a sharper bite.
- Gluten-free option: Use gluten-free gnocchi and swap the all-purpose flour for a 1:1 gluten-free flour blend. The sauce will still thicken properly.
Storage and Reheating
Refrigerate leftovers in an airtight container within 2 hours of cooking. The casserole will keep for 3–4 days. To reheat, place a portion in the microwave for 1–2 minutes, stirring halfway, or reheat in a 350°F (175°C) oven for 10–15 minutes until warmed through. If the sauce looks dry after refrigeration, add a splash of milk before reheating. You can also freeze the baked casserole for up to 2 months—thaw overnight in the refrigerator and reheat in the oven at 350°F (175°C) until hot and bubbly, about 20–25 minutes.
Frequently Asked Questions
Do I need to boil the gnocchi before baking? No, not if you’re using shelf-stable gnocchi—they cook in the sauce during baking. If you’re using fresh refrigerated gnocchi, you can also skip boiling; they will soften in the oven. Boiling first gives a softer texture, but it’s optional.
Can I use a different type of milk? Yes, you can use 2% or skim milk, but the sauce will be slightly less creamy. For a richer sauce, use half-and-half or a mix of milk and cream. If using a non-dairy milk, choose an unsweetened plain version like oat or soy, and be aware the sauce may be thinner.
Why is my cheese sauce lumpy? Lumps usually come from adding the milk too quickly or not whisking enough. Add the milk gradually in a slow stream while whisking constantly. If lumps do form, you can blend the sauce with an immersion blender before adding the gnocchi.
Can I make this casserole vegetarian? Absolutely. Simply omit the ham and add an extra cup of vegetables like mushrooms, zucchini, or bell peppers. You could also add a can of drained chickpeas for protein.
Is it safe to reheat leftovers more than once? It’s best to reheat only the amount you plan to eat. Repeated reheating can affect texture and increase food safety risk. Always reheat leftovers to an internal temperature of 165°F (74°C) before serving.
Can I prepare this in a slow cooker? It’s not recommended. The cheese sauce can curdle or separate with long, slow cooking, and the gnocchi can become overly soft. The oven method gives the best texture.