Homemade Zebra Cake

This post may contain affiliate sales links. Please read my disclosure policy.

This chocolate and vanilla swirled Zebra Cake is incredibly moist and delicious. Covered in a sweet homemade buttercream, this cake is a million times better than the pre-packaged zebra cakes! Plus, it’s made from one cake batter!

Easy Homemade Zebra Cake

This indulgent dessert is modified from my popular Marble Cake Recipe. The difference? This version features a beautiful zebra pattern inside the cake, and it’s frosted with chocolate and vanilla buttercream instead of just chocolate. Now you can choose a homemade marble cake to match your mood!

Just like the original recipe, this zebra cake is easy to make. It looks beautiful on a cake stand and even more so when you slice into it to reveal the zebra pattern inside. This cake is so fun and interesting, it makes a great celebratory treat.

A piece of Zebra Cake on a plate with a wooden spoon.

What is Zebra Cake?

Zebra cake contains the best of both worlds – chocolate and vanilla! The classic Little Debbie dessert is frosted in a black and white zebra pattern, but this homemade version takes it a step farther by having a zebra pattern baked into the cake as well. If you can’t decide between vanilla and chocolate, decide on this cake! You’ll never settle for the packaged zebra cakes again.

Overhead view of a frosted chocolate and vanilla Zebra Layer Cake.

Cake Ingredients

Minimal ingredients are required for this decadent cake. Just some simple pantry staples for both the cake and the frosting!

For the Zebra Cake

  • All-Purpose Flour: As is the case with most cake recipes, flour is a key ingredient.
  • Baking Powder: Not baking soda.
  • Salt: For flavor!
  • Butter: Use unsalted, room temperature butter.
  • Vegetable Oil: For extra moisture.
  • Sugar: Regular granulated sugar.
  • Eggs: Use large eggs.
  • Vanilla Extract: Use good quality vanilla extract for the very best flavor.
  • Buttermilk: I use powdered buttermilk. Regular milk would work fine as a substitute, but the buttermilk does give a more tender result.
  • Chocolate: Chop up your chocolate. I highly suggest using bittersweet; I like 60% cacao.
  • Black Gel Icing Color: Optional, but this will help darken your chocolate cake so it looks just like zebra stripes.

For the Vanilla Buttercream

  • Butter: Butter is the base for this smooth and creamy frosting.
  • Powdered Sugar: This will give your buttercream the right consistency.
  • Vanilla Extract
  • Water: Or milk.
  • Cocoa Powder: You’ll need some natural, unsweetened cocoa powder for the chocolate half of the frosting.
  • Black Gel Icing Color
A Fully Decorated Zebra Cake on Top of a White Cake Stand

How to Make Zebra Cake

This cake is easy to make, but it does take a little time to put together with the chocolate and vanilla cake and frosting. The end result is well worth the wait!

Make the Marble Cake

  1. Prepare for Baking: Prepare two 9 inch cake pans with parchment paper circles in the bottom and grease the sides. Preheat the oven to 350°F.
  2. Combine Dry Ingredients: Combine the flour, baking powder and salt in a medium sized bowl and set aside.
  3. Combine Butter, Oil & Sugar: Add the butter, vegetable oil and sugar to a large mixer bowl and beat together until light in color and fluffy, about 3-4 minutes. Do not skimp on the creaming time.
  4. Add Eggs: Add the eggs two at a time, mixing until well combined after each. Scrape down the sides of the bowl as needed to be sure all ingredients are well incorporated.
  5. Start Adding Dry Ingredients: Add half of the dry ingredients to the batter and mix until combined.
  6. Add Buttermilk & Vanilla: Add the buttermilk and vanilla extract and mix until well combined.
  7. Finish Adding Dry Ingredients: Add the remaining dry ingredients and mix until well combined and smooth. Scrape down the sides of the bowl as needed to be sure all ingredients are well incorporated. Do not over mix the batter.
  8. Divide Batter: You should have roughly 5 1/2 cups of cake batter total. Divide it in half in two separate bowls (about 625g each, if using a food scale) and set aside.
  9. Make Chocolate Batter: Melt the chopped chocolate, then add it to one of the bowls of cake batter that was set aside, along with the black gel icing color, and gently fold together to combine. Work somewhat quickly so that the chocolate in the cake batter doesn’t firm up too much and make the cake batter more difficult to work with. If it thickens too much, it makes it harder to layer the colors of cake batter together easily.
  10. Assemble in Pans: Drop alternating heaping spoonfuls of each batter to the cake pans and gently shake the pan side to side to spread it evenly after every 2-3 spoonfuls. So, add a large spoonful of the vanilla batter to each cake pan, then add a large spoonful of chocolate batter to the center of the vanilla batter. Shake side to side to spread. Repeat until you’ve used all the cake batter between the two pans.
  11. Bake: Bake for 25-30 minutes, or until a toothpick inserted comes out clean.
  12. Let Cool: Remove the cakes from the oven and allow to cool for about 2-3 minutes, then transfer to cooling racks to cool completely.

