Desserts
This Pepsi cake recipe delivers the nostalgic fizz of soda pop in every moist, buttery bite—complete with a golden, crispy top that cracks open like a perfect soda bottle cap. 🌟 The secret lies in swirling Pepsi into the batter while it's still warm, creating marbled soda-pop pockets that burst with authentic cola flavor.
I first tried this recipe after a childhood memory of sneaking sips from my dad's glass, and now it's my go-to for parties or just treating myself.
The cake itself is simple to make with pantry staples, requiring just 30 minutes of active prep and 35 minutes in the oven. The buttery crust forms a satisfyingly crispy top that contrasts beautifully with the soft, fudgy interior.
While it contains artificial flavors (because we're celebrating soda pop!), you can easily adjust the sweetness to taste—this recipe is all about balancing that classic Pepsi tang with rich, cakey goodness.
What you'll end up with is a crispy-topped cake that looks as impressive as it tastes, with vibrant swirls of Pepsi throughout. The aroma alone will have everyone gathering around the kitchen, and each slice delivers that familiar soda-pop kick with every bite.
Serve it warm with whipped cream or a drizzle of chocolate ganache for the full experience.
Perfect for birthdays, soda-loving gatherings, or anyone craving a dessert that tastes like a nostalgic treat. Let's get baking!
Ingredients for pepsi cake
Pantry staples plus one nostalgic soda. That's all you need for this iconic cake.
| Ingredient | Amount | Notes |
|---|---|---|
| Pepsi Cola 🥤 | 1 ½ cups | Chilled, full-carbonated for swirls |
| All-Purpose Flour 🌾 | 2 ½ cups | Sifted, for light texture |
| Granulated Sugar 🍚 | 2 cups | Adjust for sweetness preference |
| Unsalted Butter 🧈 | 1 cup | Room temperature, full-fat |
| Large Eggs 🥚 | 2 whole | Room temperature, separated |
| Baking Powder 🧂 | 2 tsp | Aluminum-free preferred |
| Salt 🧂 | ½ tsp | Fine sea salt |
| Vanilla Extract 🌸 | 1 tbsp | Pure alcohol-free if preferred |
| Whole Milk 🥛 | ½ cup | Room temperature |
| Pecans 🌰 | ½ cup | Chopped, toasted optional |
| Powdered Sugar 🍚 | ½ cup | For dusting top |
| Heavy Whipping Cream 🥛 | ½ cup | Whipped for topping |
The Pepsi is the star here—grab a 2-liter from the soda aisle (not the diet version). It needs to be fully carbonated, so open it right before mixing. I always use regular Pepsi, not the cherry or lemon flavors. For the butter, unsalted is key—it gives you control over the saltiness. Room temperature butter mixes better, so take it out 30 minutes ahead. The pecans? Trader Joe's has pre-chopped ones if you're in a rush, but toasting them first adds serious flavor. Just 3-4 minutes in a dry pan until fragrant.
No Pepsi on hand? Coca-Cola works in a pinch, but it's not the same. Short on butter? Vegetable shortening keeps the crispy top, though it won't taste as rich. The milk can be swapped for heavy cream if you want extra decadence. For the powdered sugar topping, confectioners' sugar is non-negotiable—regular sugar won't dissolve right. Want to make this gluten-free? Substitute 1:1 gluten-free flour blend, but add an extra 0.5 tsp of baking powder. The eggs can be separated if you're making a soufflé-style version, but for this cake, whole eggs keep it moist.
This cake keeps for 3 days at room temperature, wrapped tightly in plastic. For longer storage, 2 weeks in the fridge or 3 months frozen. I like to make it ahead and freeze it—just thaw overnight in the fridge. The whipped cream topping? Whip it right before serving so it stays fluffy. If you make a double batch, the extra slices freeze beautifully for quick treats. The Pepsi swirls fade over time, so this is one of those desserts that's best enjoyed fresh—within 24 hours if possible.
Why You'll Love This Recipe
- No-Fuss Swirls: That knife trick to swirl the batter? It’s the only part that feels fancy, but honestly, it’s foolproof once you see how it works. The rest is just mixing and baking—no weird techniques, just pure, satisfying results.
- Caramel-Creamy Surprise: The Pepsi Cola doesn’t just add color—it caramelizes into pockets of sweetness, while the whipped cream topping cools the cake down just enough to make every bite a balance of warm and creamy. Trust me, the contrast is chef’s kiss.
- Budget Dessert Win: You already have most of these ingredients—Pepsi, flour, sugar, butter—so this isn’t some expensive dessert experiment. It’s the kind of treat that costs less than a coffee run but tastes like a splurge. (Yes, even on a Tuesday night.)
- Leftovers That Don’t Suck: This cake gets better the next day, so you can make it ahead for game day, potlucks, or just because you’re feeling lazy. The swirls hold up, the texture stays moist, and it’s the kind of dessert people will ask for seconds of—even if they don’t know it’s made with soda.
Step-by-step instructions for Pepsi cake recipe
Here's how to create that iconic soda-pop swirl with a golden, buttery top.
👨🍳 Step 1: Mix the Wet Ingredients for Perfect Swirls
In a large mixing bowl, combine the 1.5 cups Pepsi Cola with the 1 cup Unsalted Butter and 2 cups Granulated Sugar. Whisk vigorously for 3-4 minutes until the mixture is smooth and slightly thickened. You'll notice the Pepsi Cola bubbles up—this is when the magic starts happening for those signature swirls.
Add the 2 whole Large Eggs, one at a time, whisking well after each addition. Then stir in the 1 tbsp Vanilla Extract and 0.5 tsp Salt. The batter should be smooth and slightly frothy—this ensures even distribution of the soda bubbles when we add the dry ingredients. If you see any lumps, give it another quick whisk to smooth them out.
👨🍳 Step 2: Combine Dry Ingredients for Light Texture
In a separate bowl, sift together the 2.5 cups All-Purpose Flour and 2 tsp Baking Powder. This sifting step is crucial for a light, airy texture—it prevents dense pockets in your cake. Gently fold the dry ingredients into your wet mixture using a spatula, mixing just until combined. Overmixing here can deflate those soda bubbles we worked so hard to create.
Now, slowly pour in the 0.5 cup Whole Milk while gently folding. The batter will be thick and slightly sticky—this is normal. Fold in the 0.5 cup Pecans at this stage so they're evenly distributed throughout the cake. The pecans add a delightful crunch that contrasts beautifully with the soft cake.
🥘 Step 3: Layer and Create the Signature Swirls
Preheat your oven to 350°F and grease a 9-inch round cake pan with butter or line it with parchment paper. Pour about half of the batter into the prepared pan. Here's the trick: carefully pour the remaining batter over the first layer, creating a swirl pattern by using a knife to gently cut through the layers and twist them together. This creates those beautiful marbled swirls we all love.
Bake for 30-35 minutes until the top is golden brown and a toothpick inserted comes out clean. The cake should spring back slightly when pressed in the center. Real talk: don't open the oven early—those swirls need time to set properly. If you're worried about the top browning too quickly, tent loosely with foil after 20 minutes.
⏰ Step 4: Cool and Add the Buttery Topping
Remove the cake from the oven and let it cool in the pan for 10 minutes. Then transfer it to a wire rack to cool completely. While it cools, whip the 0.5 cup Heavy Whipping Cream until soft peaks form. In a small bowl, mix the 0.5 cup Powdered Sugar with 1 tbsp Vanilla Extract (using the same amount we used earlier).
Gently fold the powdered sugar mixture into the whipped cream until smooth. Spread this creamy topping evenly over the completely cooled cake. The contrast of the cool topping against the warm cake is what makes this dessert truly special. Let the topping set for 15 minutes before slicing—this gives it time to firm up slightly for easier serving.
🍽️ Step 5: Serve with Confidence
Slice the cake into 4 equal wedges (remember, this makes 4 servings). The swirls should be visible through each slice, with that perfect balance of moist cake and buttery topping. Serve immediately for the best texture—this cake is best enjoyed fresh from the oven when the swirls are at their most dramatic.
Here's the thing—this cake tastes even better the next day when the flavors have had time to meld. Store leftovers covered at room temperature for up to 2 days, though I doubt you'll have any left. The secret to that crispy top? Don't skip the butter topping—it's what makes this cake truly special!
Pro Tips For Making Pepsi Cake
- Chill That Pepsi: I learned this the hard way—using room-temperature soda means flat swirls. Pop the bottle in the fridge for 20 minutes before measuring, and those bubbles will stay lively right through baking. The difference in texture is night and day.
- Sift Like Your Cake Depends On It: Skimping on sifting the 2.5 cups All-Purpose Flour and 2 tsp Baking Powder is how you end up with a dense, brick-like cake. Take the extra 30 seconds to do it properly, and your layers will be light as air. Trust me, your fork will thank you.
- Don’t Rush the Swirls: Pouring the second layer and immediately cutting through it? That’s how you end up with a messy, collapsed cake. Let the first layer sit for 5 seconds—just enough time for the batter to settle slightly before you swirl. Patience here guarantees those perfect marbled patterns.
- Whip Cream Early: While the cake bakes, whip that 0.5 cup Heavy Whipping Cream and mix in the powdered sugar. No last-minute scrambling when the cake’s cooling—just spread and serve. It’s a small move that saves you from stress and keeps the topping silky smooth.
Perfect pairings for this dish
Soda-Pop Pairings
The Pepsi cake’s signature tang pairs perfectly with Pepsi or Coca-Cola—just serve a chilled can or bottle alongside slices for that nostalgic soda-pop experience. I love pouring a small glass of Pepsi to dip cake slices into, which adds a playful twist.
The carbonation cleanses the palate between bites, balancing the sweetness and richness. 🥤
Whipped Cream & Syrup
A dollop of vanilla whipped cream on top enhances the buttery crust while keeping the cake’s soda essence front and center. For extra indulgence, drizzle with Pepsi-flavored syrup (mix 2 tbsp Pepsi concentrate with 1 cup powdered sugar and 1 tbsp water) for a homemade soda glaze.
This adds a glossy finish and deepens the cola flavor. ✨
Fruit Complements
Bright, tart fruits like strawberries or raspberries cut through the cake’s sweetness and add a refreshing contrast. Slice ½ cup strawberries and arrange them on top before serving, or serve them on the side for dipping. The acidity helps balance the cake’s soda tang, making each bite more balanced. 🍓
Chocolate Ganache
For a decadent upgrade, top the cake with chocolate ganache made from ½ cup semi-sweet chips melted with ¼ cup heavy cream. The dark chocolate’s bitterness pairs beautifully with the Pepsi’s sweetness, creating a sophisticated dessert. Let it cool slightly before drizzling for a glossy finish. 🍫
Peanut Butter Swirl
Spread a thin layer of creamy peanut butter between the cake layers or swirl it into the whipped cream topping for a Peanut Butter & Pepsi mashup. The nutty depth complements the cola’s tang, making this a crowd-pleasing twist. I recommend Jif Creamy for its smooth texture. 🥜
Nutrition facts
Frequently asked questions
Why does this cake need Pepsi instead of just water?
The Pepsi creates those iconic swirls and gives the cake its signature cola flavor! The carbonation in the soda bubbles up during mixing, which helps create the beautiful marbled effect when you layer the batter. This is what makes this cake so unique and nostalgic—it tastes like a fizzy soda pop in every bite.
How do I prevent the top from browning too quickly?
After baking for 20 minutes, loosely tent the cake with foil to protect the top. This keeps the crust golden and crispy without drying it out. If you're worried about browning, you can also reduce the oven temperature by 25°F for the last 10-15 minutes of baking.
Can I make this cake gluten-free?
Yes! Substitute the 2.5 cups all-purpose flour with a 1:1 gluten-free flour blend, but add an extra 0.5 tsp baking powder to help with rise. The texture will be slightly different, but the soda swirls and flavor will still shine. Just be sure to use a blend that includes xanthan gum for best results.
What’s the best way to store leftovers?
Let the cake cool completely, then wrap it tightly in plastic wrap or aluminum foil. Store at room temperature for up to 2 days, or refrigerate for 2 weeks. For longer storage, freeze the cake for up to 3 months. Thaw overnight in the fridge before serving. The swirls stay best when enjoyed fresh!
