Zebra Cake

slice of zebra cake on a teal plate

There’s a zebra loose in our kitchens!!

You’re looking at chocolate and vanilla cakes baked together in a striking striped pattern. Pretty, right? Much easier than you think to pull off, too. Like marble cake but a little more flashy. Zebra cake is often baked as a single layer cake or a bundt cake, but I needed a fun and towering cake for our friend’s birthday. And an excuse to make chocolate cream cheese frosting.

And if you came here looking for a Little Debbie zebra cake, so sorry! Man those little things are good.

zebra cake on a wood and marble cake stand

Let me walk you through my mindset as I was preparing and testing this zebra layer cake. Beware: my mind is a very jumbled space.

Recipe Testing

I started with a basic vanilla cake/yellow cake hybrid recipe: my checkerboard cake. I ADORE this cake. Somewhere between a mega buttery yellow cake and light vanilla cake, I’m really proud to have a base cake recipe that’s as moist as box mix cakes. And you can make it 3 layer or 4 layer, just adjust the baking time slightly. But if I’m not careful, I can over-cream the butter + sugar or over-mix the batter (since there’s so much of it). This can leave me with a denser tasting cake. I wanted to avoid all that, so I slightly reduced the flour and added a little more baking powder for lift + airiness. Does this make sense? To see if I could get away with it, I added some sour cream too. Just for a little extra moisture. Totally worked. This cake is so moist!

vanilla cake batter in a glass bowl

Made From 1 Batter

So now I have a solid starting point for my zebra cake, let’s figure out how to make the chocolate portion.

The chocolate cake is made from the vanilla batter, so you don’t have to prepare two completely separate batters. YAY! I wanted a suuuuuper dark chocolate stripe for contrast. I was going to use chopped chocolate, like in my marble cake, but that never gives me a very dark chocolate batter. And if I added *more* chocolate to darken the shade, the texture of the chocolate batter would be compromised. So let’s use cocoa powder. How about a dark cocoa powder like Hershey’s special dark? Gorgeous! But since we’re adding a dry and bitter ingredient to the chocolate batter, it will dry out the cake. A little sugar and milk solved that problem. Both the vanilla cake and chocolate cake are so moist. We did it!

Oh and one more thing! I added a little espresso powder to the chocolate batter. Just to help bring out the chocolate flavor. This is an optional ingredient.

You’ll end up with about 8 cups of vanilla batter. Pour 4 cups of it into a separate bowl for the chocolate batter. Add the cocoa, sugar, milk, and espresso powder. You’ll have some little lumps– that’s ok.

chocolate cake batter in a glass bowl

Now here’s where the zebra shows up! We create a zebra stripe pattern by layering the batters on top of each other. Start with a spoonful of 1 batter in the center, place a spoonful of the other batter on top, then alternate until you’ve filled the pans. I did a horrible job explaining this, so here’s a fancy iPhone video to show you.

Give the pans a shake every now and then to level the batter off. And, after the cakes are baked, level them off with a knife to create flatter tops. Why? So your layer cake isn’t all topsy turvy! You want nice flat-topped surfaces.

vanilla and chocolate cake batter swirled together in a cake pan before baking

chocolate cream cheese frosting in a glass bowl

Moving onto the frosting. Let me show off my latest obsession: chocolate cream cheese frosting. Regular cream cheese frosting is one of my favorites because it’s not as cloyingly sweet as buttercream. It’s the creamiest of frostings with a silky smooth and velvet-y mouthfeel. With carrot cake, red velvet cake, hummingbird, banana, spice cake, and pumpkin cake… it’s just the best!!!

But if we think regular cream cheese frosting is the best, we’re definitely backwards. Because this chocolate cream cheese frosting is, in fact, the best in the biz.

chocolate cream cheese frosting in a glass bowl and on a whisk attachment

spreading chocolate cream cheese frosting onto layer of zebra cake

Now the moment of truth. Let’s cut into the cake to see how our zebra stripes look!!

overhead image of zebra cake with chocolate cream cheese frosting and sprinkles on a marble cake stand

zebra cake on a wood and marble cake stand

slice of zebra cake on a teal plate

Update: See my daughter’s 1st birthday cake. 🙂

Print
clock clock icon cutlery cutlery icon flag flag icon folder folder icon instagram instagram icon pinterest pinterest icon facebook facebook icon print print icon squares squares icon heart heart icon heart solid heart solid icon
slice of zebra cake on a teal plate

