Desserts
This pie-in-a-cake recipe delivers the best of both worlds—fluffy cake layers infused with rich pie filling, all baked into one decadent dessert.
The secret lies in layering a moist vanilla cake batter with luscious apple or berry pie filling, creating a texture that's lighter than traditional pie but just as satisfying. I developed this after craving something special that didn't require pie crust—yet still tasted like a homemade classic.
The magic happens with a tender cake base that absorbs the filling without becoming soggy, while the filling stays gooey and flavorful throughout. You'll work with simple ingredients—flour, sugar, eggs, butter, and your choice of pie filling—all combined in a way that feels indulgent yet approachable.
This dessert is perfect for celebrations or when you want to impress without the fuss of pie crust.
By the time it emerges from the oven, you'll have golden layers of cake interspersed with pockets of warm, spiced filling that practically melt in your mouth.
The aroma alone will have everyone gathering in the kitchen, and each bite delivers that perfect balance of cake and pie in every forkful. It's the kind of dessert that feels like a hug—comforting, familiar, and utterly delicious.
Serve warm with a scoop of vanilla ice cream or whipped cream for the ultimate crowd-pleaser. The recipe scales easily, so you can adjust the size of your pan to fit any occasion. Let's get baking!
Ingredients for pie in a cake
Simple ingredients transform into a showstopper dessert with layers of cake and pie magic.
| Ingredient | Amount | Notes |
|---|---|---|
| All-Purpose Flour 🌾 | 2 ½ cups | Sifted for light texture |
| Granulated Sugar 🍚 | 2 cups | Divided for cake and filling |
| Unsalted Butter 🧈 | 1 ½ cups | Room temperature, softened |
| Large Eggs 🥚 | 4 whole | Room temperature, separated |
| Vanilla Extract 🌸 | 2 tsp | Pure, high-quality extract |
| Baking Powder 🧂 | 2 tsp | Diamond Crystal preferred |
| Salt 🧂 | ½ tsp | Fine sea salt |
| Canned Apple Pie Filling 🍎 | 2 cups | Unsweetened, or homemade |
| Ground Cinnamon 🌿 | 1 tsp | Freshly ground for warmth |
| Vanilla Ice Cream 🍦 | 2 cups | For serving, optional |
| Powdered Sugar 🍚 | ¼ cup | For dusting, optional |
| Heavy Whipping Cream 🥛 | ½ cup | For topping, optional |
The flour and butter are the backbone of this recipe—King Arthur flour or Gold Medal works best for that tender crumb. Butter should be room temperature but not melted; I always let it sit out for 30 minutes before mixing. For the apple pie filling, Mott's unsweetened or Bertolli are my go-tos, but homemade is even better if you've got the time. The vanilla extract? Nielsen-Massey is my secret weapon—it's pure and packs serious flavor. If you're using fresh eggs, room temperature makes all the difference for fluffier layers.
No vanilla ice cream on hand? Homemade custard or even dulce de leche drizzled over the top works beautifully. Short on powdered sugar? A sprinkle of crushed graham crackers adds texture without sweetness. The cinnamon can be swapped for pumpkin pie spice if you're feeling adventurous—just reduce to half a teaspoon to avoid overpowering. For the whipping cream, Cool Whip is a quick fix, but fresh cream whipped with a pinch of sugar tastes like a classic diner dessert. And if you're using a 9x13-inch pan, this recipe serves a crowd—perfect for potlucks!
This dessert is best served warm, straight from the oven, but it also reheats beautifully. Store leftovers in the fridge for up to 4 days, covered tightly. To reheat, pop it in a 350°F oven for 10-15 minutes until the filling is gooey again. The whipping cream and ice cream should be added fresh, though—no storing those ahead! For a make-ahead dessert, bake the cake layers without the filling, store them separately, and assemble just before serving. Trust me, the anticipation is half the fun!
Why You'll Love This Recipe
- No Mixer Needed: I swear by this recipe because it only requires a bowl and a whisk—no fancy equipment, no stress. Creaming the butter and sugar by hand gives it that signature fluffiness, and honestly? The eggs and vanilla do all the heavy lifting after that.
- Rich Without Effort: That buttery, crumbly texture with pockets of custard? It’s like pie’s dreamy cousin. The sugar caramelizes just enough to give it depth, while the vanilla ties everything together—simple, but ridiculously satisfying.
- Dessert for Any Day: Between us, this is my go-to for potlucks, last-minute date nights, or when I just want pie but don’t have the patience to bake one. Slice it fresh or stash it in the fridge—it’s just as good cold the next morning (yes, really).
- Budget-Friendly Luxury: Flour, sugar, butter, eggs—these are pantry staples, not splurges. I’ve made this for a dozen people for under $15, and no one ever guesses it’s not homemade. Leftovers? They disappear faster than I can say “second slice.”
Step-by-step instructions for pie-in-a-cake
Here's how to create this magical dessert with layers that taste just like classic pie.
Prepare the Cake Layers
Preheat your oven to 350°F and grease an 8-inch round cake pan. In a large mixing bowl, combine the 2.5 cups All-Purpose Flour, 2 tsp Baking Powder, 0.5 tsp Salt, and 1 tsp Ground Cinnamon. Whisk until evenly distributed—this ensures a perfectly light texture throughout.
In a separate bowl, beat the 1.5 cups Unsalted Butter (room temperature) and 1 cup Granulated Sugar until light and fluffy, about 3-4 minutes. Add the 4 whole Large Eggs one at a time, mixing well after each addition. This step creates the airy foundation that holds the filling beautifully.
Gradually add the dry ingredients to the butter mixture, alternating with the remaining 1 cup Granulated Sugar. Mix on low speed until just combined—overmixing develops gluten, which can make the cake dense. Finally, stir in the 2 tsp Vanilla Extract until evenly distributed. Pour half of the batter into your prepared pan and spread evenly.
Add the Apple Filling Layer
Spread the 2 cups Canned Apple Pie Filling evenly over the first cake layer. Use a spatula to create a smooth, even layer—this ensures each bite has perfect pie flavor in every forkful. The filling should cover the entire surface without overflowing the pan's edges.
Now pour the remaining cake batter over the apple filling. Use a spoon to gently swirl the batter through the filling, creating marbled patterns that look stunning when sliced. This layering technique ensures each bite delivers both cake and pie flavors in perfect harmony.
Bake for 40-45 minutes or until a toothpick inserted into the center comes out clean. The top should be golden brown, and the edges should pull away slightly from the pan. Let the pie-in-a-cake cool in the pan for 10 minutes before transferring to a wire rack to cool completely.
Prepare the Cream Topping
While the pie-in-a-cake cools, prepare the topping by chilling a mixing bowl in the freezer for 5 minutes. In this chilled bowl, beat the 0.5 cup Heavy Whipping Cream until soft peaks form. Gradually add the 0.25 cup Powdered Sugar, beating until stiff peaks form and the mixture is glossy and smooth.
This step is crucial for achieving that perfect pie-like topping. The cold bowl helps stabilize the cream, and the powdered sugar adds just the right amount of sweetness without overpowering the apple flavor. Spread the whipped cream evenly over the cooled pie-in-a-cake, creating a smooth, even layer.
Serve with Vanilla Ice Cream
Serve the pie-in-a-cake immediately with 2 scoops Vanilla Ice Cream per slice. The contrast between the warm pie-in-a-cake and cold ice cream creates an unforgettable texture experience. Cut into 8 equal slices and arrange on plates with the ice cream on the side for dipping.
This dessert delivers all the comfort of classic apple pie with the convenience of a cake. Each bite offers the perfect balance of fluffy cake, spiced apple filling, and creamy topping—making it an instant crowd-pleaser for any occasion.
Pro Tips For Making Pie In A Cake
- MELT THE BUTTER FIRST: I learned this the hard way—trying to mix cold butter into the dry ingredients just makes a lumpy mess. Use the microwave for 20-30 seconds (or a double boiler) to soften the butter to room temperature, then whisk it with the sugar until it’s light and airy. That’s when the cake actually gets tender, not when you’re fighting dough.
- WEIGH YOUR FLOUR: Scooping flour from the bag packs it down, and suddenly your cake’s denser than a brick. Use a kitchen scale for the flour—1 cup of all-purpose flour isn’t always 120 grams—and spoon it in lightly, then level it off. Your pie-in-a-cake layers will thank you with a lighter crumb.
- DON’T OVERMIX THE BATTER: I used to beat this batter until my arm ached, thinking more mixing = better cake. Wrong. Once the flour’s just combined, stop—overmixing develops gluten, and your cake turns tough instead of fluffy. Fold in the filling gently, like tucking in a blanket, not punching it.
- BAKE IN TWO STAGES: This isn’t a one-and-done bake. First, bake the cake layers at 350°F (175°C) for 12-15 minutes until they’re just set—no browning, no wobble. Then, after filling and chilling, finish at 325°F (160°C) for 15-20 minutes. Lower heat prevents the filling from bubbling over like a volcano while keeping the cake moist.
Troubleshooting this dish
Soggy Cake Fix
If your cake layers turn out soggy after baking, it’s likely because the filling was too wet or the cake didn’t bake long enough. To prevent this, bake the cake layers separately for 15-20 minutes before adding the filling.
This ensures the cake sets properly before absorbing the moisture. Also, use unsweetened pie filling—sweetened versions contain extra syrup that can make the cake dense. 💡
Filling Leaks Out
If the filling leaks out during baking, spread it thinly and evenly over the first cake layer, leaving a small border around the edges. Pressing the filling down gently with a spoon helps it stay put.
Another trick? Chill the pie-in-a-cake in the fridge for 10 minutes before baking—this helps the filling firm up slightly and reduces spillage. 🧊
Uneven Baking
Uneven baking often happens if the oven isn’t preheated properly or if the pan isn’t leveled. Always preheat your oven for at least 15 minutes before baking. Place the pan on the middle rack for even heat distribution.
If your oven runs hot, reduce the temperature to 325°F and add 5-10 extra minutes to the baking time. 🔥
Cake Too Dense
Overmixing the batter is the #1 cause of dense cake. Mix the dry ingredients and wet ingredients separately first, then combine them gently using a spatula. Avoid using an electric mixer on high speed—stick to low speed for just 30 seconds after combining.
Also, sift the flour before mixing to prevent lumps, which can weigh down the texture. 🌾
Filling Not Cooked Through
If the filling stays undercooked, extend the baking time by 5-10 minutes and check the internal temperature—it should reach 190°F for a fully set filling. For extra insurance, place a small bowl of water on the lower oven rack to add moisture and help cook the filling evenly.
If using homemade filling, thicken it with 1 tsp cornstarch before adding it to the cake. 🍎
Cracked Top
Cracks usually appear when the cake bakes too quickly or the oven temperature fluctuates. To prevent this, wrap the pan in aluminum foil during the first 20 minutes of baking to slow the rise.
Also, avoid opening the oven door during baking—each time you do, the temperature drops, causing uneven expansion. A lightly greased pan helps too! 🧲
Nutrition facts
Frequently asked questions
Can I use a different type of pie filling instead of apple?
This recipe works beautifully with any pie filling—try cherry, blueberry, or even pumpkin for a fall twist. Just ensure your filling isn't too watery, as that can make the cake layers soggy. Homemade fillings work great too, but thicken them with 1 tsp cornstarch per cup of liquid to prevent leaks during baking.
How do I make this recipe gluten-free?
Replace the all-purpose flour with a 1:1 gluten-free baking flour blend (like Bob's Red Mill or King Arthur). You may need to add 1 extra tsp baking powder and 1 tbsp xanthan gum to improve texture. For the pie filling, use a pre-made gluten-free version or make your own with gluten-free thickeners. Always check labels to avoid cross-contamination.
Can I bake this in a different pan size?
Yes! For a 9-inch round pan, reduce baking time by 5-10 minutes (watch closely at 350°F). For a 9x13-inch pan, increase all ingredients by 1.5x and bake for 50-55 minutes. Line your pan with parchment paper for easy removal, and grease it well to prevent sticking. The key is even heat distribution—use the middle oven rack.
Why does my pie-in-a-cake need to cool before adding whipped cream?
The cake needs to cool completely (1-2 hours) so the whipped cream doesn't melt immediately when spread on top. Warm cake + cold cream = a sad, melty mess! Chill the pie-in-a-cake for 30 minutes in the fridge before adding the topping for perfect stability. If you're short on time, let it cool at room temperature while preparing the cream in a chilled bowl.
Can I make this ahead of time?
Yes! Bake the pie-in-a-cake 1 day ahead and store it at room temperature, covered loosely. Reheat slices in the oven at 300°F for 8-10 minutes to warm the filling. The whipped cream and ice cream should be added fresh—store them separately and assemble just before serving. For make-ahead convenience, bake the cake layers without filling, store them separately, and assemble with filling when ready to bake.
