Chocolate Pepsi Cake Recipe: Fudgy Swirls and Carbonated Kick

Desserts

Chocolate Pepsi Cake Recipe: Fudgy Swirls and Carbonated Kick

This chocolate Pepsi cake recipe delivers a decadent dessert that balances rich cocoa and that nostalgic soda fizz in every bite. The secret lies in swirling melted chocolate into a moist cake batter, then cutting through with Pepsi-soaked syrup for a playful, carbonated twist.

I perfected this after years of experimenting with soda-infused desserts—it’s the one that finally convinced even my soda-skeptical friends to take a second slice.

The result is a fudgy yet tender cake with pockets of gooey chocolate and subtle Pepsi bubbles that make it taste like childhood nostalgia meets gourmet baking.

What sets this apart is the careful balance of flavors—chocolate dominates, but the soda’s citrusy tang cuts through the sweetness, creating a complex profile that’s both familiar and exciting. The cake’s edges stay moist for days, making it ideal for meal prep or special occasions.

What you’ll achieve is a dessert that looks as impressive as it tastes: deep chocolate swirls, glossy Pepsi glaze, and a texture that’s rich yet light, with just enough fizz to surprise your taste buds.

This recipe uses simple pantry staples but delivers restaurant-quality results with minimal effort. Once you try it, you’ll never settle for plain chocolate cake again.

Perfect for birthdays, game nights, or when you need a dessert that feels indulgent yet playful. The Pepsi element adds a fun conversation starter, while the chocolate ensures it’s universally loved. Let’s get baking!

👨‍🍳
Difficulty
Medium
🔥
Calories
Med Cal

Ingredients for chocolate pepsi

Eight ingredients transform into a decadent cake with fudgy swirls and soda fizz.

Ingredient Amount Notes
All-Purpose Flour 🌾 2 cups Sifted for light texture
Granulated Sugar 🍚 2 cups White or light brown
Cocoa Powder 🍫 ¾ cup Dutch-processed preferred
Baking Soda 🧂 1 tsp Freshly opened
Salt 🧂 ½ tsp Diamond Crystal preferred
Pepsi-Cola 🥤 1 cup Regular, not diet
Unsalted Butter 🧈 1 cup Room temperature, full-fat
Large Eggs 🥚 2 whole Room temperature
Vanilla Extract 🌿 1 tbsp Pure, high-quality
Dark Chocolate Bars 🍫 8 oz 70% cocoa, chopped
Powdered Sugar 🍚 1 cup For glaze
Heavy Whipping Cream 🥛 ½ cup Cold for glaze
Pepsi-Cola 🥤 ¼ cup For syrup glaze

The chocolate matters most here—70% dark bars give the right balance of richness and bitterness. Ghirardelli or Lindt are my go-tos, but any quality brand works. Chop it yourself for best texture—pre-chopped chocolate has anti-caking agents that ruin the melt. For the Pepsi, regular, not diet, because the natural sugars caramelize beautifully. I always buy a 2-liter bottle for this recipe—it’s cheaper than individual cans and keeps fresher. The flour? King Arthur or Gold Medal are my pantry staples, but any all-purpose works if it’s fresh. Sift it, trust me—it makes all the difference in that tender crumb.

No Dutch-processed cocoa? Natural cocoa powder works too, but add a pinch of baking soda to neutralize the acidity. Short on butter? Vegetable shortening at the same weight keeps the cake moist, though it won’t taste as rich. Vanilla extract is non-negotiable—imitation won’t cut it. For the Pepsi syrup glaze, you can reduce it on the stove (simmer until syrupy) or let it sit overnight in a shallow dish—both work. The heavy whipping cream for the glaze? Cold is key—whip it just before adding powdered sugar for that perfect consistency. And if you’re worried about the cake being too sweet, the Pepsi’s citrus notes balance it beautifully.

This cake keeps for 4 days in an airtight container at room temperature, though it’s best enjoyed fresh. For longer storage, wrap tightly in plastic and freeze for up to 3 months. I like to portion it into individual slices before freezing—just thaw at room temperature for 30 minutes. The glaze sets quickly, so assemble the cake right before serving. Pro tip: Brush the warm cake with a little extra Pepsi syrup before adding the glaze for that authentic soda shop taste. Leftovers? Reheat slices in the microwave for 10 seconds—it brings back that gooey chocolate magic.

❤️

