Skip to main content
Zimt

Home baking recipes and cinnamon favourites

Cheese, Ham and Spinach Impossible Pie

Time 10 minutes to assemble plus 45-55 minutes baking; Serves 6; The key step is whisking the batter smooth and letting it rest 10 minutes before baking so the flour hydrates evenly and the layers form in the oven.

An impossible pie is a batter pie: flour, milk, eggs and melted fat go into the pan as a liquid, and while it bakes the mixture separates into a thin bottom crust, a custardy middle packed with ham, spinach and cheese, and a slightly puffed top. There is no pastry to roll, no blind baking and no chilling. One bowl, one dish, about an hour to the table.

Cheese, Ham and Spinach Quantities for One 9-Inch Pie

This makes one 9-inch (23 cm) pie, roughly 6 main-course servings. A deep 9-inch dish or a 9-inch pie plate both work; a shallow plate may bubble over, so set it on a sheet pan.

  • 4 large eggs (about 200 g out of the shell)
  • 1 cup (240 ml) whole milk
  • 1/2 cup (60 g) all-purpose flour
  • 1/4 cup (55 g) butter, melted and slightly cooled
  • 1/2 teaspoon salt
  • 1/4 teaspoon black pepper
  • 1/4 teaspoon grated nutmeg
  • 1/4 teaspoon dry mustard powder
  • 1 cup (about 115 g) shredded cheese: sharp cheddar, Gruyere, or a mix of cheddar and mozzarella
  • 1 cup (about 140 g) cooked ham, cut into 1/2-inch dice
  • 1 cup (about 150 g) cooked, squeezed-dry spinach (from about 300 g / 10 oz fresh, or one 10-oz box frozen)
  • 2 scallions, thinly sliced (about 1/4 cup), optional
  • Pinch of cayenne or a few grinds of pepper for heat, optional

If your ham is salty or you use a salty cheese such as feta or Parmesan, cut the added salt to 1/4 teaspoon. Taste nothing raw here: the batter contains raw egg and raw flour, and both carry a risk until cooked.

Whisk, Rest 10 Minutes, Bake at 350F for 45-55 Minutes

  1. Heat the oven to 350F (175C). Grease a 9-inch pie dish or deep dish generously with butter or oil. If the dish is shallow, line it with a sheet pan.
  2. Prepare the spinach first. Thaw frozen spinach and press it hard in a clean kitchen towel or sieve until it holds together and stops dripping; you want about 1 cup of dry, packed spinach. For fresh spinach, wilt it in a dry pan over medium heat for 2-3 minutes, cool, then squeeze out the water the same way. Wet spinach is the most common cause of a soggy pie, so weigh it down and squeeze twice if needed.
  3. In a large bowl, whisk the eggs with the milk, salt, pepper, nutmeg, mustard powder and cayenne until uniformly pale and the yolk is completely broken up, about 1 minute.
  4. Add the flour and whisk for 30-45 seconds until no dry streaks remain. A few small lumps will disappear during resting; large ones will not, so break them against the side of the bowl.
  5. Whisk in the melted butter in a thin stream, then stir in the cheese, ham, squeezed spinach and scallions with a spatula. Scrape the bottom of the bowl so the cheese and ham do not all sink and stay there.
  6. Let the batter rest at room temperature for 10 minutes. This lets the flour hydrate and the bubbles settle, which gives a smoother custard and a more even crust.
  7. Stir once, then pour into the prepared dish. Bake on the middle rack at 350F (175C) for 45-55 minutes, until the center is set: a knife inserted 1 inch from the edge comes out clean, the middle no longer wobbles as a liquid pool when you nudge the dish, and the top is puffed and golden at the edges.
  8. Because the filling contains egg and milk, the custard should reach 160F (71C) in the center on an instant-read thermometer. Check at 45 minutes; if it reads below that, bake in 5-minute additions.
  9. Cool in the dish on a rack for 10-15 minutes before slicing. The pie firms as it cools and slices cleanly at this point; cutting immediately gives a loose, wet wedge.

