Pie-In-A-Cake Recipe: Two-Layered Dessert That Fools Everyone

Desserts

Pie-In-A-Cake Recipe: Two-Layered Dessert That Fools Everyone

This pie-in-a-cake recipe delivers the ultimate dessert deception—moist, fluffy cake layers wrapped around a rich, gooey pie filling that tastes like a slice of homemade apple or berry pie. 💛 The secret lies in baking the cake layers first, then inserting the pie filling between them before the final bake, creating a showstopping dessert that’s both elegant and foolproof.

What makes this recipe special is its versatility—swap out the filling for anything from classic apple to decadent chocolate pudding, all while keeping the same cake structure. The cake batter is designed to stay tender and rich, ensuring it doesn’t dry out during the second baking phase.

With just a few simple ingredients and a 30-minute prep time, you’ll have a dessert that looks restaurant-worthy but is surprisingly easy to assemble.

The result is a two-layered masterpiece with a golden, slightly crisp top crust and a velvety, custard-like filling that oozes with every bite. The cake layers remain soft and moist, while the pie filling stays perfectly set—no soggy bottoms or dry edges here.

This dessert is perfect for celebrations, dinner parties, or even a special treat for yourself.

Garnish with a dusting of powdered sugar or fresh berries for an extra touch of elegance. Let’s get baking!

👨‍🍳
Difficulty
Medium
🔥
Calories
Med Cal

Ingredients for pie in a cake

Simple cake layers and rich pie filling combine for a dessert that looks fancy but bakes effortlessly.

Ingredient Amount Notes
All-Purpose Flour 🌾 2 ½ cups Sifted for light texture
Granulated Sugar 🍚 2 cups White sugar preferred
Unsalted Butter 🧈 1 cup Softened to room temperature
Large Eggs 🥚 4 whole Room temperature for best mixing
Baking Powder 🧂 2 tsp Freshly opened for best rise
Salt 🧂 ½ tsp Fine sea salt preferred
Vanilla Extract 💧 2 tsp Pure vanilla extract
Milk 🥛 1 cup Whole milk for richness
Powdered Sugar 🍚 1 cup For dusting and filling
Apple Pie Filling 🍏 2 cups Homemade or quality canned
Lemon Juice 🍋 1 tbsp Freshly squeezed
Cornstarch 🌾 2 tbsp For thickening filling
Cinnamon 🌿 1 tsp Ground cinnamon
Fresh Berries 🍓 1 cup For garnish (optional)

The cake layers are where the magic happens. King Arthur or Gold Medal flour gives the best texture—light and tender without being dry. For the butter, Plugrá or Land O'Lakes work perfectly, but avoid anything with added salt. Eggs should be at room temperature, so take them out of the fridge 30 minutes before mixing. The vanilla extract matters here—Nielsen-Massey or McCormick pure extract adds depth. If you're using canned pie filling, Mott's or Libby's are reliable, but homemade tastes even better.

No vanilla extract? Almond extract at half the amount works in a pinch, though the flavor will differ slightly. Short on milk? Heavy cream or evaporated milk adds richness. The pie filling can be swapped for apple butter, chocolate pudding, or even lemon curd—just adjust the thickness with cornstarch if needed. For a berry twist, use frozen mixed berries thawed and strained. The lemon juice brightens everything, so don’t skip it—freshly squeezed is best, but bottled works in a bind.

The cake layers keep well for 2 days at room temperature, wrapped in plastic. The pie filling can be prepped a day ahead and stored in the fridge. Assemble the dessert just before baking to keep the cake layers fresh. Garnish with powdered sugar or fresh berries right after baking—strawberries or blueberries add a pop of color. Leftovers? Store in an airtight container for 3-4 days in the fridge, or freeze for up to 2 months

❤️

Why You'll Love This Recipe

  • No Mixer Needed: I swear by this one—just fold the butter into the flour until it’s pea-sized crumbles, then crack in the eggs. No electric mixer, no stress, and the texture comes out tender every time.
  • Sweet Butter Magic: That rich, cold butter folded into the batter? It melts into flaky layers that taste like a cross between pie crust and cake. Honestly, the first bite makes me wonder why I ever ate plain cake.
  • Double Duty Dessert: Slice it warm for a gooey treat, or let it cool and frost it like a cake—it works both ways. I’ve even used leftover pieces for ice cream toppings. Versatility like this is rare.
  • Budget-Friendly Luxury: Five ingredients, all pantry staples. No fancy fillings, no expensive shortcuts—just pure, buttery satisfaction. My wallet thanks me every time I pull this out instead of ordering takeout.

