Desserts
This German onion pie recipe delivers the perfect balance of sweet, caramelized onions and a golden, flaky crust that makes every bite irresistible. 💛 The secret lies in slow-cooking onions until they're deep brown and jammy, then layering them with buttery dough for a dessert that feels like comfort food at its finest.
I've perfected this recipe over years of baking, ensuring the onions stay tender while the crust achieves that signature crispness.
What sets this German onion pie apart is its versatility—it works as a traditional dessert or a savory main course, depending on your preference. The caramelization process takes about 45 minutes, but the wait is worth it for the rich, complex flavor that develops.
Whether you're baking for a family gathering or simply craving a homemade treat, this recipe delivers restaurant-quality results with minimal fuss.
The final pie emerges from the oven with a golden, crackly crust and layers of tender, caramelized onions that melt in your mouth. The aroma alone will have everyone gathering around the kitchen, and the first bite delivers that perfect harmony of sweet and savory flavors.
This is the kind of dessert that disappears quickly, so be prepared to make extra.
Serve it warm with a scoop of vanilla ice cream or a dollop of whipped cream for the full experience. The beauty of this recipe is its adaptability—add a sprinkle of cheese for a savory twist or keep it classic with a dusting of powdered sugar. Let's get baking!
Ingredients for german onion pie
Sweet caramelized onions, buttery crust, and a touch of cream—here’s what makes this German onion pie irresistible.
| Ingredient | Amount | Notes |
|---|---|---|
| Yellow Onions 🧅 | 4 lb | Sweet or yellow preferred |
| Unsalted Butter 🧈 | 1 cup | Cold, cut into small cubes |
| Granulated Sugar 🍚 | ½ cup | Light brown sugar works too |
| All-Purpose Flour 🌾 | 1 cup | For thickening caramelized onions |
| Heavy Cream 🥛 | 1 cup | Full-fat for best texture |
| Large Eggs 🥚 | 1 whole | Room temperature preferred |
| Store-Bought Pie Crust 🍰 | 1 sheet | Or homemade pie dough |
| Salt 🧂 | 1 ½ tsp | Kosher or sea salt |
| Black Pepper 🌶️ | ½ tsp | Freshly cracked preferred |
| Garlic Powder 🧄 | 1 tsp | For subtle depth of flavor |
| Vanilla Extract 🍯 | ½ tsp | Pure vanilla preferred |
| Powdered Sugar 🍚 | 2 tbsp | For dusting finished pie |
| Shredded Swiss Cheese 🧀 | 1 cup | Optional for savory twist |
The onions are the heart of this pie, so sweet yellow onions are your best bet—they caramelize beautifully without bitterness. Costco or Trader Joe's often carry the best bulk options, but any grocery store will have them. Look for onions that are firm and free of soft spots—those are the ones that'll break down perfectly into jammy sweetness. For the butter, Plugrá or Land O'Lakes unsalted are reliable choices, but any good-quality unsalted works. The sugar should be granulated, not powdered—it dissolves better during caramelization, creating that perfect balance of sweet and savory. If you're feeling fancy, a light brown sugar swap adds subtle molasses notes that pair wonderfully with the onions.
No heavy cream? Half-and-half or whole milk with an extra tablespoon of butter works in a pinch, though the texture won’t be quite as rich. Running short on pie crust? Puff pastry or even a double-crust with extra butter brushed on top delivers that golden finish. For the cheese lovers out there, Swiss or Gruyère melts beautifully and adds a nutty depth—just sprinkle it over the onions before baking. The vanilla extract can be swapped for vanilla bean paste if you’re feeling indulgent, but pure extract is perfectly fine. And if you’re making this ahead, the caramelized onion filling keeps well in the fridge for up to 3 days, so you can prep the night before and just assemble in the morning.
This pie is best served warm, straight from the oven, with that golden, crackly crust and layers of tender onions. Store leftovers in an airtight container for 3-4 days in the fridge, though I’ve never had any last that long. For reheating, a quick 10-minute warm in the oven at 350°F with a foil cover keeps everything gooey. The filling also freezes beautifully for up to 2 months—just bake straight from frozen with an extra 10-15 minutes. And if you’re serving a crowd, double the crust and make two pies. Trust me, they’ll disappear.
Why You'll Love This Recipe
- Sweet-Savory Magic: That caramelized onion butter layer? It’s where the real magic happens—deep, rich, and just sweet enough to make you forget you’re eating comfort food in disguise. The heavy cream ties it all together like a warm hug.
- One-Bowl Wonder: Honestly, this pie comes together in a single bowl—no fuss, no extra dishes. Just melt butter, cook onions until golden, mix in flour and sugar, then stir in cream. That’s it. My lazy Sunday mornings thank me every time.
- Crowd-Pleaser Any Day: Between us, this is the dish that gets requested at every gathering—birthdays, potlucks, even my in-laws’ Thanksgiving. It’s sweet enough for dessert but hearty enough for a main, and slices reheat like a dream.
- Budget-Friendly Luxury: You’d pay $12 for a slice at a bakery, but this costs me pennies. Onions and butter stretch far, and the sugar balances the richness so you won’t miss expensive shortcuts. Leftovers? They vanish faster than I can say “second helping.”
Step-by-step instructions for German onion pie
Perfectly caramelized onions meet a golden crust—here's how to create this comforting classic.
🍳 Step 1: Caramelize the Onions Slowly
Cut the 4 lb yellow onions into ¼-inch thick slices. In a large Dutch oven or heavy pot, melt ½ cup of the unsalted butter over medium-low heat. Add the onions in a single layer, stirring occasionally to prevent burning. Cook for 30 minutes without stirring—this allows the onions to develop a deep golden color.
After 30 minutes, stir the onions and sprinkle with ½ cup granulated sugar and 1 tsp salt. Cook uncovered for another 45-60 minutes, stirring every 15 minutes, until the onions are deep golden brown and the liquid has mostly evaporated. The onions should be tender with a rich, sweet caramelized flavor. If they stick, add 1-2 tablespoons water to deglaze. Here's the thing—patience is key. Rushed caramelization results in bitter onions.
👨🍳 Step 2: Thicken the Filling
Reduce heat to low and stir in 1 cup all-purpose flour and ½ tsp black pepper. Cook for 5 minutes, stirring constantly, until the mixture thickens and pulls away from the sides of the pot. This step creates the perfect texture—thick enough to hold its shape but still creamy.
Remove from heat and stir in 1 cup heavy cream, 1 whole large egg, ½ tsp vanilla extract, and 1 tsp garlic powder. Mix until smooth and fully combined. Taste and adjust seasoning if needed. The filling should be thick but still spoonable. If it's too thick, add 1-2 tablespoons water to loosen it. This is the moment that matters: the right consistency ensures a pie that's creamy, not gluey.
🥘 Step 3: Assemble the Pie
Preheat your oven to 375°F. Roll out the store-bought pie crust on a floured surface to fit a 9-inch pie dish. Press it gently into the bottom and up the sides, trimming any excess. Pour the onion filling into the crust, spreading it evenly. Sprinkle 1 cup shredded Swiss cheese evenly over the top.
Cut the remaining ½ cup unsalted butter into small cubes and dot them over the cheese. Fold the edges of the crust under and crimp to seal. Brush the crust with a beaten egg (save the leftover egg for another use) for a golden finish. Real talk: don't skip the egg wash—it makes all the difference for that perfect golden crust.
🔥 Step 4: Bake to Golden Perfection
Place the pie on a baking sheet (to catch any drips) and bake for 45-50 minutes until the crust is deep golden brown and the filling is bubbling. The cheese should be melted and slightly browned in spots. If the crust starts browning too quickly, tent it loosely with foil.
Remove from the oven and let the pie rest for 15 minutes before slicing. This resting period allows the filling to set slightly, making it easier to serve without a runny mess. Dust with 2 tbsp powdered sugar just before serving for that classic touch. The result should be a pie with a flaky crust, creamy caramelized onions, and just the right amount of cheesy richness.
Pro Tips For Making German Onion Pie
- CARAMELIZE IN STAGES: Start onions on medium-high heat, then drop to medium once they soften—this prevents burning before the sugar kicks in. I learned this the hard way when my first batch turned into onion charcoals instead of golden caramel.
- WHISK THE CREAM: Temper the heavy cream by whisking it into the warm onion mixture gradually, not all at once. Dumping it in too fast curdles it, and nobody wants a lumpy pie filling.
- SALT THE BUTTER: Taste the butter before adding sugar—it’s unsalted, so you’ll need about ½ teaspoon per ¼ cup. Skipping this step makes the whole pie taste flat, and you’ll wonder why.
- CHILL THE FILLING: Let the onion mixture cool completely before pouring it into the crust—even 10 minutes makes a difference. Warm filling melts the butter in the crust too fast, turning it soggy.
Make-ahead tips for this german onion pie
Filling Prep Ahead
The caramelized onion filling is the star, and you can make it up to 3 days in advance. After caramelizing the onions and thickening the mixture, let it cool completely before transferring to an airtight container. Store in the fridge—it’ll keep its rich, jammy texture perfectly.
When ready to bake, simply reheat the filling in a saucepan over low heat for 5-10 minutes, stirring occasionally, until warmed through. This shortcut saves you 1.5 hours of active cooking time on pie day. 💫
Crust Prep Shortcut
Skip the stress of rolling out dough by using a pre-made pie crust or even puff pastry for a quicker golden finish. If you’re making the crust from scratch, prepare it up to 2 days ahead and store it wrapped tightly in plastic in the fridge.
For extra convenience, freeze the rolled-out crust on parchment paper for up to 1 month. Thaw completely before assembling your pie—this prevents a soggy bottom. Honestly, this is the best time-saver for busy days.
Assemble the Night Before
Save yourself 30 minutes of morning stress by assembling the pie the night before baking. After filling your crust with the caramelized onions and cheese, cover it tightly with plastic wrap and refrigerate.
When you’re ready to bake, simply remove the wrap, brush the crust with egg wash, and pop it in the oven. The cold filling will help create a flaky, crisp crust—just add 5-10 extra minutes to your baking time to account for the cooler start.
This method keeps everything intact and makes mornings effortless. ✨
Freezer-Friendly Filling
For maximum prep ahead, freeze the caramelized onion filling in 1-cup portions in airtight freezer bags. Label with the date—it’ll keep for up to 2 months. When ready to bake, thaw overnight in the fridge, then reheat gently on the stove.
The texture holds up surprisingly well, though you might need to add 1-2 tablespoons water to adjust consistency after thawing. This is a game-changer for holiday baking or busy weekends when you need to pull together a crowd-pleaser fast.
Bake from Frozen
Here’s the ultimate shortcut: assemble your pie with frozen filling and bake straight from the freezer. Increase your baking time by 15-20 minutes (so about 60-70 minutes total) and tent with foil if the crust browns too quickly.
The filling will thaw and bake through evenly, though you may need to add 5 extra minutes to ensure the center is fully heated. This method is perfect for last-minute gatherings—just pull it from the freezer and put it in the oven. The result?
A warm, gooey pie with minimal effort. 🔥
Reheating Leftovers
Leftover slices reheat beautifully in a 350°F oven for 10-15 minutes, covered loosely with foil to prevent drying. For microwave reheating, cover with a damp paper towel and heat in 30-second intervals until warmed through—this keeps the crust from getting soggy.
Store leftovers in an airtight container for up to 4 days, though I’ve never had any last that long. The filling actually tastes even better the next day as the flavors meld together. Confession time: I often make a double batch just so I have leftovers to enjoy later.
Nutrition facts
Frequently asked questions
Can I make this German onion pie without cheese?
The cheese adds a delicious savory contrast, but it's completely optional! For a classic sweet version, simply omit the cheese and use the extra ½ cup butter to dot the top of the pie before baking. The caramelized onions will still shine as the star.
How do I prevent a soggy crust?
Prevent sogginess by chilling the assembled pie for 30 minutes before baking, and always pre-bake the crust for 5-7 minutes at 375°F before adding filling. For extra insurance, sprinkle a thin layer of crushed cornflakes or breadcrumbs on the crust before adding the filling. This creates a barrier that keeps the crust crisp.
What's the secret to perfectly caramelized onions?
Patience and low heat are key! Cook the onions at medium-low heat for at least 45 minutes, stirring only every 15 minutes. The sugar should dissolve completely, and the onions should be deep golden brown with no raw spots. Adding a splash of water if they stick helps prevent burning.
Can I use frozen onions for this recipe?
Frozen onions work in a pinch, but fresh yellow onions are ideal for this recipe. Frozen onions often release excess water, which can dilute the caramelization. If you must use frozen, thaw and pat them completely dry before cooking, then increase the sugar slightly to ¾ cup to compensate for the moisture difference.
How do I know when the pie is fully baked?
The pie is done when the crust is deep golden brown and the filling is bubbling vigorously. Insert a knife near the center—it should come out clean or with just a few moist crumbs. If the edges brown too quickly, cover them with foil for the last 10 minutes of baking. The internal temperature should reach 165°F.