Expect the pie to puff well above the rim during baking and settle back as it cools. That deflation is normal, not a failure.

Runny, Dry or Dense: What Went Wrong and the Fix

A wet, loose center

The usual cause is spinach that was not squeezed dry, or tomatoes, mushrooms or zucchini added without precooking. One cup of wet spinach can release several tablespoons of water into the custard. Fix it next time by squeezing until the spinach is nearly dry, and cook any watery vegetable first, then drain it. If this pie is already baked and slumps in the middle, return it to a 350F (175C) oven for 8-10 minutes until the center reaches 160F (71C); it will not become a firm slice, but it will be safe and set enough to eat with a spoon. For a pie that is still liquid after the full bake, check the thermometer before assuming underbaking: a center below 160F (71C) means more time, not more flour.

Rubbery, dry or curdled texture

Overbaking drives moisture out and tightens the egg proteins. A pie baked past the set point looks dry at the edges and weeps liquid at the center. Pull it when the center just stops wobbling rather than waiting for a completely firm surface, and always measure with a thermometer at 45 minutes. Curdling comes from high heat or too-long baking; it shows up as a grainy custard with separated liquid. Keep the oven at 350F (175C) and do not increase the temperature to speed things up.

A dense bottom with no crust

An impossible pie forms its crust because the flour sinks before the egg sets. Too much flour, an ungreased dish, or a batter that sat for an hour before baking can stop the layers separating. Whisk the flour in just before pouring and bake promptly once the 10-minute rest ends. Too much cheese piled in one spot also weighs the batter down, so stir the add-ins through evenly and scrape the bowl. If the pie is dense but cooked through, it is still good eating, just more like a savory baked custard than a sliceable pie.

It tastes bland

The custard needs salt and a strong cheese to carry it. Mustard powder and nutmeg are not decoration: both sharpen the flavor of cheese and ham. If your ham is mild, use a sharp cheddar or add a tablespoon of Dijon mustard to the whisked eggs.

Half and Double Batches for Any Dish Size

The recipe halves cleanly for a 6-inch (15 cm) dish or a small ovenproof skillet, and doubles for two 9-inch pies. Do not scale into one large deep dish: a single very deep pie needs a longer bake and the outer edges set before the middle.

IngredientHalf batchSingle (9-inch)Double batch
Eggs2 large4 large8 large
Milk1/2 cup (120 ml)1 cup (240 ml)2 cups (480 ml)
Flour1/4 cup (30 g)1/2 cup (60 g)1 cup (120 g)
Melted butter2 tbsp (28 g)1/4 cup (55 g)1/2 cup (110 g)
Shredded cheese1/2 cup (about 57 g)1 cup (about 115 g)2 cups (about 230 g)
Cooked ham1/2 cup (about 70 g)1 cup (about 140 g)2 cups (about 280 g)
Dried spinach1/2 cup (about 75 g)1 cup (about 150 g)2 cups (about 300 g)

A half batch in a 6-inch dish bakes at the same 350F (175C) but takes about 30-40 minutes; start checking at 30 minutes and read for 160F (71C). For two pies, bake them side by side and add 5-10 minutes if the oven is crowded, rotating the dishes once halfway. Ham gives a mild flavor; cooked bacon, crumbled sausage or smoked turkey all work in the same 1-cup amount, and a plain ham and cheese version drops the spinach and keeps everything else.

Fridge 3-4 Days, Freezer Up to 2 Months

Cool the pie to room temperature within 2 hours of baking, then cover and refrigerate. It keeps 3-4 days in a sealed container in the fridge. Any portion left out longer than 2 hours (1 hour above 90F/32C) should be discarded; do not judge it by smell or taste.

To reheat, cover with foil and warm in a 325F (165C) oven for 15-20 minutes, until the center reaches 165F (74C). Microwaving a slice for 60-90 seconds works but softens the crust. The pie freezes well: slice it, wrap each piece tightly, and store up to 2 months; thaw overnight in the fridge, then reheat covered. Slices can be eaten cold, though the custard is firmer and the crust less crisp.

Read next