Pie Inside Cake: How to Make a Surprise Layered Dessert

A whole pecan pie inside a cake? Yes! Topped with chocolate frosting? Yes! And easy to make? Yes!

This dessert sounds elaborate but is surprisingly simple. The chocolate pecan pie baked inside a chocolate cake is an impressive yet easy holiday treat.

Whole cake on white cake pan with white plates and glass of milk in background.
Rich and chocolaty — this cake will be a conversation piece at your next gathering!

Why You’ll Love This Recipe

If you want a simple yet decadent dessert, a pecan pie baked into a chocolate cake delivers both flavor and wow factor with very little effort.

The method is straightforward: use a pre-made pecan pie, a boxed chocolate cake mix, and ready-made frosting. This pie-in-a-cake is one of the easiest indulgent desserts you can make at home.

Love pecan pie and chocolate cake? This piecaken combines both — the best of both worlds for holiday gatherings or any special occasion.

Why This Recipe Works

This pie-in-a-cake is quick because you start with a store-bought pecan pie (fresh or thawed from frozen), a boxed chocolate cake mix (I like mixes that include pudding for extra moisture), and a container of chocolate frosting.

Mix in a cup of chocolate chips for extra chocolatey goodness, and finish the baked piecaken with warmed frosting so it pours smoothly over the top. For a special touch, drizzle jarred caramel or sprinkle chopped pecans on top.

The unusual presentation — a pie baked into a cake — always sparks conversation. It’s a memorable dessert for Thanksgiving, Christmas, or any celebration.

Simple to make and rich in flavor, this recipe is ideal when you want an impressive dessert without complicated steps.

Ingredients

Ingredients measured out in individual containers on countertop.
Have the cake-mix ingredients (eggs, oil) ready before you begin.

Pecan pie — one 2-lb pre-made pie, fresh or frozen (thawed).

Chocolate cake mix — one 15.25-oz box Devil’s Food (or your preferred chocolate cake mix; mixes with pudding keep the cake moist). Be sure you have the required eggs, oil, and other ingredients noted on the box.

Milk chocolate chips — 1 cup (semi-sweet works fine).

Chocolate fudge frosting — one 16-oz container (ready-made).

Chopped pecans — about 1/2 cup for garnish (optional).

Instructions

Tip: For best results, follow the step-by-step recipe card below.

Photo collage of recipe steps.

1. Remove the pecan pie from its pan and set it aside. If using a frozen pie, be sure it is fully thawed.

2. Preheat the oven to 350°F. Spray a 10-inch springform pan with non-stick spray and set aside.

3. Prepare the chocolate cake batter according to the box instructions. Stir in 1 cup chocolate chips.

4. Pour about 2 cups of batter into the prepared springform pan.

5. Carefully lower the pecan pie onto the batter. Use spatulas if needed to ease it into place.

6. Pour the remaining batter over the pie, covering it as evenly as possible.

7. Bake for about 30 minutes, or until a toothpick inserted into the cake (not the pie) comes out clean. Let the piecaken cool on a wire rack for at least 30 minutes.

8. Remove the springform ring and transfer the piecaken to a cake platter. Allow it to cool completely before frosting for neater slices.

9. To frost: warm the container of chocolate frosting in the microwave for 20–30 seconds (in a microwave-safe container) and stir until pourable, like honey. Pour or drizzle the frosting over the top, spreading it so it drips down the sides if desired. Garnish with chopped pecans and extra chocolate chips if you like.

Serve warm with vanilla ice cream for an extra treat, or chill and serve cold. Store covered in the refrigerator for up to 3 days. Reheat individual slices briefly in the microwave if preferred.

Freezing: Fully cool the piecaken, then wrap it tightly in several layers of plastic wrap and a layer of foil. Freeze up to 3 months. Thaw at room temperature for 2–3 hours before serving.

Slice of cake on white plate with chopped pecans scattered around.

Recipe

Slice of cake on white plate with chopped pecans scattered around.

Pie in a Cake

A whole pecan pie baked inside a chocolate cake, topped with chocolate frosting. This piecaken is an easy, impressive holiday dessert.
Course: Dessert
Cuisine: American
Prep Time: 10 minutes
Cook Time: 30 minutes
Total Time: 40 minutes
Servings: 12
Calories: 512 kcal
Author: Anne Clark

Ingredients

  • 1 — 2-lb pre-made pecan pie, fresh or frozen (thawed)
  • 1 — 15.25-oz box Devil’s Food chocolate cake mix (plus eggs, oil, etc.)
  • 1 cup milk chocolate chips (or semi-sweet)
  • 1 — 16-oz container chocolate fudge frosting
  • ½ cup chopped pecans for garnish (optional)

Instructions

  1. Remove the pecan pie from its pan and set aside. Thaw if frozen.
  2. Preheat oven to 350°F. Spray a 10-inch springform pan with non-stick spray.
  3. Prepare the cake batter per box directions and stir in 1 cup chocolate chips.
  4. Pour about 2 cups of batter into the pan, then place the pecan pie on top.
  5. Pour the remaining batter over the pie to cover it.
  6. Bake 30 minutes or until a toothpick into the cake comes out clean. Cool at least 30 minutes on a wire rack.
  7. Remove the springform pan, transfer to a platter, and allow to cool completely before frosting.
  8. Warm frosting until pourable, spread over the top, and garnish as desired.

Notes

Serve with vanilla ice cream for an extra treat. Store covered in the refrigerator up to 3 days. Reheat slices briefly in the microwave if you prefer them warm.

Nutrition

Per serving (approximate): 512 kcal; Carbs 73 g; Protein 5 g; Fat 25 g. Nutrition varies by brand and portion size.

Please leave a comment if you make this recipe — I’d love to hear how it turned out for you.

This recipe was originally published in 2019 and updated in 2022.