Step-by-step instructions for two-layered apple dessert

Here's how to create this deceptive masterpiece with perfect texture in every layer.

1

👨‍🍳 Step 1: Prepare the Cake Base

Preheat your oven to 350°F and grease a 9-inch round cake pan (or line with parchment paper). In a large mixing bowl, combine the 2.5 cups all-purpose flour, 2 tsp baking powder, 0.5 tsp salt, and 1 tsp cinnamon. Whisk until evenly distributed—this ensures a light, tender crumb throughout.

In a separate bowl, cream together the 1 cup softened butter and 2 cups granulated sugar on medium speed until light and fluffy (3-4 minutes). Add the 4 whole eggs one at a time, mixing well after each addition. This gradual incorporation prevents curdling and creates a stable emulsion for the cake structure.

2

👨‍🍳 Step 2: Mix Wet Ingredients and Assemble

Alternate adding the dry flour mixture and 1 cup milk to the butter-egg mixture, beginning and ending with the flour. Mix on low speed just until combined—overmixing develops gluten and creates a tough cake. Fold in the 2 tsp vanilla extract until just incorporated.

Pour half of the batter into the prepared cake pan and smooth the top. This first layer will be your "cake" base that holds the filling. Bake for 15-18 minutes or until a toothpick inserted in the center comes out clean. Let cool in the pan for 5 minutes before removing to a wire rack.

3

🥘 Step 3: Prepare the Apple Filling

While the first layer bakes, prepare the filling in a medium saucepan. Combine the 2 cups apple pie filling, 1 tbsp lemon juice, and 2 tbsp cornstarch. Cook over medium heat, stirring constantly, until the mixture thickens enough to coat the back of a spoon (5-7 minutes).

Remove from heat and stir in 1 cup powdered sugar until dissolved. This sweetened filling will create the "pie" layer that makes this dessert so deceptive. Let the filling cool completely before assembling—this prevents the cake layers from becoming soggy.

4

🍳 Step 4: Assemble and Bake the Top Layer

Spread the cooled apple filling evenly over the first cake layer. Return the pan to the oven and pour the remaining batter over the filling. Gently tap the pan on the counter to release any air bubbles. Bake for an additional 20-25 minutes until the top is golden brown and a toothpick inserted comes out clean.

Here's the key: the top layer should be slightly underbaked in the center when removed from the oven. This allows the filling to continue cooking slightly as the dessert sits, creating that perfect pie-like texture without being overcooked. Let cool completely in the pan before serving.

5

🍽️ Step 5: Serve with Fresh Berries

Once completely cooled, dust the top with powdered sugar and garnish with 1 cup fresh berries. The contrast of warm spiced apple filling between two cake layers creates the illusion of a pie, while the berries add a fresh, vibrant touch. Serve slices at room temperature for the best texture experience.

This dessert plays with expectations while delivering perfect texture in every bite—the crisp cake layers contrast beautifully with the soft, spiced apple filling. The secret lies in the precise baking times and complete cooling between layers.

👨‍🍳

Pro Tips For Making Pie In A Cake

  • CHILL THE BUTTER FIRST: I learned this the hard way—dumping cold butter cubes straight into warm batter makes it clump like a rock. Cut the unsalted butter into ¼-inch pieces and let it sit at room temp for 10-15 minutes before mixing. The goal? It should soften but not melt—just enough to blend smoothly without turning your cake into a greasy mess.
  • WEIGH YOUR FLOUR (YES, REALLY): Scooping flour from the bag packs in air, which makes your pie-in-a-cake dense and dry. Use a kitchen scale and measure the all-purpose flour by weight (usually 1 cup = 120g). If you’re stuck scooping, at least fluff the bag first and spoon the flour into the measuring cup—then level it off. Trust me, your texture will thank you.
  • BAKE UNTIL THE CENTER CRACKS: The cake layer needs to be fully set before the filling sets, or you’ll end up with a soggy bottom. Insert a toothpick into the center—it should come out clean, but if it’s wet, bake 5-10 more minutes. Pro move: Rotate the pan halfway through baking for even heat. Overbaking? That’s easy to spot. Underbaking? That’s where things go wrong.
  • SKIP THE EXTRA SUGAR IN THE FILLING: The cake’s already got sugar in the batter, and adding more to the pie filling can make it gummy. Use just enough to sweeten the fruit or custard—about 2 tablespoons for a standard filling. If your fruit is tart, a pinch of cornstarch thickened with cold butter works better than drowning it in sugar. Less sugar = cleaner flavor, more balance.

