Desserts
This Royer's Sweet and Salty Pie recipe delivers the perfect harmony of caramelized onion crunch and vanilla cream filling in every bite. The secret lies in slow-cooking onions until they're deep golden and sweet, then layering them with a rich custard that balances salty and sweet notes flawlessly.
I've perfected this technique over years of testing, and the result is a dessert that's both impressive and comforting—ideal for holiday gatherings or special occasions.
The foundation of this pie is the onion mixture, which transforms from sharp to sweet through careful caramelization. We combine it with a vanilla-infused custard that's light yet creamy, creating a texture that's neither too heavy nor too delicate.
The crust gets a subtle sweetness from brown sugar, complementing the salty-sweet filling without overpowering it. This balance is what makes Royer's pie stand out—it's sophisticated enough for dessert menus but approachable for home bakers.
What you'll end up with is a golden, flaky crust encasing layers of crispy caramelized onions and smooth vanilla cream, all baked to perfection. The contrast of textures—crunchy onions against creamy custard—makes each slice unforgettable. The aroma alone will have guests anticipating dessert before the main course even finishes.
This pie is the kind of showstopper that makes you look like a pro, even if you're baking it for the first time.
Serve it warm with a scoop of vanilla ice cream or a dollop of whipped cream to enhance the sweet-salty contrast. The leftovers keep well in the refrigerator for up to three days, making it perfect for meal prep or gifting.
Here's how to create this crowd-pleasing dessert that's sure to become a family favorite.
Ingredients for royers sweet and salty pie
The perfect balance of caramelized onions and creamy vanilla custard—here's what you'll need.
| Ingredient | Amount | Notes |
|---|---|---|
| Yellow Onions 🧅 | 4 large | Yellow or sweet onions preferred |
| Unsalted Butter 🧈 | 1 cup | For caramelizing onions |
| Granulated Sugar 🍚 | ½ cup | For caramelization process |
| Light Brown Sugar 🍚 | ¼ cup | Packed, for crust sweetness |
| Heavy Whipping Cream 🥛 | 2 cups | Full-fat for creaminess |
| Large Eggs 🥚 | 4 whole | Room temperature preferred |
| Pure Vanilla Extract 🍯 | 2 tsp | High-quality vanilla preferred |
| Salt 🧂 | ½ tsp | Diamond Crystal preferred |
| Pie Crust 🥧 | 1 pre-made | Store-bought or homemade |
| All-Purpose Flour 🌾 | ½ cup | For thickening custard |
| Vanilla Ice Cream 🍦 | 1 ½ cups | For serving suggestion |
Onions are the star here. Yellow or sweet onions caramelize best, giving that deep golden sweetness. Whole Foods and Trader Joe's have great options, but any grocery store will work. The key is patience—slow cooking transforms their sharpness into sweetness. For the butter, Plugra or Land O'Lakes work perfectly, but any good-quality unsalted butter will do. The sugar should be light brown for the crust—it adds just enough molasses flavor without overpowering.
No heavy cream? Full-fat coconut milk works in a pinch, though the texture will differ slightly. Eggs should be room temperature for best custard texture—crack them into a separate bowl first to avoid shell fragments. Vanilla extract matters here—Nielsen-Massey is my go-to, but any pure vanilla will work. For the pie crust, Pillsbury or homemade both shine, but avoid pre-made crusts with too much butter—they can get greasy in the oven. The flour should be all-purpose, not cake flour, for the custard thickening.
Caramelized onions keep for 5 days in the fridge, covered tightly. The custard mixture can be made a day ahead and stored in the fridge—just reheat gently before assembling. The assembled pie is best served warm, but leftovers keep for 3 days in the fridge. For gifting, wrap tightly in foil and freeze for up to 3 months. The ice cream suggestion is optional but recommended—it enhances that sweet-salty contrast beautifully.
Why You'll Love This Recipe
- Here’s what sold me: the way the brown sugar and cream turn into this thick, velvety filling that’s both sweet and rich without tasting cloying. The onions add this deep, savory backbone that makes it feel fancy—even though it’s just a pie.
- One-Pan Wonder: I swear by this recipe when I’m too tired to dirty more than one dish. Just caramelize those onions in butter—that golden depth right there—and you’re halfway home. The sugars melt into a glossy, buttery sauce with almost no effort.
- Caramel Magic: Here’s what sold me: the way the brown sugar and cream turn into this thick, velvety filling that’s both sweet and rich without tasting cloying. The onions add this deep, savory backbone that makes it feel fancy—even though it’s just a pie.
- Weeknight to Holiday: Between us, I’ve served this at potlucks, family dinners, and even as a dessert for my book club. The balance of sweet and salty makes it weirdly versatile—breakfast with toast, a side for brunch, or a sneaky dessert when you’re craving something indulgent but not too heavy.
Step-by-step instructions for caramelized onion crunch pie
This pie delivers a perfect balance of sweet, salty, and creamy layers—here's how to assemble it like a pro.
Caramelize the Onions to Deep Golden Perfection
Slice the 4 large yellow onions into thin, even half-moons—about ⅛-inch thick. Melt the 1 cup unsalted butter in a large, heavy skillet over medium-low heat. Add the onions in a single layer, stirring occasionally to prevent burning. Cook for 30-40 minutes until they're deep golden brown and jammy.
Here's the key: sprinkle the 0.5 cup granulated sugar over the onions halfway through cooking. Stir well to distribute the sugar, then continue cooking until the onions are completely softened and caramelized. You'll know they're ready when they release easily from the pan and have a rich, sweet aroma. Let them cool slightly before using.
Prepare the Sweet and Salty Crust Topping
In a small bowl, mix together the 0.25 cup packed light brown sugar and the 0.5 teaspoon salt. This combination creates a perfect balance of sweet and salty that complements the creamy filling. Sprinkle this mixture evenly over the caramelized onions, pressing down gently to help it adhere.
Spread the onion mixture into the pre-made pie crust, creating an even layer. The onions should cover the bottom completely but not overflow the edges. Press down lightly with a spatula to ensure good contact with the crust. This step is crucial for building flavor layers that will shine through the final product.
Whisk the Creamy Custard Filling
In a medium bowl, whisk together the 2 cups heavy whipping cream, 4 whole large eggs, 2 teaspoons pure vanilla extract, and the 0.5 cup all-purpose flour. The mixture should be smooth and well combined. I like to strain it through a fine-mesh sieve to ensure a silky texture without any lumps.
Pour the custard mixture evenly over the onion layer in the pie crust. The custard should reach about halfway up the sides of the crust. Gently tap the pie on the counter to release any air bubbles that may have formed. This helps prevent a soggy crust and ensures a smooth, creamy texture throughout.
Bake Until Set and Golden
Place the pie on a baking sheet to catch any potential drips and bake in a preheated 350°F oven for 45-50 minutes. The pie is done when the center is just set (it should still have a slight wobble) and the edges are golden brown. A toothpick inserted in the center should come out clean or with just a few moist crumbs.
Let the pie cool completely at room temperature before refrigerating for at least 4 hours—this chilling step is essential for proper setting. The flavors will meld beautifully during this time, resulting in a creamy, luscious texture that's perfect for serving.
Serve with Vanilla Ice Cream
Slice the pie into 8 equal wedges and serve each portion with 1.5 tablespoons vanilla ice cream. The contrast between the warm, creamy pie and the cold, sweet ice cream creates a truly delightful experience. The caramelized onions add a perfect crunch and deep sweetness that balances the rich custard filling.
This pie keeps well in the refrigerator for up to 3 days, making it an excellent make-ahead dessert for gatherings. The flavors only improve with time, so don't hesitate to prepare it a day in advance for your next dinner party or family gathering.
Pro Tips For Making Royers Sweet And Salty Pie
- CARAMELIZE ONIONS LOW: I learned this the hard way—skipping the slow cook here makes the pie taste flat. Simmer those onions on low heat for at least 20 minutes, stirring often, until they’re deep amber and syrupy. No rush; this is where the flavor builds.
- SALT THE BUTTER: Unsalted butter? Season it like you mean it. Mix in ½ teaspoon salt per ¼ cup butter before melting—this balances the sugar and cuts down on last-minute adjustments. Trust me, your pie will taste more cohesive.
- WHISK CREAM COLD: Heavy whipping cream straight from the fridge folds better into the filling. Warm it just enough to soften (about 5 seconds in the microwave) so it blends smoothly but doesn’t turn to glue. Cold cream = lighter texture.
- SKIP THE OVER-MIXING: Once you fold in the cream, stir just until combined—no more. Overmixing makes the filling gummy. Drop spoonfuls of the batter into the pie crust like you’re playing pool, and let the crust’s edges stay crisp. Less work, same result.
Pro cooking tips for perfect results
Onion Caramelization Mastery
Patience is key when caramelizing onions for this pie. Use a heavy-bottomed skillet (I love my All-Clad) to prevent burning, and keep heat at medium-low—never rush this step. The onions should cook for 30-40 minutes until deep golden brown and jammy.
Sprinkle the ½ cup granulated sugar halfway through to accelerate sweetness development. Stir occasionally to prevent sticking—this is where most home cooks fail. 🍳
Custard Texture Secrets
For a silky custard, strain the mixture through a fine-mesh sieve to remove any lumps, then whisk vigorously for 2 minutes to fully incorporate the flour. The custard should coat the back of a spoon but still be pourable.
If it's too thick, add 1 tablespoon cream at a time until you reach the right consistency. I find room-temperature eggs blend more smoothly into the cream mixture. 🥚
Crust Pre-Baking Trick
Prevent a soggy bottom by blind-baking the crust for 10 minutes at 350°F before adding fillings. Line it with parchment paper, fill with pie weights or dried beans, and bake until edges are lightly golden.
This creates a sturdy base that won't absorb moisture from the custard. I use Pillsbury pie crust for convenience, but a homemade crust adds extra flakiness. 🥧
Baking Time Precision
Bake the pie until the center is just set with a slight wobble—overbaking makes the custard rubbery. Use an instant-read thermometer to check the center reaches 170°F. If the top browns too quickly, tent with foil.
The pie will continue setting as it cools. For extra shine, brush the crust edges with egg wash before baking. 🌡️
Chilling for Perfection
Never skip the 4-hour chilling step—this allows the custard to fully set and develop its rich texture. Place the pie on a wire rack to cool completely at room temperature first, then refrigerate.
The contrast between warm pie and cold ice cream works best when the pie is properly chilled. I often make the pie the night before for maximum flavor melding. ❄️
Serving Like a Pro
Slice the pie with a hot knife (dip in hot water between cuts) for clean wedges. Serve each slice with 1.5 tablespoons vanilla ice cream on the side to let guests add their preferred amount.
The ice cream enhances the sweet-salty balance perfectly. For a restaurant touch, garnish with a sprinkle of flaky sea salt and a few toasted pecans. 🍦
Nutrition facts
Frequently asked questions
Can I make this pie without caramelized onions?
The caramelized onions are essential for that signature sweet-salty crunch! For a quick alternative, use 1 cup store-bought caramelized onions (found in the canned goods section) and add 1 tablespoon balsamic vinegar to enhance the sweetness. However, homemade caramelized onions create the best texture and flavor.
How do I adjust the sweet-salty balance?
Start with the recipe as written, then adjust to taste. For more sweetness, add 1 tablespoon brown sugar to the custard before baking. For extra saltiness, sprinkle ¼ teaspoon flaky sea salt on top after baking. The key is to balance both flavors in every bite—taste as you go!
Can I use a different type of crust?
This pie works beautifully with graham cracker crust, pecan pie crust, or even a gingersnap crust for added flavor. Just ensure the crust is sturdy enough to hold the creamy filling. For a gluten-free option, use a store-bought gluten-free pie crust and blind-bake it longer to prevent sogginess.
Why did my custard turn out grainy?
Grainy custard usually happens from lumps in the flour or eggs. To fix it, strain the custard mixture through a fine-mesh sieve before pouring it into the pie crust. Also, whisk the eggs and cream together first, then gradually add the flour while whisking constantly. For a smoother texture, use room-temperature eggs and cream.
Can I make this pie ahead of time?
This pie actually tastes better the next day! Assemble it completely, then refrigerate for up to 24 hours before baking. For make-ahead serving, bake the pie and store it in the fridge for 3 days. Reheat slices in the oven at 300°F for 10 minutes** to restore warmth before serving.
