German Onion Pie

Golden brown German onion pie with caramelized onions and crispy bacon on a flaky pastry crust Save to Pinterest
Golden brown German onion pie with caramelized onions and crispy bacon on a flaky pastry crust | therecipepath.com

This traditional German onion tart combines slowly caramelized onions with smoky bacon in a rich, custard-like filling. The dish features a buttery homemade pastry crust that provides the perfect base for the savory mixture. With its golden top and comforting flavors, this tart has been a staple at German gatherings for generations.

The preparation involves creating a simple pastry dough from scratch, then cooking down onions until they're deeply golden and sweet. The creamy custard binding everything together includes heavy cream, whole milk, eggs, and nutty Swiss cheese. After baking, the tart emerges with a set, lightly browned top that's perfect for serving warm or at room temperature.

This versatile dish works beautifully as a main course for lunch or dinner, accompanied by a fresh green salad or tangy sauerkraut. It's particularly popular during autumn months and Oktoberfest celebrations, though it's enjoyed year-round in German households. The tart can easily be adapted for vegetarians by omitting the bacon or substituting it with smoked tofu for that essential umami flavor.

The first time I encountered Zwiebelkuchen was at a rainy Oktoberfest in Munich, where steam rose from paper plates carried through crowded beer tents. Something about the combination of sweet, slow-cooked onions and smoky bacon felt like comfort itself, and I knew I had to recreate that memory in my own kitchen. Now every autumn, when the air turns crisp and onions are at their sweetest, this tart makes an appearance on my dinner table.

Last fall I made this for a dinner party when my oven thermostat decided to malfunction, leaving the custard slightly jiggly in the center. My guests didnt care one bit, actually preferring the softer texture, and we ended up eating it straight from the pan while standing around the kitchen island, talking late into the evening.

Ingredients

  • All-purpose flour: The foundation of a tender, flaky crust that holds up to the wet filling without becoming soggy
  • Cold unsalted butter: Keeping it cold is the secret to creating those perfect buttery layers in the pastry
  • Yellow onions: Thinly slicing them helps them cook down evenly into that signature jamlike consistency
  • Thickcut bacon: Adds smoky depth that balances the sweetness of the caramelized onions
  • Caraway seeds: An optional but classic German addition that adds a subtle earthy, aromatic note
  • Nutmeg: Just a quarter teaspoon provides warmth and complexity that people notice but cant quite identify
  • Emmental or Gruyère cheese: These melting cheeses add nutty flavor and help the custard set beautifully

Instructions

Make the pastry dough:
Combine flour and salt in a large bowl, then work in cold butter with your fingers or a pastry cutter until the mixture looks like coarse crumbs. Mix in the egg and just enough cold water to bring everything together into a soft dough, then form it into a disk, wrap tightly, and let it rest in the refrigerator for at least 30 minutes.
Prepare your crust:
Roll the chilled dough on a lightly floured surface until its large enough to fit your tart pan, then carefully transfer it and press it into the edges. Trim any excess, prick the bottom all over with a fork, and keep it chilled while you work on the filling.
Caramelize the onions:
Cook the diced bacon in a large skillet until its just crisp, then remove it and set it aside. In the same pan, melt butter over medium heat and add the sliced onions, cooking them gently for 15 to 20 minutes while stirring often until theyre golden and completely soft. Season them with caraway seeds, salt, pepper, and nutmeg, then stir the bacon back in.
Whisk the custard:
In a medium bowl, combine the heavy cream, whole milk, eggs, and grated cheese, whisking until the mixture is completely smooth and frothy.
Assemble and bake:
Spread the onion mixture evenly over your prepared crust, then carefully pour the custard over the top. Bake at 375°F for 40 to 45 minutes until the filling is set and golden on top, then let it cool for about 10 minutes before slicing.
Savory German onion pie tart sliced showing creamy custard filling with golden melted cheese topping Save to Pinterest
Savory German onion pie tart sliced showing creamy custard filling with golden melted cheese topping | therecipepath.com

My grandmother used to say that the best dishes are those that make your entire house smell wonderful before anyone even takes a bite, and this onion pie proves her point every time. The aroma alone draws people into the kitchen, asking what could possibly smell so incredible.

Making It Vegetarian

Simply skip the bacon or replace it with smoked tofu cubes for a vegetarian version that still delivers plenty of savory depth. You might also add extra cheese or some sautéed mushrooms to compensate for the lost smokiness.

Serving Suggestions

A crisp green salad with a vinaigrette cuts through the richness perfectly, while sauerkraut adds a bright, tangy contrast that feels completely authentic. In Germany, this is often served with Federweißer, a partially fermented young wine that bubbles slightly and pairs beautifully with the onions and cream.

Make Ahead Tips

