German Onion Pie (Printable)

Savory tart with caramelized onions, bacon, and creamy custard filling on flaky pastry crust.

# What you'll need:

→ Pastry

01 - 2 cups all-purpose flour
02 - 1/2 teaspoon salt
03 - 1/2 cup unsalted butter, cold, cubed
04 - 1 large egg
05 - 2–3 tablespoons cold water

→ Filling

06 - 2 tablespoons unsalted butter
07 - 1 lb yellow onions, thinly sliced
08 - 5 oz thick-cut bacon, diced
09 - 1/2 teaspoon caraway seeds
10 - 1 teaspoon salt
11 - 1/2 teaspoon ground black pepper
12 - 1/4 teaspoon freshly grated nutmeg

→ Custard

13 - 1 cup heavy cream
14 - 1/2 cup whole milk
15 - 3 large eggs
16 - 1/2 cup grated Emmental or Gruyère cheese

# Directions:

01 - Combine flour and salt in a large bowl. Cut in cold butter until mixture resembles coarse crumbs. Add egg and enough cold water to form a soft dough. Shape into a disk, wrap in plastic, and refrigerate for 30 minutes.
02 - Preheat oven to 375°F. Roll out the chilled dough on a floured surface to fit a 9-inch tart or pie pan. Press dough into pan, trim excess edges, and prick base with a fork. Refrigerate until ready to fill.
03 - Melt butter in a large skillet over medium heat. Add bacon and cook until just crisp, then remove and set aside. Add onions to the pan and cook gently, stirring frequently, for 15–20 minutes until golden and very soft. Stir in caraway seeds, salt, pepper, and nutmeg. Remove from heat and mix in cooked bacon.
04 - Whisk together heavy cream, whole milk, eggs, and grated cheese in a bowl until smooth and well combined.
05 - Spread the caramelized onion mixture evenly over the prepared pastry crust. Pour the custard mixture over the onions, ensuring even distribution.
06 - Bake for 40–45 minutes until the filling is completely set and the top is lightly golden. Allow to cool for 10 minutes before slicing.
07 - Serve warm or at room temperature. Pairs excellently with a crisp German white wine such as Riesling, or alongside a green salad and sauerkraut for a complete meal.

# Expert Suggestions:

01 -
  • The combination of sweet slow-cooked onions and smoky bacon creates layers of flavor that deepen as they bake
  • That custard filling makes every slice impossibly creamy while staying light enough for seconds
  • It travels beautifully and tastes even better at room temperature, making it perfect for potlucks
02 -
  • I learned the hard way that hot filling melts into cold pastry dough, creating a soggy bottom crust every single time
  • The custard will still look slightly jiggly when you take it out, but it firms up beautifully during those crucial ten minutes of resting
  • Cutting into it too soon is heartbreaking, the custard needs time to set or you will end up with a delicious but messy puddle
03 -
  • Use the largest skillet you have when caramelizing onions, overcrowding the pan causes them to steam instead of brown properly
  • A glass pie plate lets you monitor the bottom crust for doneness without opening the oven door repeatedly