German Onion Pie

Golden brown German onion pie with caramelized onions and crispy bacon on a flaky pastry crust Pin it
Golden brown German onion pie with caramelized onions and crispy bacon on a flaky pastry crust | tastypinboards.com

This traditional German tart features layers of sweet, slowly caramelized onions nestled in a crisp homemade pastry shell. The savory filling gets depth from smoky bacon and aromatic caraway seeds, while a rich custard of cream, milk, eggs, and aged cheese creates a wonderfully smooth texture. Perfect for casual gatherings, this dish emerges from the oven golden and set, best served warm alongside a fresh green salad or tangy sauerkraut.

Last October, my friend Karl invited me over for what he called 'proper German comfort food.' I walked into his kitchen to find onions slowly melting into golden submission on the stove, the whole house wrapped in that unmistakable sweet-savory perfume that makes your stomach growl before you even realize you're hungry. He served me a warm slice of this onion pie straight from the oven, and something about that creamy custard mingling with sweet onions and smoky bacon felt like being wrapped in a wool blanket on a chilly evening.

I made this for my book club last winter when we were reading something set in Bavaria. The conversation kept circling back to the food instead of the book. Someone asked if I'd driven three hours to a German bakery for the crust, but honestly, the pastry comes together in minutes with ingredients you probably already have. That's the thing about really good traditional recipes sometimes the simplest ones feel the most impressive.

Ingredients

  • 2 cups all-purpose flour: The foundation of your crust. I've tried whole wheat but it overwhelms the delicate custard, so stick with AP flour for the best texture
  • 1/2 cup cold unsalted butter: Keep it ice-cold and cut into small cubes before you start. Those visible butter pockets are what create those gorgeous flaky layers
  • 1 lb yellow onions: Yellow onions have the right balance of sweetness and bite. Red onions turn an odd color and white onions can be too sharp
  • 5 oz thick-cut bacon: The smoky undertone ties everything together. For vegetarian friends, smoked tofu works surprisingly well here
  • 1/2 teaspoon caraway seeds: This is the secret whisper of authenticity. If you're not a fan, just skip it, but they really do make it taste like Germany in a bite
  • Freshly grated nutmeg: Please grate it fresh. The pre-ground stuff has lost its soul, and fresh nutmeg adds this subtle warmth that people can't quite put their finger on
  • 1 cup heavy cream mixed with 1/2 cup whole milk: Using all cream makes it too rich, but all milk lacks that luxurious texture. This combination hits the sweet spot
  • 3 large eggs: Room temperature eggs incorporate more smoothly into the custard and prevent any curdling surprises in the oven
  • 1/2 cup Emmental or Gruyère cheese: Both melt beautifully and add that nutty depth. Emmental feels more traditional, but Gruyère's extra funk is never a bad decision

Instructions

Make and chill the pastry dough:
Whisk flour and salt in a large bowl, then work in the cold butter with your fingers until you have a mixture that looks like coarse sand with some pea-sized butter chunks still visible. Beat the egg with 2 tablespoons cold water and drizzle it over the flour mixture, tossing gently with a fork until the dough starts coming together. Add another tablespoon of water only if needed the dough should hold together when you squeeze it. Shape it into a disk, wrap it in plastic, and let it rest in the refrigerator for at least 30 minutes.
Prepare your crust and preheat the oven:
Heat your oven to 375°F with a rack in the center position. Roll the chilled dough on a lightly floured surface until it's about 11 inches across, then gently press it into a 9-inch tart pan, folding the excess dough inward to reinforce the sides. Trim any overhang, prick the bottom all over with a fork, and slide it back into the fridge while you work on the filling. A cold crust going into a hot oven is your insurance against shrinking sides.
Caramelize the onions to golden perfection:
Melt the butter in a large skillet over medium heat and add the diced bacon. Let it cook until the fat has rendered and the bacon is starting to crisp, about 5 minutes. Scoop the bacon out with a slotted spoon and set it aside, leaving the bacon fat in the pan. Add the sliced onions to the same skillet and cook them gently, stirring frequently, for 15 to 20 minutes until they're meltingly soft and turning a rich golden color. Sprinkle in the caraway seeds, salt, pepper, and nutmeg during the last couple minutes of cooking, then stir the bacon back in and remove from heat.
Whisk together the custard:
In a medium bowl, combine the heavy cream, whole milk, eggs, and grated cheese. Whisk until the mixture is completely smooth and frothy about 30 seconds of vigorous whisking should do it. There should be no streaks of egg white visible.
Assemble and bake your pie:
Spread the onion mixture evenly across the bottom of your prepared crust. Pour the custard over the onions it should come nearly to the top of the crust. Bake for 40 to 45 minutes until the filling is set in the center and the top is golden brown in spots. A knife inserted near the center should come out mostly clean, not milky.
Let it rest before serving:
Cool the pie on a wire rack for at least 10 minutes before slicing. This resting period is non-negotiable it gives the custard time to firm up slightly so you get clean, restaurant-worthy slices instead of a messy situation.
Savory German onion pie tart featuring creamy custard filling baked until golden and set Pin it
Savory German onion pie tart featuring creamy custard filling baked until golden and set | tastypinboards.com