Make the Buttercream Frosting

  1. Make Buttercream: To make the frosting, beat the butter in a large mixer bowl until smooth.
  2. Add Some Powdered Sugar: Add half of the powdered sugar and mix until smooth.
  3. Add Vanilla & Water: Add the vanilla extract and 3 tablespoons of water or milk and mix until well combined and smooth.
  4. Add Remaining Sugar: Add the remaining powdered sugar and mix until well combined and smooth.
  5. Divide Buttercream: Remove about 1 1/4 cups of the vanilla buttercream and set in another bowl. Add additional water or milk, if needed to get the right consistency of frosting.
  6. Make Chocolate Buttercream: Add the cocoa powder to the remaining buttercream and mix until well combined and smooth. Add additional water or milk, if needed to get the right consistency of frosting, then add the black gel icing color to get the right shade of black.

Assemble and Decorate Your Zebra Cake

  1. Assemble Cake: To put the cake together, use a large serrated knife to remove the domes from the top of the cakes so that they’re flat. These cakes don’t have a large dome, but I like to make sure they’re completely flat. Place the first cake on a serving plate or a cardboard cake round and spread about 1 cup of chocolate buttercream evenly on top of it. Then, add the second layer of cake on top, then frost the outside of the cake with the chocolate buttercream.
  2. Decorate: Use the remaining chocolate buttercream and the vanilla buttercream to create swirls on top of the cake and shells along the bottom. To create the two toned swirls, I find it easiest to add each color to their own piping bag, then put both piping bags into a larger piping bag fitted with the piping tip. Squeeze the larger piping bag to do your piping.
  3. Serve or Store: Slice and serve your cake, or store it in an airtight container.

Tips for the Best Zebra Cake

Your cake will come out perfect if you follow the recipe and take note of these simple tips and tricks.

  • Use Bittersweet Chocolate: I strongly recommend sticking with bittersweet chocolate for this cake. I find it gives the best flavor and texture to the chocolate cake portion.
  • Cream Butter and Sugar Well: You’ll need to cream your butter, sugar and vegetable oil for at about 2 to 3 minutes. Don’t stop until the mixture fluffs up and turns a lighter shade. But you also don’t want to over-cream. If it starts to look a little curdled, rather than fluffy, you may have over-creamed.
  • Don’t Over Mix Batter: Don’t keep mixing your cake batter once everything is well incorporated, or you’ll over mix it and the cake will end up more dense.
  • Work Quickly: Once you’ve made your chocolate cake batter, don’t waste any time before adding your batters to the pans. If the chocolate batter sits, it will thicken and become hard to work with.
A Large Slice of Double-Layer Zebra Cake on a White Plate

How to Store Leftovers

This cake should be kept in an airtight container and should last well for 2-3 days. You can leave it at room temperature for up tp two days, but then it should be refrigerated. I do recommend serving it at room temperature, as it’s less firm that way.

Can You Freeze Zebra Cake?

You can freeze this cake, frosting and all. Frozen zebra cake will last for about 2-3 months. Store it in an airtight container or wrap it well in both plastic wrap and foil, then thaw it overnight in the fridge before eating.

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
A Piece of Zebra Cake on a Plate with a Wooden Spoon
Recipe

Zebra Cake

  • Author: Lindsay
  • Prep Time: 40 minutes
  • Cook Time: 25 minutes
  • Total Time: 1 hour 5 minutes
  • Yield: 24
  • Category: Dessert
  • Method: Oven
  • Cuisine: American

Description

This chocolate and vanilla swirled Zebra Cake is incredibly moist and delicious. Covered in a sweet homemade buttercream, this cake is a million times better than the pre-packaged zebra cakes!


Ingredients

For the Zebra Cake

  • 2 1/4 cups (293g) all purpose flour
  • 2 1/2 tsp baking powder
  • 1/2 tsp salt
  • 1/2 cup (112g) unsalted butter, room temperature
  • 1/2 cup vegetable oil
  • 1 1/2 cups (310g) sugar
  • 4 large eggs
  • 1 tbsp vanilla extract
  • 1 cup (240ml) buttermilk*
  • 5 oz bittersweet chocolate (60% cacao), chopped**
  • 1/2 tsp black gel icing color

