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.
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
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
- → Can I make this vegetarian?
-
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.
- → What type of cheese works best?
-
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.
- → Can I prepare this ahead of time?
-
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.
- → How do I know when it's done baking?
-
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.
- → What wine pairs well with this?
-
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.
- → Can I freeze leftovers?
-
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.