The first time I made a gooey butter cake, I pulled it out of the oven after 35 minutes, thought it looked done, and served it 20 minutes later to a plate of confused faces. The center was basically raw. I learned that day that "gooey" and "underbaked" are two very different things, and that the wiggle test is your best friend with this kind of recipe. Since then I've made this chocolate pecan version probably a dozen times, and I finally have it exactly where I want it.
What makes this version work is the layering. You're splitting the chocolate cake batter — half goes down first, then the cream cheese filling gets spread over it, then the other half of the batter goes on top. That middle layer stays soft and fudgy even after the top sets, which is exactly what you want. The pecans scattered through the filling add just enough crunch to keep things interesting. It's a simple structure but it delivers every single time.
My husband doesn't have much of a sweet tooth, but this cake is the exception. He ate three slices the first time I brought it to a family dinner and asked me to save the rest. Saad, who is suspicious of anything with nuts in it, picked around the pecans on his first slice and ate them off the fork separately — which I'm counting as a win. If you're someone who loves a really decadent chocolate dessert, this is one I keep coming back to, similar to how I feel about my puff pastry pecan pie bites — nuts and butter and sweetness all doing exactly what they should.
One practical thing before you start: make sure your cream cheese is genuinely softened. Not "I left it on the counter for 10 minutes" softened — actually room temperature, which takes closer to 45 minutes to an hour. Cold cream cheese makes a lumpy filling, and you'll spend twice as long beating it trying to fix a problem that patience would have solved. Same goes for your eggs. Get them out of the fridge when you start preheating the oven.

Why You'll Love This Recipe
- One box of cake mix does the heavy lifting: I'm not going to pretend I always make cake batter from scratch on a weeknight — I don't. A box of devil's food or chocolate cake mix gives you a solid, reliable base so you can focus your energy on the filling, which is where this cake really shines. Nobody at the table has ever noticed it started from a box. What they notice is that creamy middle layer.
- That cream cheese filling is genuinely something special: I've made cheesecake, I've made cream cheese frosting, but there's something about cream cheese beaten with powdered sugar and eggs and poured into cake batter that creates a texture I can't fully explain. It's not quite cheesecake, not quite frosting — it's its own thing. Dense and creamy in the middle, set enough to slice cleanly when cooled.
- Pecans give it structure and flavor at the same time: I know some people skip nuts in baked goods, but here they're doing real work. Stirred into the filling, they break up the creaminess and add something toasty and slightly bitter that keeps the whole thing from being one-note sweet. If you lightly toast them first (5 minutes in a dry pan), the flavor deepens even more.
- It travels well and holds up for days: I've brought this to potlucks, sent it to school events, left it on the counter for three days — it doesn't dry out the way a regular layer cake does. The filling keeps it moist throughout. I make a 9x13-inch pan and it feeds a crowd, which is exactly what you need when you're bringing something somewhere and don't want to carry it home again.
- No stand mixer, no special equipment: I use a regular hand mixer for the cream cheese filling and a wooden spoon for the cake batter. That's it. A 9x13-inch pan, two bowls, a spatula. If you don't own a hand mixer, you can beat the cream cheese filling by hand — it'll take more elbow grease but it works. The most important thing is that the cream cheese is truly soft before you start.
Ingredients
- 1 box (15.25 oz) chocolate or devil's food cake mix
- 2 large eggs (for the cake batter)
- ½ cup vegetable oil
- ½ cup sour cream
- 8 oz cream cheese, softened to true room temperature
- 2 large eggs (for the filling)
- 2 teaspoons vanilla extract
- 4 cups powdered sugar
- 1 cup chopped pecans (lightly toasted if you have time)
Directions
- Step 1: Preheat and prep your pan. Set your oven to 350°F (175°C) and grease a 9x13-inch baking pan well. I line mine with parchment paper too — it makes pulling the whole thing out and slicing it much easier, especially since the middle stays soft.
- Step 2: Make the cake batter. In a large bowl, combine the cake mix, 2 eggs, vegetable oil, and sour cream. Stir until smooth — it'll be thick, almost like a brownie batter. Set it aside.
- Step 3: Make the cream cheese filling. In a separate bowl, beat the softened cream cheese until there are no lumps. Add the remaining 2 eggs and vanilla extract and mix until combined. Add the powdered sugar gradually and beat until the mixture is creamy and smooth. Stir in the chopped pecans with a spoon.
- Step 4: Assemble the layers. Pour half the cake batter into your prepared pan and spread it as evenly as you can — it's thick so take your time. Spoon the cream cheese filling over the top and spread it gently so it reaches the edges. Pour the remaining cake batter over the filling and spread carefully. Don't worry if it doesn't cover perfectly; the layers settle as they bake.
- Step 5: Bake. Bake for 40 to 45 minutes. The edges should look set and the top should feel firm when you press it lightly. The center will still have a slight jiggle — that's correct. Pull it out when a toothpick inserted near the center comes out mostly clean with a few moist crumbs. Not wet batter, but not dry either.
- Step 6: Cool completely before slicing. This is the step I always want to skip and never should. The filling needs time to set. Give it at least an hour at room temperature before you cut into it. If you slice it warm, the middle will slide everywhere — which is messy but honestly still delicious.