For the Vanilla Buttercream

  • 2 1/2 cups (560g) butter
  • 9 cups (1035g) powdered sugar
  • 2 tsp vanilla extract
  • 68 tbsp (90-120ml) water/milk
  • 1 cup (114g) natural unsweetened cocoa powder
  • Black gel icing color

Instructions

Make the Marble Cake

  1. Prepare two 9 inch cake pans with parchment paper circles in the bottom and grease the sides. Preheat oven to 350°F (176°C).
  2. Combine the flour, baking powder and salt in a medium sized bowl and set aside.
  3. Add the butter, vegetable oil and sugar to a large mixer bowl and beat together until light in color and fluffy, about 3-4 minutes. Do not skimp on the creaming time.
  4. Add the eggs two at a time, mixing until well combined after each. Scrape down the sides of the bowl as needed to be sure all ingredients are well incorporated.
  5. Add half of the dry ingredients to the batter and mix until combined.
  6. Add the buttermilk and vanilla extract and mix until well combined.
  7. Add the remaining dry ingredients and mix until well combined and smooth. Scrape down the sides of the bowl as needed to be sure all ingredients are well incorporated. Do not overmix the batter.
  8. You should have roughly 5 1/2 cups of cake batter total. Divide it in half in two separate bowls (about 625g each, if using a food scale) and set aside.
  9. Melt the chopped chocolate, then add it to one of the bowls of cake batter that was set aside along with the black gel icing color and gently fold together to combine. Work somewhat quickly so that the chocolate in the cake batter doesn’t firm up too much and make the cake batter more difficult to work with. If it thickens too much, it makes it harder to layer the colors of cake batter together easily.
  10. Drop alternating heaping spoonfuls of each batter to the cake pans and gently shake the pan side to side to spread it evenly after every 2-3 spoonfuls. So add a large spoonful of the vanilla batter to each cake pan, then add a large spoonful of chocolate batter to the center of the vanilla batter. Shake side to side to spread. Repeat until you’ve used all the cake batter between the two pans.
  11. Bake for 25-30 minutes, or until a toothpick inserted comes out clean.
  12. Remove the cakes from the oven and allow to cool for about 2-3 minutes, then transfer to cooling racks to cool completely.

Make the Frosting

  1. To make the frosting, beat the butter in a large mixer bowl until smooth.
  2. Add half of the powdered sugar and mix until smooth.
  3. Add the vanilla extract and 3 tablespoons of water or milk and mix until well combined and smooth.
  4. Add the remaining powdered sugar and mix until well combined and smooth.
  5. Remove about 1 1/4 cups of the vanilla buttercream and set in another bowl. Add additional water or milk, if needed to get the right consistency of frosting.
  6. Add the cocoa powder to the remaining buttercream and mix until well combined and smooth.
  7. Add additional water or milk, if needed to get the right consistency of frosting, then add the black gel icing color to get the right shade of black.

Assemble and Decorate

  1. To put the cake together, use a large serrated knife to remove the domes from the top of the cakes so that they’re flat. These cakes don’t have a large dome, but I like to make sure they’re completely flat.
  2. Place the first cake on a serving plate or a cardboard cake round.
  3. Spread about 1 cup of chocolate buttercream evenly on top of the cake.
  4. Add the second layer of cake on top, then frost the outside of the cake with the chocolate buttercream.
  5. Use the remaining chocolate buttercream and the vanilla buttercream to create the swirls on top of the cake and the shells along the bottom. To create the two toned swirls, I find it easiest to add each color to their own piping bag, then put both piping bags into a larger piping bag fitted with the piping tip. Squeeze the larger piping bag to do your piping.
  6. Store in an airtight container.

Notes

Cake is best when eaten within 2-3 days.

*I use powdered buttermilk. Regular milk would work fine as a substitute.

**I strongly recommend sticking with bittersweet chocolate for this cake. I find it gives the best flavor and texture to the chocolate cake portion.

Nutrition

  • Serving Size:
  • Calories: 568
  • Sugar: 60.6 g
  • Sodium: 77.4 mg
  • Fat: 31 g
  • Carbohydrates: 73.4 g
  • Protein: 4 g
  • Cholesterol: 93.1 mg

Categories

More Cake Recipes to Try

There’s always a reason to bake a cake, at least in a sweet tooth’s opinion. These recipes are so good, you have to add them to your list of must-make desserts!

Lindsay
About Lindsay

I'm a wife and a mom to twin boys and a baby girl! And I've got a serious sweets addiction! Bring on the treats!

Scripture I’m Loving

“Come to me, all you who are weary and burdened, and I will give you rest. Take my yoke upon you and learn from me, for I am gentle and humble in heart, and you will find rest for your souls.” Matthew 11:28-29