The pastry dough can be made up to two days in advance and kept wrapped in the refrigerator, or frozen for up to a month. You can also caramelize the onions a day ahead and store them in the refrigerator, which actually helps the flavors develop even more deeply.

  • Bring refrigerated dough to room temperature for about 15 minutes before rolling to prevent cracking
  • If making ahead, bake the tart completely and reheat individual slices rather than reheating the whole thing
  • This tart travels exceptionally well and is ideal for picnics or potlucks since it tastes great at room temperature
Homemade German onion pie baked in a white dish served with fresh green salad on wooden table Save to Pinterest
Homemade German onion pie baked in a white dish served with fresh green salad on wooden table | therecipepath.com

Whether youre celebrating Oktoberfest or just craving something deeply comforting on a cool evening, this German onion pie brings a little piece of European tradition to your table.

Recipe FAQs

While both dishes feature caramelized onions in a custard filling, German onion pie typically includes bacon and uses caraway seeds and nutmeg for distinctive flavoring. The German version also tends to have a richer custard base with heavy cream and Swiss cheese like Emmental or Gruyère.

Yes, you can prepare the pastry dough and onion filling up to a day in advance. Store them separately in the refrigerator. The fully baked tart also reheats beautifully and can be served warm or at room temperature, making it ideal for gatherings.

Cook the sliced onions gently over medium heat for 15–20 minutes, stirring frequently. They should turn deep golden and become very soft. This slow cooking process develops their natural sweetness, which balances perfectly with the savory bacon and custard.

The fully baked tart freezes well for up to 2 months. Wrap it tightly in plastic wrap and aluminum foil. Thaw overnight in the refrigerator and reheat at 350°F (175°C) for about 15 minutes until warmed through. Note that the crust may be slightly less crisp after freezing.

Smoked tofu provides the most similar savory, smoky element. You could also increase the cheese amount or add mushrooms for umami flavor. Some cooks use vegetarian bacon alternatives, though smoked tofu generally yields better results in this traditional dish.

A crisp German white wine like Riesling is the classic choice, cutting through the richness while complementing the onions. Dry Gewürztraminer or a glass of Federweißer (new wine) also pair beautifully. For red wine lovers, a light Pinot Noir works without overwhelming the delicate flavors.

German Onion Pie

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

Prep 30m
Cook 45m
Total 75m
Servings 8
Difficulty Medium

Ingredients

Pastry Crust

  • 2 cups all-purpose flour
  • 1/2 teaspoon salt
  • 1/2 cup unsalted butter, cold, cubed
  • 1 large egg
  • 2-3 tablespoons cold water

Savory Filling

  • 2 tablespoons unsalted butter
  • 1 lb yellow onions, thinly sliced
  • 5 oz thick-cut bacon, diced
  • 1/2 teaspoon caraway seeds
  • 1 teaspoon salt
  • 1/2 teaspoon ground black pepper
  • 1/4 teaspoon freshly grated nutmeg

Custard Mixture

  • 1 cup heavy cream
  • 1/2 cup whole milk
  • 3 large eggs
  • 1/2 cup grated Emmental or Gruyère cheese

Instructions

1
Prepare Pastry Dough: 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.
2
Shape and Line Tart Pan: Preheat oven to 375°F. Roll out 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.
3
Caramelize Onions and Bacon: Melt butter in a large skillet over medium heat. Add diced bacon and cook until just crisp. Remove bacon and set aside. Add sliced onions to the pan and cook gently for 15-20 minutes, stirring often, until golden and very soft. Stir in caraway seeds, salt, pepper, and nutmeg. Remove from heat and mix in cooked bacon.
4
Prepare Custard Base: Whisk together heavy cream, whole milk, eggs, and grated cheese in a bowl until smooth and well combined.
5
Assemble the Pie: Spread caramelized onion mixture evenly over the prepared pastry crust. Pour the custard mixture over the onions, ensuring even distribution.
6
Bake to Golden Perfection: Bake for 40-45 minutes until filling is completely set and surface is lightly golden. The center should not jiggle when gently shaken. Allow to cool for 10 minutes before slicing.
7
Serve and Enjoy: Serve warm or at room temperature. Pairs excellently with a crisp German white wine like Riesling, a green salad, or sauerkraut for a complete meal.
Additional Information

Equipment Needed

  • Large mixing bowls
  • Rolling pin
  • 9-inch tart or pie pan
  • Large skillet
  • Whisk
  • Chef's knife and cutting board
  • Fork for docking dough

Nutrition (Per Serving)

Calories 380
Protein 10g
Carbs 27g
Fat 25g

Allergy Information

  • Contains wheat (gluten) from flour pastry crust
  • Contains dairy from butter, cream, milk, and cheese
  • Contains eggs in both pastry and custard
  • Contains pork from bacon (can be omitted for vegetarian version)
  • May contain tree nuts if using alternative crusts or certain cheese varieties
Kara Bennett

Passionate home cook sharing easy, family-friendly recipes and meal prep tips.