Desserts
This ube egg pie recipe delivers the perfect balance of creamy custard and vibrant purple swirls that make every bite feel like a taste of Filipino comfort.
The secret lies in layering rich egg custard with ube halaya—a sweet, jam-like spread made from purple yam—that creates those signature swirls when baked. What sets this pie apart is the silky texture of the custard, which stays tender while the edges develop a delicate golden crust.
Traditionally served warm, this dessert combines the earthy sweetness of ube with the richness of eggs, creating a harmony that’s both nostalgic and indulgent. The custard is light yet velvety, while the ube halaya adds a caramelized depth that lingers on the palate.
Unlike other egg pies, this version relies on precise baking techniques to ensure the custard sets just right—neither too runny nor overly firm.
What you’ll end up with is a pie that’s as beautiful as it is delicious—golden-brown on top with swirls of purple yam peeking through the creamy custard.
The aroma alone will have everyone gathering around the table, and the first bite delivers that perfect contrast of smooth custard and sweet, fragrant ube. This is the kind of dessert that feels like a hug in pie form.
Perfect for special occasions or as a comforting treat, this ube egg pie is easier to make than you might think. The key is patience—letting the custard set gradually in the oven ensures that silky texture we all love.
Once you try it, you’ll want to make it again and again.
Ingredients for ube egg pie
Eight eggs, one purple yam, and a pinch of magic for this velvety-swirled pie.
| Ingredient | Amount | Notes |
|---|---|---|
| Large Eggs 🥚 | 8 whole | Room temperature for even baking |
| Ube Halaya 🍠 | 1 ½ cups | Store-bought or homemade, smooth texture |
| All-Purpose Flour 🌾 | 1 cup | Sifted for light crust |
| Granulated Sugar 🍚 | ¾ cup | White or light brown preferred |
| Unsalted Butter 🧈 | ½ cup | Cold, cubed for flaky crust |
| Milk 🥛 | ½ cup | Whole milk for creaminess |
| Vanilla Extract 🌸 | 1 tbsp | Pure vanilla for authentic flavor |
| Salt 🧂 | ¼ tsp | Fine sea salt for balance |
| Baking Powder 🍞 | 1 tsp | Fresh for proper leavening |
| Cornstarch 🌾 | 2 tbsp | For silky custard texture |
| Purple Food Coloring 🎨 | 1 tsp | Optional for vibrant swirls |
| Heavy Cream 🥛 | ¼ cup | Whipped for topping |
| Powdered Sugar 🍚 | 2 tbsp | For dusting before serving |
The ube halaya is where the real magic happens. Filipino markets have the best homemade versions—thick, glossy, and packed with that caramelized sweetness. If you're buying store-bought, look for brands like Royal or Purefoods—they're consistent and vibrant. Homemade? Simmer ube purée with sugar and coconut milk until it thickens like jam. The eggs should be large and room temperature—cold eggs won't blend smoothly into the custard. I always grab extra eggs for this recipe; you'll want them fresh for that velvety texture. The purple food coloring is optional but gives those signature swirls that pop when sliced.
No ube halaya? Sweet potato purée mixed with brown sugar and vanilla works in a pinch—it won't be identical, but the custard will still shine. Running short on butter? Coconut oil or lard keeps the crust flaky, though butter gives that classic richness. The cornstarch is non-negotiable for that signature silky texture—it's what keeps the custard from getting grainy. If you're feeling fancy, add a splash of coconut milk to the custard for extra depth. And trust me on the whipped cream topping—it's worth the extra minute to whip it up fresh instead of using canned.
This pie tastes even better the next day, so bake it ahead if you can. Store it in an airtight container at room temperature for 2 days, or refrigerate for 5 days. The custard sets beautifully when reheated—just pop it in the oven at 350°F for 10 minutes. For serving, dust with powdered sugar right before slicing. The swirls spread dramatically when cut, so slice carefully and serve with extra whipped cream on the side. Leftovers? Package individual slices for grab-and-go treats all week.
Why You'll Love This Recipe
- No-Fuss Assembly: I swear by this recipe because it’s three bowls and a whisk—no rolling dough, no fussing with pie crusts. The ube halaya just gets folded into the egg batter like you’re mixing cake batter, and boom, you’ve got a showstopper with zero stress.
- Violet Magic: That first bite? Pure ube glow-up. The halaya’s buttery-sweet depth cuts through the eggs’ richness, and the crumbly top? It’s like dessert sneaking into breakfast—my kids think it’s cake, but honestly, it’s way better than cake.
- Breakfast or Brunch: Make it for lazy Sunday mornings or pack it for work—this pie reheats like a dream. I’ve served it at family gatherings (it disappears fast) and even as a midnight snack when the cravings hit. The flour-butter crust stays tender, so it’s never a flop.
- Leftovers That Don’t Suck: Between us, most pies turn dry or sad after Day 1. Not this one. The ube keeps it moist, and the eggs stay creamy even reheated. I’ve had it cold the next day, warmed in the microwave, or sliced straight from the fridge—no one complains. (Yes, even on a Tuesday night.)
Step-by-step instructions for ube egg pie
Here's how to create that dreamy purple swirl and silky custard—every layer matters!
Prepare the Crust Mixture
In a large mixing bowl, combine the 1 cup All-Purpose Flour, 0.75 cup Granulated Sugar, 0.25 tsp Salt, and 1 tsp Baking Powder. Whisk until just blended—no need to overmix. Cut in the 0.5 cup Unsalted Butter using a pastry cutter or your fingers until the mixture resembles coarse crumbs with pea-sized butter pieces.
Add the 1.5 cups Ube Halaya and 0.5 cup Milk to the dry ingredients. Mix gently with a wooden spoon until a soft dough forms. Here's the thing—don't overwork it. Press the dough into a greased 9-inch pie dish, spreading it evenly to the edges. The crust should be about ¼-inch thick all around.
Create the Silky Custard Filling
In a separate bowl, whisk together the 8 whole Large Eggs, 2 tbsp Cornstarch, and 1 tbsp Vanilla Extract until smooth and fully combined. Gradually pour in the 1.5 cups Ube Halaya, whisking constantly to prevent lumps. The mixture should be thick but pourable—like a rich custard.
For that signature purple swirl, divide the custard mixture in half. Stir 1 tsp Purple Food Coloring into one portion until vibrant. Pour the plain custard into the prepared crust, then carefully ladle the purple custard on top. Use a knife to swirl gently—create those marbled patterns without overmixing.
Bake Until Golden and Set
Preheat your oven to 350°F. Place the pie dish on a baking sheet (to catch any potential spills) and bake for 45-50 minutes. You'll know it's done when the edges are golden brown and the center just barely jiggles when gently shaken—this ensures that silky texture.
I press down gently on the center with my finger during the last 5 minutes of baking to help set the custard completely. This prevents that wobbly center that drives everyone crazy. Let the pie cool completely at room temperature before refrigerating for at least 2 hours—patience here is key for clean slices.
Whip the Cream Topping
While the pie cools, whip the 0.25 cup Heavy Cream in a chilled bowl until soft peaks form. Fold in the 2 tbsp Powdered Sugar until just combined. Spread this sweet cream mixture evenly over the cooled pie just before serving—it adds that perfect contrast of cool, creamy sweetness against the warm custard.
Here's the moment that matters: dust the top with an extra pinch of powdered sugar right before serving. The contrast of colors and temperatures makes this pie truly magical. Slice into perfect wedges with that beautiful purple swirl peeking through every bite!
Pro Tips For Making Ube Egg Pie
- Preheat That Pan: Ube egg pie needs a hot start—no, really, hot. Heat your skillet or pan over medium-high until a drop of water sizzles instantly. Cold pans make the batter cling like glue, and you’ll end up with a sad, uneven mess instead of that golden, crispy crust you’re after. Trust me, the first batch I rushed this with ended up looking like a pancake. Don’t repeat my mistake.
- Whisk Eggs Until Ribbon-Stage: Beat those eggs until they’re smooth and stretchy—when you lift the whisk, the batter should form a slow, thick ribbon that holds its shape for a second. Overmixing? Nah, this isn’t pancake batter. Under-mixed? You’ll get a dense, rubbery pie that fights back at every bite. I learned this the hard way when my first attempt turned out like a sad, gummy sponge cake. Take the extra 30 seconds.
- Use Room-Temp Ube Halaya: Cold ube halaya thickens the batter and makes it harder to fold in evenly. Scoop it out of the fridge 10–15 minutes before mixing—just enough to soften it slightly. If it’s still stubborn, microwave it for 10 seconds (yes, even if it sounds sacrilegious). Smooth incorporation = no streaks of purple in your pie. I’ve seen too many lumpy attempts to ignore this.
- Butter the Pan Then Dust: First, coat the pan with melted butter—just enough to grease the bottom and sides. Then, while the butter’s still wet, sprinkle in the flour and swirl it around to create an even, thin crust. Wipe off the excess with a paper towel, leaving a fine, even layer. Skipping this step? You’ll get a pie that sticks like your ex’s last text. Do it right, and the crust will release cleanly—every. Single. Time.
Storing and reheating your ube egg pie
Room-Temp Prep
Let your ube egg pie sit at room temperature for 30 minutes before slicing—this prevents the custard from tearing. The contrast between the warm custard and cool whipped cream is what makes it magical.
I always serve it slightly warm, straight from the fridge, so the custard stays silky. If you've refrigerated it, let it sit for 10-15 minutes before serving to restore that perfect texture. 💫
Storage Secrets
Store your pie in an airtight container at room temperature for up to 2 days—the flavors actually deepen overnight. For longer storage, refrigerate for 5 days or freeze for 2 months (wrap tightly in plastic wrap).
The crust stays crisp, while the custard remains velvety when reheated. I like to package individual slices in parchment-lined containers for easy grab-and-go treats.
Reheating Magic
For that restaurant-quality texture, reheat slices at 350°F for 10 minutes—just until warmed through. Microwave reheating works in a pinch (cover with a damp paper towel for 20-30 seconds), but it can make the custard slightly rubbery.
The oven method preserves that silky perfection. I always reheat just before serving to maintain the contrast with the cool whipped cream topping.
Freezer-Friendly Tips
Freeze the pie unbaked for best results—assemble the crust and filling, then wrap tightly in plastic wrap and foil. Bake straight from frozen at 375°F for 55-60 minutes (add 5 minutes if using a glass pie dish).
The custard won't be as silky as fresh, but it's still delicious. Thaw in the fridge overnight before reheating for optimal texture.
Serving Like a Pro
Dust with powdered sugar right before serving—this creates that signature snowy contrast against the purple swirls. Serve with extra whipped cream on the side so guests can customize their portions.
For a showstopper presentation, arrange slices on a gold-rimmed platter with fresh purple yam slices on the side. The aroma alone will have everyone rushing to the table! 🍽️
Nutrition facts
Frequently asked questions about ube egg pie
Why does my ube egg pie have a runny custard?
The custard turns runny when it's underbaked or overmixed. Bake until the center just jiggles slightly (45-50 minutes at 350°F) and press down gently on the center during the last 5 minutes to set it. Also, avoid overwhisking the eggs—just blend until smooth to prevent gluten formation that makes the custard gummy.
Can I make this pie without ube halaya?
Yes! For a similar flavor, use 1.5 cups sweet potato purée mixed with 2 tbsp brown sugar and 1 tsp vanilla. For a closer match, try blending 1 cup mashed purple sweet potato with 1 cup coconut milk and 3 tbsp sugar, then simmering until thickened. The texture won't be identical, but the custard will still be delicious.
How do I get those perfect purple swirls?
Divide the custard into two portions, coloring one half with 1 tsp purple food coloring. Pour the plain custard first, then ladle the purple custard on top. Use a knife to gently swirl in a circular motion—don't overmix or the colors will blend completely. Bake immediately to preserve the marbling effect.
Is this pie gluten-free?
Not traditionally, but you can adapt it! Replace the all-purpose flour with a 1:1 gluten-free baking flour blend (like Bob's Red Mill) and use gluten-free oats in the crust if needed. The custard remains gluten-free as long as you use certified gluten-free ingredients. The texture may be slightly denser, but the flavor stays true.
What's the best way to serve ube egg pie?
Serve it warm with a dusting of powdered sugar and a dollop of freshly whipped cream on the side. For extra flair, arrange slices on a gold-rimmed platter with fresh purple yam slices or a sprinkle of toasted coconut. The contrast of warm custard and cool cream makes every bite magical!
