Desserts
This pie in a cake recipe transforms classic dessert into a showstopper with layers of vanilla swirl and pie filling—no crust, no mess, just pure indulgence. 💛 The secret lies in baking the cake first, then cutting a well-placed channel for the filling to swirl through, creating a marbled masterpiece that looks like it came from a bakery window.
What makes this recipe special is the balance of textures: a tender vanilla cake base with moist, buttery layers, contrasted by the rich, gooey pie filling that peeks through like edible art.
The technique is simpler than it appears—no fancy equipment needed, just precise layering and a steady hand for the filling insertion.
By the time you pull this dessert from the oven, you'll have a golden, swirled masterpiece that's impossible to resist. The warm vanilla aroma mingles with the pie filling's sweet-tart notes, creating a flavor experience that's both nostalgic and exciting.
It's the perfect dessert for celebrations or when you want to impress without the stress of pie crust.
Serve warm with vanilla ice cream or whipped cream to enhance the swirl effect, and watch as everyone marvels at the beautiful presentation. Here's how to create this stunning dessert that's easier than traditional pie.
Ingredients for pie in a cake
Eight essential ingredients transform into a showstopping dessert with perfect vanilla swirls and pie filling.
| Ingredient | Amount | Notes |
|---|---|---|
| All-Purpose Flour 🌾 | 2 ½ cups | Sifted for even texture |
| Granulated Sugar 🍚 | 1 ½ cups | White or light brown |
| Unsalted Butter 🧈 | 1 cup | Cold, cubed for creaminess |
| Large Eggs 🥚 | 4 whole | Room temperature for blending |
| Vanilla Extract 💧 | 2 tsp | Pure alcohol-free preferred |
| Baking Powder 🧂 | 2 tsp | Freshly opened for lift |
| Salt 🧂 | ½ tsp | Fine sea salt |
| Milk 🥛 | 1 cup | Whole milk for richness |
| Pie Filling 🍎 | 2 cups | Store-bought or homemade (apple, cherry, or berry) |
| Powdered Sugar 🍚 | ½ cup | For dusting swirls |
| Vanilla Ice Cream 🍦 | 1 ½ cups | For serving (optional) |
The flour and butter are your foundation—King Arthur flour if you want to splurge, but any all-purpose works. Butter should be cold when you start, but not rock-hard. Store-bought pie filling (like Little House brand) saves time, but homemade tastes better. For the vanilla extract, Nielsen-Massey is my go-to—pure, no funny aftertaste. The baking powder must be fresh; if it's been sitting in your pantry for months, toss it and buy a new box. Milk adds moisture, but whole milk gives the richest texture—skip the skim if you want that bakery-style feel.
No vanilla ice cream? Whipped cream or caramel sauce works too. Short on powdered sugar? Granulated sugar blended into a fine powder is a decent swap. The pie filling can be any flavor—apple or cherry are classic, but berry works beautifully. If you're making your own filling, use thickened, reduced fruit puree>—it should coat the back of a spoon. For the cake batter, don't overmix; just combine until smooth. The secret to the swirl is patience—let the cake cool slightly before cutting the channel, or the filling will leak out.
Store the cake in an airtight container at room temperature for up to 3 days. Reheat slices in the oven at 300°F for 5-10 minutes to restore the gooey filling. The ice cream or whipped cream should be added right before serving—no need to refrigerate the whole cake. If you're prepping ahead, assemble the cake and filling a day in advance, then refrigerate. Bring to room temperature before serving for the best texture.
Why You'll Love This Recipe
- No Mixer Needed: I swear by this recipe on lazy days—just cream the butter and sugar with my fingers, crack in eggs like a pro, and fold in flour. The texture turns out tender every time, even when I’m distracted.
- Vanilla Buttercream Magic: That rich vanilla extract and cold butter create a filling so smooth it tastes like a slice of pie. Honestly, I’ve never met a cake this fluffy that doesn’t taste like dessert first.
- Dessert for Any Occasion: Serve it warm with ice cream for a casual Sunday night, or slice it for a potluck—no one will guess it’s not a traditional pie. (Yes, even on a Tuesday night.)
- Budget-Friendly Luxury: Flour, sugar, butter, eggs—these are pantry staples that stretch for multiple cakes. I’ve made this for birthdays, holidays, and “just because” moments without breaking the bank.
Step-by-step instructions for vanilla swirl magic
Here's how to create a showstopping dessert that combines cake and pie into one decadent treat.
👨🍳 Step 1: Prepare the Cake Batter
Preheat your oven to 350°F and grease a 9-inch round cake pan generously with butter, then dust with flour. In a large mixing bowl, combine the 2.5 cups all-purpose flour, 2 tsp baking powder, and 0.5 tsp salt. Whisk together until no lumps remain - this ensures an even texture throughout.
In a separate bowl, cream together the 1 cup cold unsalted butter and 1.5 cups granulated sugar using an electric mixer on medium speed until light and fluffy, about 3-4 minutes. The mixture should nearly double in volume and look pale. Add the 4 whole large eggs one at a time, mixing well after each addition. Scrape down the sides of the bowl as needed to ensure all ingredients are fully incorporated.
With the mixer running on low speed, gradually add the 1 cup milk and 2 tsp vanilla extract until just combined. Then, carefully fold in the dry ingredients using a spatula until the batter is smooth. Avoid overmixing - just until no flour streaks remain. This creates a tender crumb that's perfect for swirling.
🥘 Step 2: Create the Pie Filling Swirls
Pour about half of the cake batter into your prepared pan and spread it evenly. Drop spoonfuls of the 2 cups pie filling evenly across the surface, leaving about ½-inch between each dollop. Use the back of a spoon to gently press down on the filling to create slight indentations - this helps the batter flow through when you swirl.
Spoon the remaining cake batter over the pie filling, spreading it evenly across the top. Here's the magic: using a butter knife, gently swirl the batter and filling together in a circular motion starting from the outer edge and working toward the center. You want to create a marbled effect with visible swirls of filling throughout. Don't overwork the batter - just enough to create the pattern.
🔥 Step 3: Bake to Golden Perfection
Bake in the preheated oven for 35-40 minutes or until a toothpick inserted into the center comes out clean. The top should be golden brown with a slightly cracked surface - this indicates it's fully baked. If the edges brown too quickly, loosely cover them with aluminum foil after 20 minutes to prevent overbrowning.
While the cake is baking, dust a clean wire rack with the 0.5 cup powdered sugar. As soon as the cake emerges from the oven, invert it onto the rack to cool completely. This step creates a beautiful powdered sugar dusting on the bottom that adds to the presentation. Let it cool for at least 15 minutes before serving.
🍽️ Step 4: Serve with Vanilla Ice Cream
Slice the cake into 8 equal wedges using a sharp serrated knife. For the ultimate presentation, place each slice on a dessert plate and top with a generous scoop of the 1.5 cups vanilla ice cream. The warm cake and cold ice cream create a perfect contrast that enhances all the flavors.
Serve immediately while the cake is still warm. The pie filling should be visible through the cake batter in beautiful swirls, and each bite should deliver the perfect balance of sweet cake, fruity pie filling, and creamy ice cream. This dessert is best enjoyed fresh from the oven when the textures are at their peak.
Pro Tips For Making Pie In A Cake
- Mix Butter and Sugar First: I used to toss everything in the bowl at once, but creaming the butter and sugar until pale (about 3-4 minutes) makes this cake tender and rich—no dry crumbs here. Skip this, and you’ll get a denser, cake-like texture instead of that perfect pie filling consistency.
- Use Room-Temp Eggs: Cold eggs? They’ll make your batter lumpy and uneven. Let them sit out for 30 minutes before cracking them into the mix—smooth batter every time. (Yes, even if you’re impatient like me.)
- Don’t Overmix the Filling: Once you fold in the egg mixture, stop as soon as it’s just combined. Overmixing introduces too much air, which can make the pie filling collapse or crack in the oven. Think "marbleized," not "whipped."
- Bake in Two Stages: Start at 350°F for 20 minutes to set the edges, then drop to 325°F for the remaining 30-35 minutes. This prevents over-browning on top while letting the center cook through—no raw spots or burnt crust. (Your oven’s hot spots will thank you.)
Essential equipment for perfect results
Must-Have Mixing Tools
Start with a stand mixer—I swear by my KitchenAid Artisan Series—for creaming butter and sugar to perfection. The paddle attachment ensures smooth batter without overmixing. A medium-sized mixing bowl (about 5-quart capacity) keeps ingredients contained while preventing spills during folding.
For precise measurements, use a digital kitchen scale (like the OXO Good Grips) for flour and sugar to avoid packing errors. 💛
Pan Essentials
A 9-inch round cake pan with removable bottom is non-negotiable—I use Wilton Perfect Results pans for even baking. Grease it thoroughly with unsalted butter and dust with flour to prevent sticking.
For the powdered sugar step, a fine-mesh sieve (like Norpro) ensures an even dusting. A wire cooling rack prevents sogginess as the cake cools.
Swirl Creation Kit
Your swirl success depends on a sharp butter knife (I prefer Mercer Culinary Genius) for clean cuts and smooth batter manipulation. A spoonula helps spread batter evenly before adding filling.
For precise filling placement, a small offset spatula (like OXO Good Grips) prevents messy drops. Keep a paper towel handy to wipe up any spills during the swirling process.
Baking & Serving Extras
An oven thermometer (I use Thermoworks) ensures your oven maintains 350°F—critical for even baking. For presentation, dessert plates with gold rims elevate the look. A serrated knife (like Mercer Culinary) slices clean wedges without tearing.
For reheating leftovers, a small baking dish (8x8-inch) works perfectly at 300°F for 5-10 minutes.
Optional Upgrades
For a pie filling funnel, a small silicone pastry bag with a ¼-inch tip makes dolloping easier. A cake tester (like OXO Good Grips) checks doneness more reliably than a toothpick.
For dusting, a powdered sugar shaker (like Norpro) speeds up the process. If you love details, a pastry brush helps with butter greasing—just dip in warm water to avoid clumping.
Nutrition facts
Frequently asked questions
Can I use any pie filling in this recipe?
Yes, but thicker fillings work best! Apple, cherry, or berry fillings are ideal since they hold their shape during baking. Avoid runny fillings like lemon curd—they'll leak out of the swirls. For homemade fillings, reduce them until they coat the back of a spoon for perfect texture.
How do I fix if the pie filling leaks out during baking?
Don't panic! If filling leaks, it's usually because the cake wasn't cool enough before swirling. For next time, let the first cake layer cool 5-10 minutes before adding filling. If it happens, simply spread the leaked filling on top after baking and broil for 1-2 minutes to set it.
Can I make this dessert ahead of time?
Assemble the cake and filling a day ahead, then refrigerate. Reheat slices in the oven at 300°F for 5-10 minutes before serving. The flavors actually improve overnight as the cake absorbs the filling's juices. Store leftovers in an airtight container for up to 3 days.
Why does my cake look dense instead of light?
Overmixing is the most common cause. Cream the butter and sugar until light and fluffy (3-4 minutes), and fold dry ingredients just until combined. Also ensure your baking powder is fresh—old powder loses its lift. For extra lightness, sift your flour before measuring.
What's the best way to serve this dessert?
Warm slices with vanilla ice cream create the perfect contrast! For a fancy touch, dust with powdered sugar or drizzle with caramel sauce. Serve immediately after reheating to maintain the gooey filling. The warm cake and cold ice cream combo makes every bite magical.