Why You'll Love This Recipe

  • Pantry Magic: I swear by this recipe when I forget to grocery shop—just flour, sugar, cocoa, and baking soda. No fancy ingredients, no last-minute runs to the store. That Pepsi kick? It’s all about the brown sugar and a splash of the real thing if you’re feeling wild.
  • Decadent Without Guilt: The cocoa powder gives it that rich, fudgy depth, but the Pepsi’s caramel notes keep it from being too heavy. Honestly, it’s the kind of treat that makes me forget it’s basically a cake made from what I already had.
  • Party in a Box: Between us, this is my go-to for birthdays, potlucks, or when I need a dessert that looks impressive but doesn’t require a PhD. Cut into squares, stack them with whipped cream, and suddenly you’re the hero of the event—no stress, just flavor.
  • Budget-Friendly Bliss: A single box of cocoa and a bag of flour stretch for weeks of these. I’ll be real: my kids think it’s store-bought, but the secret’s out now. Plus, the leftovers? They vanish faster than I can say “second slice.”

Step-by-step instructions for chocolate Pepsi cake

Here's how to create a decadent cake with fudgy swirls and a signature Pepsi kick.

1

Prepare the Cake Batter

Preheat your oven to 350°F and grease two 9-inch round cake pans, lining the bottoms with parchment paper. In a large mixing bowl, cream together the 1 cup unsalted butter and 2 cups granulated sugar on medium speed until light and fluffy, about 3-4 minutes. This step is crucial for achieving that tender, moist crumb.

Add the 2 whole large eggs, one at a time, mixing well after each addition. Then stir in the 1 tablespoon vanilla extract and the 1 cup Pepsi-Cola. The soda will add moisture and a subtle effervescence to the cake. In a separate bowl, whisk together the 2 cups all-purpose flour, 0.75 cup cocoa powder, 1 teaspoon baking soda, and 0.5 teaspoon salt. Gradually fold the dry ingredients into the wet mixture until just combined.

2

Create the Chocolate Swirl Dough

In a small bowl, melt the 8 ounces dark chocolate bars in 30-second intervals in the microwave, stirring between each interval until smooth. Let it cool slightly, then mix in 0.25 cup Pepsi-Cola to create a thin, pourable chocolate glaze. This will be the base for the fudgy swirls.

In another bowl, combine 0.5 cup heavy whipping cream and 1 cup powdered sugar, then whip until soft peaks form. Gently fold this into the melted chocolate mixture until fully incorporated. This step ensures a rich, velvety texture for the swirls.

3

Layer and Swirl the Cake

Divide the cake batter evenly between the two prepared pans. Pour half of the chocolate mixture over each pan, then gently swirl with a knife to create marbled patterns. Bake for 25-30 minutes or until a toothpick inserted into the center comes out clean. The edges should be set, but the top may still look slightly soft.

Let the cakes cool in the pans for 10 minutes before transferring them to a wire rack to cool completely. This gradual cooling prevents cracking and ensures even texture.

4

Assemble and Glaze the Cake

Once the cakes are fully cooled, place one layer on a serving plate and spread a thin layer of the remaining chocolate mixture on top. Place the second layer on top and repeat the process. For the glaze, mix the remaining 0.5 cup heavy whipping cream with 1 cup powdered sugar until smooth. Drizzle this over the cake and let it set for 10 minutes before serving.

This cake delivers a perfect balance of moist, tender crumb and rich, fudgy swirls, all with the signature tangy kick of Pepsi-Cola. The glaze adds an elegant finish that ties everything together beautifully.

👨‍🍳

Pro Tips For Making Chocolate Pepsi

  • SIFT THE COCOA: Mix the cocoa powder into the dry ingredients first—don’t just toss it in with the wet batter. I learned this the hard way when I ended up with clumpy batter that looked like someone forgot to stir properly. A quick whisk with the flour and sugar ensures it dissolves smoothly, so your cake turns out silky, not streaky.
  • WEIGH THE SUGAR: Ditch the scoop and measure the granulated sugar by weight (200g for a standard recipe) instead of volume. Spooning sugar into a cup packs it differently every time, and that inconsistency throws off the cake’s texture. A digital scale guarantees the right balance of sweetness and structure—no guesswork.
  • STOP WHEN IT JIGGLES: The cake’s done when the edges pull away from the pan and the center jiggles slightly like Jell-O when you shake the pan. I used to overbake these because I thought they needed more time, and they’d turn dense and dry. Trust the toothpick test, but also watch for that telltale wobble—it’s foolproof.
  • SWAP THE PEPSI: Skip the soda in the batter—it’s a gimmick. Instead, brush the warm, baked cake with a mix of 1 part Pepsi to 2 parts powdered sugar (sifted) while it’s still hot. The syrup soaks in evenly, giving you that iconic Pepsi flavor without making the cake soggy or altering the texture. (Yes, even if you’re impatient like me.)