Tips for Success
- Cream cheese temperature is not negotiable: I know I already said this in the intro but I'm saying it again because cold cream cheese is the number one reason this filling turns out lumpy. Set it on the counter an hour before you start baking — not ten minutes, not thirty, an hour. If you're in a hurry, cut it into cubes; it softens faster that way.
- Toast the pecans even if you're tempted to skip it: Five minutes in a dry skillet over medium heat, stirring occasionally, makes a real difference. Raw pecans are fine. Toasted pecans are noticeably better — nuttier and slightly caramelized. Let them cool before you stir them into the filling or they'll start cooking the cream cheese mixture.
- Don't open the oven before 35 minutes: I learned this the hard way. Gooey butter cakes are more fragile than regular cakes while they're baking. If you open the oven too early, the center can sink. Set a timer for 35 minutes, then check from that point. The top should look set and slightly cracked before you pull it out.
- Line the pan with parchment for clean removal: Grease the pan first, then press in a sheet of parchment paper with some overhang on the sides. That overhang becomes your handle when you lift the whole cake out to slice it. Without parchment, getting those first few pieces out of a 9x13-inch pan without destroying them is genuinely difficult.
- Add powdered sugar to the filling gradually: Four cups of powdered sugar is a lot, and if you dump it all in at once you'll have a cloud of sugar in your face and a lumpy filling. Add it in two or three additions, mixing between each one. The filling should end up thick, creamy, and ribbon-like when you lift the beaters.
Variations
- Add mini chocolate chips to the filling: Stir ½ cup of mini chocolate chips into the cream cheese filling before you assemble. They stay melty in the warm center and add little pockets of extra chocolate throughout. My husband strongly approves of this version. I use Nestlé Toll House minis, which I can find at any Walmart or Target.
- Swap walnuts for pecans: If pecans aren't available near you or you just prefer walnuts, the swap is completely straightforward — same amount, same method. Walnuts have a slightly more bitter edge which actually works well against the sweetness of the filling. Almonds work too but I'd chop them finer so they blend into the texture better.
- Add a caramel drizzle: Once the cake has cooled, drizzle warmed store-bought caramel sauce over the top. Ghirardelli caramel sauce from Costco or Trader Joe's works well. The caramel and pecans together taste a lot like pecan pie, which is a direction I'm always happy to go. This version is especially good if you're serving it for a holiday dinner.
- Make it gluten-free: Use a 1:1 gluten-free cake mix (Bob's Red Mill and King Arthur both make good ones) and double-check your powdered sugar brand is labeled gluten-free. Everything else in the recipe is naturally gluten-free. I haven't noticed a significant difference in texture with a good GF mix — the filling carries most of the structure anyway.
- Add a pinch of espresso powder: A teaspoon of instant espresso or instant coffee stirred into the cake batter deepens the chocolate flavor without making it taste like coffee. This is something I do whenever I want the chocolate to hit a little harder. It doesn't change the baking time or texture at all — it just makes the chocolate taste more like chocolate.
Serving and Storage
Serving
Serve at room temperature for clean slices with a firm but still creamy center, or serve slightly warm if you want that molten-middle effect (just know it'll be messier to plate). A scoop of vanilla ice cream alongside is the most natural pairing — the cold ice cream against the dense chocolate cake is really good. If you're serving it for a dinner party, dust the top lightly with powdered sugar right before it goes to the table. It looks much more intentional than it was.
Storage
Cover the pan tightly with plastic wrap or transfer slices to an airtight container. At room temperature it keeps well for up to 3 days — the moisture in the filling actually keeps the whole thing from drying out. In the fridge it'll last up to 5 days; the filling firms up considerably when cold, which I don't mind but my husband prefers it at room temperature. To freeze, wrap individual slices tightly in plastic wrap, then foil, and freeze for up to 2 months. Thaw overnight in the fridge and bring to room temperature before serving.

Frequently Asked Questions
Can I make this cake a day ahead?
Yes, and honestly it might be better the next day. The filling has more time to set overnight, which gives you cleaner slices and a more cohesive texture throughout. Bake it the day before, let it cool completely, cover the pan tightly, and leave it at room temperature overnight. Bring it out of the fridge (if you stored it cold) at least 30 minutes before serving.
How do I know when it's done without overbaking it?
The edges should look set and feel firm when you press lightly. The center should have a very slight jiggle — not liquid movement, more like a set cheesecake. A toothpick inserted an inch from the center should come out with moist crumbs, not wet batter. If it comes out completely clean, you've gone a few minutes too far. It'll still taste good, just less gooey in the middle.
Can I freeze leftover slices?
Yes. Wrap each slice individually in plastic wrap, then in a layer of foil, and freeze for up to 2 months. Thaw in the fridge overnight and let them come to room temperature before eating. The texture holds up well — the filling doesn't become grainy or watery the way some cream cheese desserts can after freezing.
Can I use a homemade chocolate cake batter instead of a box mix?
You can, but keep in mind a homemade batter will have a different consistency than box mix batter, which tends to be thicker and sturdier. If your homemade batter is on the thinner side, it may mix into the filling layer during baking rather than staying distinct. A box mix gives you that reliable thick batter that holds the layers apart. That said, a sturdy homemade chocolate cake recipe will work if that's what you have.
What can I use instead of pecans?
Walnuts are the most natural swap and work really well here. Almonds work too — chop them fine so the texture blends in. If you want to skip nuts entirely, the cake is still good without them; the filling is rich enough to stand on its own. You could stir in ½ cup of mini chocolate chips instead for a different kind of texture contrast.

CHOCOLATE PECAN OOey GOOEY BUTTER CAKE RECIPE
Ingredients
For the Cake:
- 1 box 15.25 oz chocolate cake mix
- 2 large eggs
- ½ cup vegetable oil
- ½ cup sour cream
For the Ooey Gooey Filling:
- 8 oz cream cheese softened
- 2 large eggs
- 2 teaspoons vanilla extract
- 4 cups powdered sugar
- 1 cup chopped pecans
Instructions
Prepare Cake Batter:
- Preheat oven to 350°F (175°C). In a large bowl, combine cake mix, eggs, oil, and sour cream. Mix until smooth.
Make Filling:
- In another bowl, beat cream cheese until smooth. Add eggs and vanilla, mixing well. Gradually add powdered sugar and beat until creamy. Stir in chopped pecans.
Assemble:
- Pour half of the cake batter into a greased 9x13-inch baking pan. Spread the ooey gooey filling evenly over the batter. Pour the remaining cake batter on top and gently spread.
Bake:
- Bake for 40–45 minutes until the top is set and a toothpick inserted comes out mostly clean.
Cool and Serve:
- Allow to cool completely before slicing. Serve as a rich dessert.
Notes
- Make Ahead: Can be prepared a day in advance and refrigerated.
- Variations: Swap pecans for walnuts or add chocolate chips for extra richness.
- Serving Suggestions: Serve with whipped cream or a scoop of vanilla ice cream.
- Allergy-Friendly: Contains dairy, eggs, and nuts.
This cake has become one of those things I make when I want to bring something to a gathering and not have to think too hard about it. A 9x13-inch pan feeds a lot of people, the ingredients are straightforward, and it's the kind of dessert that holds up on a counter for an afternoon without losing anything. I've made it for Eid gatherings, for school events, for a neighbor who just moved in — it works everywhere.
What I keep coming back to is how the layers work together. The chocolate cake on the outside, that dense and creamy pecan filling in the middle — it's a genuinely satisfying combination that doesn't require me to be precious about it. If you're a fan of nutty, sweet bakes, you might also want to look at my puff pastry pecan pie bites, which hit a similar note in a completely different format.
I'll be honest: this isn't a recipe I invented or anything close to traditional. Gooey butter cake is a St. Louis thing, and every version I've seen from actual St. Louis bakers looks a little different from mine. My version uses what I had on hand, what worked in my oven, and what my family would actually eat. That's the only standard I'm working to. If it comes out gooey in the middle, chocolatey throughout, and gone within a day — it did its job. 🍫🥄✨
If you made this and loved it, here are a few more recipes from my kitchen you might want to try next:
- Irresistible Puff Pastry Pecan Pie Bites — flaky, nutty, and gone in minutes at every gathering I've brought them to
- Baked Spasagna — a hearty pasta bake that's my go-to when I need to feed a crowd at the same time as I'm bringing this cake to a potluck
- Amish Noodles — simple, buttery, comforting, and the kind of side dish that disappears before everything else does
- {"@context":"https://schema.org","@type":"Article","headline":"CHOCOLATE PECAN OOey GOOEY BUTTER CAKE RECIPE","description":"Rich chocolate pecan ooey gooey butter cake with a soft, buttery filling and crunchy pecans. Perfect for any occasion.","datePublished":"2025-07-04T10:03:07+00:00","dateModified":"2026-05-03T21:07:13+00:00","author":{"@type":"Person","name":"Sana Umer","url":"https://forfoodiefriends.com/about/","description":"Self-taught home cook with 10+ years of kitchen experience. Mom of two who develops every recipe in her own kitchen.","jobTitle":"Recipe Developer & Food Blogger","image":"https://forfoodiefriends.com/wp-content/uploads/sana-umer-author-photo.jpg"},"publisher":{"@type":"Organization","name":"For Foodie Friends","url":"https://forfoodiefriends.com/","logo":{"@type":"ImageObject","url":"https://forfoodiefriends.com/wp-content/uploads/forfoodiefriends-logo.png"}},"mainEntityOfPage":{"@type":"WebPage","@id":"https://forfoodiefriends.com/chocolate-pecan-ooey-gooey-butter-cake-recipe/"},"image":"https://forfoodiefriends.com/wp-content/uploads/2025/07/CHOCOLATE-PECAN-OOey-GOOEY-BUTTER-CAKE-RECIPE.jpg"}





Comments
No Comments