Zebra Cake

  • Author: Sally
  • Prep Time: 30 minutes
  • Cook Time: 27 minutes
  • Total Time: 4 hours, 30 minutes
  • Yield: 10-12 servings
  • Category: Cake
  • Method: Baking
  • Cuisine: American

Description

This easy, moist, and delicious swirled chocolate and vanilla zebra cake is topped with creamy chocolate cream cheese frosting.


Ingredients

  • 3 and 1/2 cups (413g) sifted all-purpose flour* (spoon & leveled)
  • 1 teaspoon salt
  • 2 teaspoons baking powder
  • 3/4 teaspoon baking soda
  • 1 and 1/2 cups (3 sticks; 345g) unsalted butter, softened to room temperature
  • 2 cups (400g) granulated sugar
  • 5 large eggs, at room temperature
  • 1/3 cup (75g) sour cream, at room temperature
  • 1 Tablespoon pure vanilla extract (yes, Tbsp!)
  • 1 and 3/4 cups (420ml) buttermilk, at room temperature

Chocolate Batter

  • 1/3 cup (27g) unsweetened natural cocoa powder
  • 2 Tablespoons granulated sugar
  • 2 Tablespoons milk or buttermilk, at room temperature
  • 1 teaspoon espresso powder (optional)

Chocolate Cream Cheese Frosting

  • 12 ounces (335g) full fat cream cheese, softened to room temperature*
  • 3/4 cup (175g) unsalted butter, softened to room temperature
  • 3 and 1/2 cups (420g) confectioners’ sugar
  • 2/3 cup (55g) unsweetened natural or dutch-process cocoa powder
  • 1 teaspoon pure vanilla extract
  • 12 Tablespoons milk or heavy cream
  • pinch salt
  • sprinkles for decorating, if desired

Instructions

  1. Preheat oven to 350°F (177°C). Grease and lightly flour three 9-inch cake pans.
  2. Make the vanilla batter: Whisk the flour, salt, baking powder, and baking soda together in a large bowl. Set aside. Using a handheld or stand mixer fitted with a paddle or whisk attachment, beat the butter and sugar together on high speed until smooth and creamy, about 3 minutes. Scrape down the sides and up the bottom of the bowl with a rubber spatula as needed. On medium-high speed, add 1 egg at a time, beating well after each addition. Beat in the sour cream and vanilla extract. Scrape down the sides and up the bottom of the bowl with a rubber spatula as needed.
  3. With the mixer on low speed, add the dry ingredients in three additions alternating with the buttermilk, beginning and ending with the dry ingredients, and mixing each addition just until incorporated. Do not overmix this batter. The batter will be smooth, velvety, and slightly thick.
  4. Make the chocolate batter: There will be around 8 cups of batter total. Transfer half of it to another bowl. Whisk in the 4 chocolate batter ingredients until combined. A few small lumps are ok.
  5. First, watch the video above to see exactly how to layer the batters into the cake pans. Drop a large spoonful of 1 batter in the center of the pan. Top with a spoonful of the other batter. Alternate spoonfuls on top of each other. Give the pan a shake to level it all out. Repeat with each cake pan until all the batter is used. There’s about 8 cups of batter total, so each cake pan will have a little less than 3 cups of batter in it.
  6. Bake for around 25-27 minutes or until the cakes are baked through. To test for doneness, insert a toothpick into the center of the cake. If it comes out clean, it is done. Allow cakes to cool completely in the pans set on a wire rack. The cakes must be completely cool before frosting and assembling.
  7. Make the frosting: In a large bowl using a hand-held or stand mixer fitted with a paddle or whisk attachment, beat the cream cheese for 1 minute on high speed until completely smooth and creamy. Beat in the butter until combined. Add the confectioners’ sugar, cocoa powder, vanilla extract, 1 Tablespoon milk, and salt and beat on medium-high speed until combined and creamy. Add 1 more Tablespoon of milk to slightly thin out, if desired. Taste, then add another pinch of salt if desired.
  8. Assemble and frost: First, using a large serrated knife, slice a thin layer off the tops of the cakes to create a flat surface. Discard (or crumble over ice cream!). Place 1 cake layer on your cake stand or serving plate. Evenly cover the top with frosting. Top with 2nd layer and evenly cover the top with more frosting. Top with the third cake layer. Spread the frosting into a thick layer all over the top and sides. Garnish with sprinkles, if desired. Refrigerate for at least 45 minutes before slicing. This helps the cake keep its shape when cutting– it could slightly fall apart without time in the fridge.
  9. Cover leftover cake tightly and store in the refrigerator for 5 days.