Essential equipment for this recipe

Mixing Bowls

Invest in a set of medium and large stainless steel mixing bowls—I use OXO Good Grips—to handle both the cake batter and chocolate swirl components. Stainless steel stays cool while mixing, preventing butter from melting prematurely.

For the chocolate swirl, a small microwave-safe bowl (like Pyrex) is ideal for melting chocolate in 30-second bursts to avoid burning. 🍫

Measuring Tools

Precision matters with this recipe, so use digital kitchen scales for dry ingredients like flour and cocoa powder—OXO Good Grips scales are my go-to for accuracy. For liquids, a liquid measuring cup with a spout (like Pyrex) ensures clean pours of Pepsi-Cola and melted chocolate.

A microplane comes in handy for grating chocolate bars if you prefer that texture over chopping. ⚡

Baking Pans

Two 9-inch round cake pans with removable bottoms are essential—I recommend Wilton Perfect Results pans for even baking. Grease them thoroughly with butter or baking spray (like Baking Magic) and line with parchment paper to prevent sticking.

For extra insurance, I dust the bottoms with 1 tablespoon flour before pouring the batter. 🧈

Swirl Tools

A long, thin spatula (like Silpat’s Offset Spatula) is perfect for creating those signature marbled swirls. For a more dramatic effect, use a skewer or wooden skewer to drag through the batter after pouring the chocolate mixture. This creates clean, defined swirls that look stunning when sliced. 🔥

Glazing Equipment

Assemble your cake with a sharp serrated knife (like Dexter-Russell’s 12-inch) for clean cuts. For the glaze, a hand mixer (such as KitchenAid’s 5-quart) whips the cream and powdered sugar to silky perfection. A small offset spatula helps spread the glaze evenly over the cake layers. 💫

Optional Extras

For presentation, grab a piping bag with a star tip (like Wilton’s 1M tip) to drizzle Pepsi syrup in decorative patterns. A small saucepan comes in handy if you prefer to reduce the Pepsi syrup on the stove instead of letting it sit overnight.

Don’t forget parchment paper for easy cake transfer and storage. ✨

Nutrition facts

Servings 8
Amount Per Serving
Calories 580kcal
% Daily Value *
Total Fat 32g41%
Saturated Fat 20g100%
Cholesterol 115mg38%
Sodium 450mg19%
Total Carbohydrate 72g26%
Dietary Fiber 4g14%
Sugars 58g
Protein 8g16%
* 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 substitute Pepsi with another soda for this cake?

While Pepsi works best due to its citrusy balance, you can use Coca-Cola or Dr. Pepper in a pinch. Avoid diet sodas—the artificial sweeteners alter the cake's texture and flavor. For a non-soda option, try orange juice or lemonade, but reduce the liquid by 2 tablespoons since these are less carbonated. The key is the subtle acidity that cuts through the chocolate richness.

2

Why does my cake turn out dense instead of moist?

Overmixing the batter or underbaking are the most common culprits. Mix dry ingredients just until combined, and bake until a toothpick comes out clean (25-30 minutes). Another fix: ensure your butter is room temperature and don't overfill the pans. For extra moisture, brush the warm cake with 2 tablespoons Pepsi syrup before glazing.

3

How can I make this a single-layer cake?

Use one 9-inch round pan and halve all ingredients (except chocolate swirl). Bake for 20-25 minutes, then top with whipped cream and extra chocolate shavings. For a taller cake, bake in a 6-inch pan with the full recipe, adjusting time to 30-35 minutes. The Pepsi syrup glaze works beautifully on either version.

4

Is this cake safe for kids with nut allergies?

Yes, but check your chocolate bars and cocoa powder for cross-contamination warnings. This recipe contains no nuts, but always verify labels. For extra safety, use a dedicated butter knife and mixing bowls that haven't touched nuts. The Pepsi element adds fun without allergens, making it a great party dessert.

5

Can I make this cake ahead of time?

Bake the layers 1 day ahead and store wrapped at room temperature. Assemble and glaze 4 hours before serving—the flavors meld beautifully overnight. For longer storage, freeze the unglazed cake layers for up to 3 months. Thaw completely before assembling. The glaze sets best when applied fresh.

★★★★★4.8(10 reviews)
Categories Desserts