My grandmother would have called this 'eating food' proper food that sticks to your ribs and puts a smile on your face. The first time I served it at a dinner party, one of my guests asked if there was any left to take home. There wasn't, and I'm still hearing about it six months later.

Getting The Crust Right

There's nothing sadder than a soggy bottom on your beautiful onion pie. The trick is partially blind baking the crust if you have the time. You can line the dough with parchment, fill it with pie weights or dried beans, and bake for 10 minutes before adding the filling. If you're short on time, at least make sure the dough goes into the oven ice-cold, and don't add the filling until the oven is fully preheated.

Pairing Suggestions

A crisp German Riesling with just a touch of residual sweetness cuts through the richness of the custard and complements the sweet onions. If you prefer red, a light Pinot Noir works beautifully. On the side, a simple green salad with a sharp vinaigrette or some tangy sauerkraut brightens everything up and balances the heaviness of the pie.

Make-Ahead Wisdom

You can caramelize the onions up to two days in advance and store them in the refrigerator. The pastry dough can also be made ahead and kept chilled for 24 hours or frozen for up to a month. If you're planning to serve this for a dinner party, prepare everything the day before, then just assemble and bake while your guests arrive.

  • This pie reheats surprisingly well in a 325°F oven for about 15 minutes
  • Serve it at room temperature for a buffet it's just as delicious
  • The leftovers, if you have any, make an incredible breakfast the next morning
Slice of warm German onion pie topped with melted cheese and tender caramelized onions Pin it
Slice of warm German onion pie topped with melted cheese and tender caramelized onions | tastypinboards.com

There's something deeply satisfying about a recipe that transforms humble ingredients into something extraordinary. Grab a glass of wine and invite some people you love over for dinner tonight.

Recipe FAQs

Yes, simply omit the bacon or substitute with smoked tofu for a vegetarian version. You can add extra cheese or mushrooms to maintain depth of flavor.

Emmental or Gruyère are traditional choices, but Swiss, fontina, or aged Gouda also work beautifully. The cheese should melt well and provide a nutty, savory flavor.

The pastry dough can be made and refrigerated up to 2 days in advance. You can also caramelize the onions a day ahead and store them in the refrigerator. Assemble and bake just before serving.

The custard should be set with no liquid center, and the top should be lightly golden. A knife inserted near the center should come out clean.

A crisp German Riesling or dry Gewürztraminer cuts through the richness beautifully. A chilled dry white wine or light beer also complements the savory flavors.

Yes, wrap individual slices tightly and freeze for up to 2 months. Thaw in the refrigerator and reheat in a 350°F oven until warmed through.

German Onion Pie

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

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

Ingredients

Pastry

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

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

  • 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, and refrigerate for 30 minutes.
2
Shape and Prebake Crust: Preheat oven to 375°F. Roll out dough on a floured surface to fit a 9-inch tart or pie pan. Press into pan, trim edges, and prick base with a fork. Chill until ready to fill.
3
Caramelize Onions and Bacon: Melt butter in a large skillet over medium heat. Cook bacon until just crisp, then remove and set aside. Add onions to the pan and cook gently, stirring often, for 15-20 minutes until golden and very soft. Stir in caraway seeds, salt, pepper, and nutmeg. Remove from heat and mix in bacon.
4
Prepare Custard Mixture: Whisk together cream, milk, eggs, and grated cheese in a bowl until smooth and well combined.
5
Assemble Tart: Spread onion mixture evenly over the prepared crust. Pour the custard over the onions, ensuring even distribution.
6
Bake to Golden Perfection: Bake for 40-45 minutes until the filling is set and lightly golden on top. 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 or a side salad.
Additional Information

Equipment Needed

  • Mixing bowls
  • Rolling pin
  • 9-inch tart or pie pan
  • Skillet
  • Whisk
  • Knife and cutting board

Nutrition (Per Serving)

Calories 380
Protein 10g
Carbs 27g
Fat 25g

Allergy Information

  • Contains wheat (gluten), milk (dairy), and eggs. May contain tree nuts if using alternative crusts or cheeses. Bacon contains pork.
Nicole Stanton

Sharing simple, flavorful recipes and kitchen tips for busy home cooks and food lovers.