Notes

  1. Make Ahead Instructions: The cake layers can be baked, cooled, and covered tightly at room temperature overnight. Likewise, the frosting can be prepared then covered and refrigerated overnight. Let it sit at room temperature to slightly soften for 10 minutes before assembling and frosting. Frosted cake can be frozen up to 2-3 months. Thaw overnight in the refrigerator and bring to room temperature before serving.
  2. Special Tools (affiliate links): KitchenAid Stand Mixer | KitchenAid Hand Mixer | Glass Mixing Bowls | 9-inch Round Cake Pan | Icing Spatula
  3. Flour: Sift flour before measuring.
  4. Buttermilk: If you don’t have buttermilk, you can make a DIY sour milk substitute. Add 1 Tablespoon of white vinegar or lemon juice to a liquid measuring cup. Then add enough whole milk to the same measuring cup until it reaches 1 and 3/4 cups. (In a pinch, lower fat or nondairy milks work for this soured milk, but the cake won’t taste as moist or rich.) Stir it around and let sit for 5 minutes. The homemade “buttermilk” will be somewhat curdled and ready to use in the recipe.
  5. Cream Cheese: Make sure you’re using the blocks of cream cheese, not cream cheese spread. They’re typically sold in 8 ounce blocks, so you’ll need 1 and 1/2 blocks.
  6. Room Temperature Ingredients: All refrigerated items should be at room temperature so the batter mixes together easily and evenly. Read here for more information.