Troubleshooting perfect results

Soggy Cake Layers

If your cake layers turn soggy after adding the filling, it’s likely from moisture transfer. Always let the pie filling cool completely before spreading it between layers—this prevents steam from creating a gummy texture.

I’ve found that pre-baking the first layer slightly longer (18-20 minutes) helps it hold up better to the moist filling. 💧

Uneven Baking

Uneven baking often happens when the top layer isn’t level or the pan isn’t properly centered. Use a 9-inch round cake pan and gently tap it on the counter after adding the second batter layer to release air bubbles.

If your oven runs hot, reduce the temperature to 340°F for the second bake. I also recommend checking the oven rack placement—middle rack ensures even heat distribution.

Filling Too Runny

A runny filling can make the dessert messy and unappetizing. For homemade fillings, cook until it reaches a 205°F internal temperature (use a candy thermometer) and thickens to a pudding-like consistency.

If using canned filling, mix in an extra 1 tbsp cornstarch and cook for an additional 2 minutes to thicken further. Let it cool completely before assembling.

Cracked Top Layer

Cracks in the top layer usually mean the batter was overmixed or the oven temperature fluctuated. To prevent this, mix the batter just until combined—stop as soon as the flour disappears. Also, avoid opening the oven door during the second bake.

If cracks appear, they’re purely cosmetic and don’t affect taste. For a smoother finish, brush the top with a thin layer of simple syrup (equal parts sugar and water)** before the final bake.

Dry Cake Texture

Dry cake layers often result from overbaking or using too much flour. Weigh your ingredients for accuracy—2.5 cups all-purpose flour should be 315 grams (not scooped). If your kitchen is dry, add 1 tbsp milk or water to the batter.

For extra moisture, fold in 2 tbsp sour cream or Greek yogurt when mixing the wet ingredients. 🌿

Filling Leaks Out

If the filling leaks through the sides, your first cake layer wasn’t baked long enough or the pan wasn’t properly greased. Ensure the first layer is fully set (toothpick clean) before adding filling.

For extra insurance, line the pan with parchment paper or use a nonstick spray like Baker’s Joy. If leaks occur, serve immediately—the cake will firm up slightly as it cools.

Nutrition facts

Servings 8
Amount Per Serving
Calories 480kcal
% Daily Value *
Total Fat 24g31%
Saturated Fat 15g75%
Cholesterol 120mg40%
Sodium 420mg18%
Total Carbohydrate 68g25%
Dietary Fiber 2g8%
Sugars 52g
Protein 6g12%
* Percent Daily Values are based on a 2,000 calorie diet. Your daily values may be higher or lower depending on your calorie needs.

Frequently asked questions

1

Can I use this recipe for other pie fillings besides apple?

This hybrid dessert works beautifully with any pie filling. Try berry compote, chocolate pudding, or even peach cobbler filling. For custard-based fillings, ensure they're fully cooled before assembling to prevent soggy cake layers. The key is matching the filling's thickness—thicker fillings like apple or pumpkin work best for structural integrity.

2

Why does the recipe call for baking the cake in two stages?

The two-stage baking creates the perfect texture contrast: a fully baked bottom layer that holds the filling, and a slightly underbaked top layer that stays moist. This method prevents the cake from becoming dry while ensuring the filling stays perfectly set. The first bake sets the base, while the second bake gently cooks the filling without overcooking the cake.

3

How do I make this dessert gluten-free?

Replace the all-purpose flour with a 1:1 gluten-free baking flour blend like Bob's Red Mill or King Arthur. Use 1/4 cup extra gluten-free flour (total 2.75 cups) and add 1 tsp xanthan gum to mimic gluten's structure. For the filling, ensure your pie mix or ingredients are certified gluten-free. The cake batter may be slightly denser but will still hold together beautifully.

4

Can I make this ahead of time?

Yes! The cake layers can be baked and stored for 2 days at room temperature, wrapped tightly. The filling can be prepared 1 day ahead and refrigerated. Assemble the dessert just before the final bake—this keeps the cake layers fresh. For make-ahead serving, bake completely, then refrigerate the whole cake (covered) for up to 3 days. Bring to room temperature before slicing.

5

What's the best way to serve this dessert?

Serve at room temperature for the perfect texture contrast. Dust with powdered sugar and garnish with fresh berries or a drizzle of caramel sauce for visual appeal. For a warm presentation, briefly warm slices in the oven (300°F for 5 minutes) to soften the filling slightly. Pair with vanilla ice cream or whipped cream for an extra decadent touch.

★★★★★4.9(10 reviews)
Categories Desserts