314 Comments

  1. I only had two 9 inch pans but my batter was thick for some reason so fit in 2 pans. It turned out great. Light, moist, and flavorful! We did had leftover frosting since it was only 2 layers.
    I made it with my 8 y.o. for New Years. We had so much fun!

  2. Not sure where I’ve gone wrong! I followed the recipe and it looks great but tastes like pancakes?

  3. I made this cake the day before I frosted it, and it was amazing! I loved how silky smooth the chocolate frosting was too. It was so easy to frost the cake with the frosting. I’ll totally be making these again.

  4. Is the bake time for if you bake all 3 layers at the same time? If I’m only baking one or two at a time, does the bake time decrease? Looking forward to making this cake for my birthday next week!!

    1. Trina @ Sally's Baking Addiction says:

      Hi Kate, the bake time will the same regardless of how many cake layers are in the oven. Hope it’s a hit!

  5. The ingredient list says to use unsweetened natural cocoa, but in your post you say that you used Hershey’s special dark cocoa which looks to me to be Dutch processed. I would love to make this cake for my son’s birthday but don’t want to use the wrong kind of cocoa. Does it matter which kind you use?
    Thank you!

    1. Trina @ Sally's Baking Addiction says:

      Hi Katie, that’s a great question! Hershey’s Special Dark is a blend of natural and dutch processed cocoa powder. You don’t want to use all dutch processed for this recipe – if you can find Hershey’s Special Dark cocoa powder that will work, otherwise stick with natural. Happy baking!

      1. Thank you for the helpful advice and the quick reply!

  6. Can I do white chocolate with cream cheese froating instead of brown? Will that work?

    1. Lexi @ Sally's Baking Addiction says:

      Hi Ausra, you certainly can if you have a white chocolate cream cheese frosting you love. Or, our favorite cream cheese frosting would also be delicious. Enjoy!

  7. Can I use the same recipe for frosting as here just only I will ise whote chocolate instead of dark?

    1. Trina @ Sally's Baking Addiction says:

      Hi Ausra, the chocolate flavor in this buttercream recipe comes from natural cocoa powder, we don’t recommend substituting white chocolate for the cocoa powder.

      1. Dear Sally,

        If I make a tiger cake using this recipe should O dust pans in white flour or cacao powder before baking? What would be better?

      2. Trina @ Sally's Baking Addiction says:

        Hi Ausra, you can lightly flour the pans without issue. Another method we often use is to grease the pans, line with parchment paper, then grease the parchment paper (with no flour). Parchment paper helps the cakes seamlessly release from the pans.

  8. I am trying to use this zebra cale recipe and make tiger cake instead. I am planning to use orange food coloring to color the white batter. Will that work? Which food coloring do you recommend? Gel one or liquid one?

    1. Trina @ Sally's Baking Addiction says:

      Hi Ausra! Yes, that should work perfectly. We recommend gel food coloring for the most vibrant color!

  9. Dear Sally,

    Is the quantity of chocolate batter right? I am getting only few spoons of it which is not enough to combine with vanilla batter.

    1. Trina @ Sally's Baking Addiction says:

      Hi Ausra, see step 4. You take half of the vanilla batter and add the additional chocolate ingredients to it for the chocolate cake batter.

  10. Just wondering why block cream cheese is prefered over cream cheese spread? Here in Spain where I live, they sell the Philadelphia brand but only in tubs not blocks….

    1. Trina @ Sally's Baking Addiction says:

      Hi Deirdre, In the U.S. block cream cheese is very different than the tubs and is the only cream cheese that will work for frosting. We have been told by readers outside the U.S. that cream cheese in a tub is different from ours and can work, but we have not tested it. Please let us know if you try!

  11. What can I replace sour cream with?

    1. Trina @ Sally's Baking Addiction says:

      Plain yogurt is a great sub!

  12. Hi, I have made this recipe before and it was AMAZING! I was thinking of making it again but just wondering for the frosting if it would still be good if I made it without the cocoa powder so it wouldn’t be intensely chocolate like. Thank you so much!

    1. Trina @ Sally's Baking Addiction says:

      Hi Mia! You can use our favorite vanilla buttercream recipe instead!

  13. What is the cook time and temp if you want to make a 9×13 cake out of this batter?

    1. Stephanie @ Sally's Baking Addiction says:

      Hi Ashley, It can be made in a 9×13 pan but we are unsure of the bake time. Same oven temperature though!

  14. Lise Polturak says:

    Can you use a Bundt cake pan instead of the round one?

    1. Stephanie @ Sally's Baking Addiction says:

      Hi Lise, This cake recipe will fit nicely into a bundt pan. I’m unsure of the exact bake time for the bundt, but it should be close to (or over!) 1 hour at 350F. F

      1. Lise Polturak says:

        Thanks so much! Saves me from buying another pan.

  15. Amy Wonder says:

    can I replace sour cream with something?

    1. Trina @ Sally's Baking Addiction says:

      Plain yogurt is a good substitute for sour cream!

  16. Amy Wonder says:

    can I use cake flour?

    1. Lexi @ Sally's Baking Addiction says:

      Hi Amy, cake flour isn’t strong enough for this cake, so we do suggest sticking to AP flour.

  17. Hi Sally! Yours is the only website I turn to when I’m baking something new:) I’m wondering whether I could adapt this recipe to make only 2 8 or 9 in layers. Would you recommend halving the recipe and making slightly thinner layers that way?

    1. Lexi @ Sally's Baking Addiction says:

      Hi Liz, there is too much batter for only 2 layers here. We’d recommend making the recipe as is, making two layers, and using the leftover batter for a few cupcakes. Thank you so much for making and trusting our recipes!

  18. This cake was a delicious and moist treat? My family and I all loved it, but I was wondering if cake flour could be used in this cake, or if it’d change the texture?

    1. Lexi @ Sally's Baking Addiction says:

      Hi Mia, cake flour isn’t strong enough for this cake, so we do suggest sticking to AP flour. Glad you enjoyed the cake!

  19. Hi sally,
    Can this recipe be used for a 9×13 sheet pan?

    1. Lexi @ Sally's Baking Addiction says:

      Hi Jessi, sure can! We’re unsure of the exact bake time — same temperature, though.

  20. Amy Wonder says:

    Can I use clear vanilla extract?

    1. Lexi @ Sally's Baking Addiction says:

      Absolutely.

  21. Carson Goodie says:

    I’m making this recipe for someone who isn’t a fan of cream cheese. Could I use vanilla frosting instead?

    1. Trina @ Sally's Baking Addiction says:

      Absolutely! The chocolate buttercream recipe from this recipe or the vanilla frosting from this recipe should be perfect. Hope it’s a hit!

1 4 5 6

Leave a Reply

Your email address will not be published. Required fields are marked *

Recipe rating

This site uses Akismet to reduce spam. Learn how your comment data is processed.

With kitchen-tested quality recipes and step-by-step tutorials, my goal is to give you the confidence to bake and cook from scratch.

Sally's signature

Recipes You’ll Love

Archives

Categories

Join the community on the 1st of every month as we tackle a new challenge recipe. Review Sally's Baking Challenge FAQ page if you have any questions.

View More

A tradition since 2013, every December we countdown to Christmas with 10 new cookie recipes in a row!

View More

The first week of every November is all about Thanksgiving Pies.

View More

My Cookbooks

Sally's Cookbooks

About Sally

Welcome to my Kitchen!

I’m Sally, a cookbook author, photographer, and blogger. My goal is to give you the confidence and knowledge to cook and bake from scratch while providing quality recipes and plenty of pictures. Grab a cookie, take a seat, and have fun exploring! more about Sally

Ă—