This Eggless Chocolate Cake is rich, deeply chocolatey, and impossibly moist — made completely without eggs using simple pantry staples you already have at home. After years of testing as an allergy mom, I found the perfect combination of buttermilk, sour cream, and vinegar that does everything eggs usually do, giving you a tender crumb and bold chocolate flavor that rivals any traditional recipe. Whether you’re baking for a child with an egg allergy, celebrating a birthday, or you simply ran out of eggs — this is the one that works every single time.

Oriana’s Thoughts On The Recipe

Who says you need eggs to make a cake super moist? You won’t believe how delicious, easy, and moist this eggless chocolate cake is. It has a tender crumb and bold chocolate flavor and is paired with chocolate frosting. After years of testing, tweaking, and re-testing, I finally created a recipe that checks all the boxes—fluffy, rich, reliable, and just as delicious as any “regular” chocolate cake. This recipe is perfect for those with egg allergies and also for those who have run out of eggs and need to make a cake quickly.
Why You’ll Want to Try My Recipe

Why Does This Eggless Chocolate Cake Recipe Work Great?
After years of testing egg-free cake recipes, I found out that the best way to substitute eggs in a cake recipe is to find the right combination of leavening agents, such as baking powder and/or baking soda, and acids, such as vinegar, lemon juice, buttermilk, yogurt, sour cream, etc…When leavaners and acids are combined, they react and produce gas (bubbles) that will make the cake fluffy.
Cakes without eggs can be a little tricky, but not impossible! The best egg substitutes for a cake recipe are baking soda + buttermilk, yogurt, sour cream, sweetened condensed milk, applesauce, and ripe mashed banana. Keep in mind that these last two can alter the flavor of the cake.

Ingredients Notes & Substitutions

Amounts are included in the printable recipe below (scroll down).
- Unsweetened cocoa powder: Use natural cocoa powder, not Dutch-processed. Natural cocoa is more acidic and reacts with the baking soda in this recipe, giving you a better rise and deeper chocolate flavor. They are not interchangeable here.
- Instant coffee: Completely optional, but I strongly recommend it. A small amount makes the chocolate flavor dramatically deeper and more intense — the cake won’t taste like coffee at all, I promise.
- Butter: I prefer unsalted butter, but salted works too — just skip the salt called for in the recipe.
- Sour cream: You can substitute with plain regular yogurt. Either way, use the full-fat version for the best texture.
- Buttermilk: Don’t have it? No problem — check out my Easy Homemade Buttermilk Substitute and you’re good to go.
- Salt: I use kosher salt. If you only have table salt, reduce the amount by half.
- Vinegar: Apple cider vinegar or white vinegar both work perfectly here.
Food Allergy Swaps
This recipe is naturally egg, nut, peanut, soy, and sesame-free, making it suitable for most dietary needs. However, always check labels for hidden allergens.
- Dairy-Free: To make this recipe dairy-free, you can easily swap out the dairy ingredients for non-dairy alternatives.
- Butter: Substitute butter with dairy-free butter substitutes. Miyoko’s Creamery Organic Vegan Butter and Earth Balance Vegan Buttery Sticks are my favorite butter substitutes for baking.
- Sour Cream: Use your favorite dairy-free sour cream. I use and recommend Tofutti Better than Sour Cream. You can also use dairy-free yogurt.
- Buttermilk: To make a homemade buttermilk substitute, mix 1 cup of non-dairy milk with 1 tablespoon of vinegar or lemon juice and let it sit for a few minutes until it curdles.
- Gluten-Free: Use a gluten-free, all-purpose flour blend. Look for a gluten-free flour blend specifically formulated for baking, as it will have the right combination of flours and starches to mimic the texture of wheat flour. My favorite is Better Batter Original Blend. I also like Doves Farm Freee Gluten-Free All-Purpose Flour, but this blend does not contain xanthan gum, so you need to add 1/4 teaspoon of xanthan gum per cup (140 g) of gluten-free flour blend.
How to Make This Eggless Chocolate Cake
Detailed instructions are included in the printable recipe below (scroll down).
Step 1 – Start by preheating your oven to 350°F and lining your 9×13-inch pan with parchment paper — grease it too, don’t skip either step.
Step 2 – While the oven heats, whisk your dry ingredients together and dissolve the instant coffee in hot water. That coffee bloom is what gives this cake its deep, rich chocolate flavor — don’t skip it.
Step 3 – Cream the butter and sugar until light and pale — give it the full 4 minutes, it matters. Then add the oil, vanilla, sour cream, coffee mixture, and vinegar.
Step 4 – The vinegar activates the baking soda the moment it hits the batter, so once it’s in, work quickly. Alternate the flour and buttermilk in three additions, mix just until combined, and get it straight into the oven.
Step 5 – Bake for 30-35 minutes, starting to check at 28. A toothpick should come out with a few moist crumbs — not completely clean.
Step 6 – Let it cool completely before frosting. Finish with my chocolate frosting for the full effect — trust me on that one. 😊
Eggless Cake Success Tips
- Use natural cocoa powder, not Dutch-process. Natural cocoa is more acidic and reacts with the baking soda in this recipe, giving you a better rise and deeper chocolate flavor. Dutch-process won’t work the same way here — don’t swap them.
- Don’t skip the instant coffee. I know it says optional, but please don’t skip it. Even a tiny amount makes the chocolate flavor dramatically deeper without tasting like coffee at all. Trust me on this one.
- Add the vinegar last and work fast. The moment vinegar hits baking soda, it starts reacting. Add it, mix quickly, and get the batter in the oven right away. Letting it sit means lost lift — and a denser cake.
- Use room temperature sour cream. Cold sour cream doesn’t incorporate smoothly and can leave the batter uneven. Pull it out of the fridge at least 30 minutes before you start.
- Start checking early — don’t overbake. This cake goes from perfect to dry quickly because of its moisture-rich batter. Start checking at 28 minutes. The toothpick should come out with a few moist crumbs, not completely clean.
- Cool completely before frosting. I know it’s tempting, but frosting a warm chocolate cake means melted frosting and a sad situation. Give it the full cool-down — patience pays off here.
Common Eggless Chocolate Cake Problems — Solved
Why Did My Eggless Chocolate Cake Sink in the Middle?
A sunken center usually means the batter was overmixed, the oven door was opened before the cake was set, or the leavening agents were past their prime. Mix only until the ingredients are just combined, keep that oven door closed until the minimum bake time, and check that your baking soda and baking powder are fresh — replace them if they’ve been open more than 6 months.
Why Is My Eggless Chocolate Cake Dense?
A dense cake usually means the baking soda and vinegar didn’t react properly. Either the baking soda was old, or the vinegar was added too early, and the reaction fizzled out before the batter hit the oven. Add the vinegar as the very last step and bake immediately after mixing.
Why Does My Cake Taste Like Flour?
Two culprits: too much flour (from scooping instead of spooning into the measuring cup) or underbaking. Always spoon flour into the measuring cup and level it off, or use a kitchen scale (best). And make sure your toothpick comes out clean before pulling the cake.
Why Did My Cake Crack on Top?
A cracked top usually means the oven was too hot or the pan was too small. Use an oven thermometer to verify your oven temperature — most home ovens run hotter than they say. And always use the pan size called for in the recipe.
Why Does My Cake Stick to the Pan?
Line the pan with parchment paper AND grease it — don’t choose one or the other. And let the cake cool completely in the pan before trying to remove it.
Ways to Make This Eggless Chocolate Cake Your Own
- Sheet Cake: The original recipe uses a 9×13-inch pan — perfect for feeding a crowd at a school party, potluck, or celebration. Easy to transport and serve.
- Layer Cake: Divide the batter evenly between two 8-inch round pans and bake at 350°F for 35-40 minutes. Let the layers cool completely before stacking. Makes a stunning birthday cake.
- Chocolate Chip Version: Fold 1 cup of chocolate chips into the finished batter for extra pockets of chocolate richness. Dust them in a little flour first so they don’t sink.
- Nut Version: Add ½ cup of finely chopped walnuts or pecans to the batter — dusted in flour first — for a little crunch in every bite.
- Frosting Options: This cake works with almost anything. My go-to is chocolate frosting, but vanilla buttercream, cream cheese frosting, and even strawberry buttercream are all incredible here.
What to Serve With Eggless Chocolate Cake
This cake is stunning on its own, but here’s how to make it a full celebration:
- Easy Chocolate Frosting — My silky, rich chocolate frosting is the classic pairing and the one I always come back to.
- Vanilla Buttercream — If you’re team chocolate cake + vanilla frosting, this is the one. Perfect for a birthday.
- Cream Cheese Frosting — Tangy, rich, and unexpectedly incredible on chocolate cake.
- Eggless Vanilla Cupcakes — Serving at a party? Add a batch of vanilla cupcakes so guests have options.
- Vanilla ice cream — A warm slice of this cake with a scoop of vanilla ice cream is pure happiness. Non-negotiable at my house.
Storing & Freezing Instructions
This egg-free chocolate cake always gets eaten up so quickly that you might not even have leftovers to pack up! But if you do have leftovers or you’re planning on making these ahead of time for a party, here’s how to do so.
Store
This eggless chocolate cake will stay fresh in an airtight container at room temperature for up to 2 days as long as it’s unfrosted. If frosted, store it in the fridge. I suggest frosting it the day you intend to enjoy it so the cake lasts longer!
Freeze
To freeze, skip frosting the cake. Let the cake cool completely, wrap the cake or slices tightly in plastic wrap, and place it in a plastic double-zipper quart freezer bag. Freeze the cakes for up to 2 months. Thaw at room temperature before icing and serving.
Frequently Asked Questions
If you don’t want to use an electric mixer, I recommend making my One Bowl Eggless Chocolate Cake.
Yes, you can use 2 8-inch round cake pans. Bake at 350°F (175 °C) for 35-40 minutes or until a toothpick inserted in the center comes out with moist crumbs.
About 3/4 of the way full.
Yes, in that case, omit the baking powder called for in the recipe.
For cupcakes, I recommend my Eggless Chocolate Cupcakes recipe.
Yes! Swap the butter for dairy-free butter (I love Miyoko’s Creamery), the sour cream for dairy-free sour cream or plain dairy-free yogurt, and make your buttermilk substitute by mixing 1 cup of non-dairy milk with 1 tablespoon of vinegar. Let it sit for a few minutes until it curdles, then use as directed. The cake comes out just as moist and delicious.
Yes — and it actually tastes even better the next day! Bake the cake, let it cool completely, then wrap tightly in plastic wrap and store at room temperature for up to 2 days or in the refrigerator for up to 4 days. Frost it on the day you plan to serve it for the best results.
This usually means the batter was overmixed, the oven door was opened too early, or the leavening agents were old. Mix only until the ingredients are just combined, keep the oven door closed until the minimum bake time, and always use fresh baking soda and baking powder.
Absolutely! Divide the batter evenly between two 8-inch round cake pans and bake at 350°F (175°C) for 35-40 minutes. Let the layers cool completely before stacking and frosting. It makes a beautiful, celebration-worthy birthday cake.
It’s one of my most-requested birthday cakes! It’s sturdy enough to layer, frost, and decorate, moist enough to stay fresh for 2-3 days, and so delicious that nobody will know it’s egg-free. Pair it with my chocolate frosting and some sprinkles for a celebration-worthy result.

Throwing an Egg-Free Birthday Party? You’ll Need These Too!
Recipe Card

The Best Eggless Chocolate Cake Ever
Important
• For best results, I highly recommend using a kitchen scale to measure the ingredients.
Ingredients
- 2 1/3 cups (325 g) all-purpose flour
- 3 teaspoons (12 g) baking powder
- 1/2 teaspoon (3 g) baking soda
- ¾ cup (75 g) unsweetened cocoa powder
- 1 teaspoon kosher salt
- 1 tablespoon (15 ml) hot water
- 1 teaspoon instant espresso coffee (optional -see notes)
- 1/2 cup (115 g) unsalted butter, softened (1 stick)
- 2 cups (400 g granulated sugar
- ½ cup (120 ml – 4 oz) neutral-tasting oil (such as vegetable or canola)
- 2 teaspoons (10 ml) pure vanilla extract
- 1/2 cup (120 g) sour cream (at room temperature)
- 1 teaspoon (5 ml) apple cider vinegar
- 1 1/2 cup (360 ml – 12 oz) buttermilk (at room temperature)
Instructions
- Preheat the oven to 350º F (180º C). Line a 9 x 13-inch (35 x 24 cm) baking pan with parchment paper. Lightly grease with baking spray with flour.
- In a large bowl, combine the flour, baking powder, baking soda, cocoa, and salt. Reserve.

- Stir together hot water and instant coffee powder until the coffee is dissolved. Reserve.
- Using an electric hand mixer or a stand mixer, beat butter until creamy on medium-high speed, about 3 – 4 minutes. Add the sugar and beat on high speed for 4 minutes until creamed and pale, scraping down the sides and up the bottom of the bowl with a rubber spatula as needed. Then add oil and vanilla and beat for 2 more minutes. And then, add sour cream, coffee mixture, and vinegar; continue beating until well combined, about 1 minute.
- Turn the mixer to low and add the flour mixture in three batches, alternating with buttermilk, beginning and ending with the flour mixture; beat until just combined, about 30 – 45 seconds. Do not overmix.

- Pour batter into prepared pan(s).

- Bake for 30 – 35 minutes, or until a toothpick inserted in the center comes out clean. Let the cake cool completely in the pan on a wire rack before removing it from the pan.
- Frost with chocolate frosting, if desired.

-
- Dairy-Free: To make this recipe dairy-free, you can easily swap out the dairy ingredients for non-dairy alternatives.
-
- Butter: Substitute butter with dairy-free butter substitutes. Miyoko’s Creamery Organic Vegan Butter and Earth Balance Vegan Buttery Sticks are my favorite butter substitutes for baking.
-
- Sour Cream: Use your favorite dairy-free sour cream. I use and recommend Tofutti Better than Sour Cream. You can also use dairy-free yogurt.
-
- Buttermilk: To make a homemade buttermilk substitute, mix 1 cup of non-dairy milk with 1 tablespoon of vinegar or lemon juice and let it sit for a few minutes until it curdles.
-
- Dairy-Free: To make this recipe dairy-free, you can easily swap out the dairy ingredients for non-dairy alternatives.
-
- Gluten-Free: Use a gluten-free, all-purpose flour blend. Look for a gluten-free flour blend specifically formulated for baking, as it will have the right combination of flours and starches to mimic the texture of wheat flour. My favorite is Better Batter Original Blend. I also like Doves Farm Freee Gluten-Free All-Purpose Flour, but this blend does not contain xanthan gum, so you need to add 1/4 teaspoon of xanthan gum per cup (140 g) of gluten-free flour blend.
- Measure the ingredients correctly. I highly recommend using a kitchen scale.
- Make sure to cream the butter and sugar together for 4–5 minutes, until pale and creamy. To achieve this, the butter has to be at the right consistency; ideally, the butter will easily bend without breaking and will give slightly when pressed. If it looks or feels oily is too soft.
- Don’t overmix the batter. Mix just until the ingredients are evenly distributed throughout the batter.
- Bake the cake(s) as soon as the batter is ready.
- Don’t open the oven door until the cake(s) have set. Leave the oven closed until the minimum time stated in the recipe.
- Preheat the oven at least 15 minutes before getting started to give it plenty of time to reach the ideal recipe temperature.
- Every oven is different, so baking times should always be taken with a grain of salt. Oven thermostats can be wildly off, and that will all affect baking time, so keep an eye on yours. The cake(s) are done when a toothpick inserted in the center comes out clean.
Nutrition
Nutrition information provided is an estimate and will vary based on cooking methods and brands of ingredients used.
Eggless Baking Frequently Asked Questions
You’ve asked, and I’ve answered! Read on for a handful of answers to the most frequently asked questions about eggless baking.
Originally posted in January 2018, the post content was edited to add more helpful information, with no change to the recipe in September 2025. And then again in May 2026.















Hi Orianna. I hope you are doing great.
I tried baking this cake. Every body loves the taste.
I have a question though the cake is too crumbly. I can’t cut it out clean. Is it like that, or I am doing something wrong?
Thanks dear ❤️
Hello Devi! Hmm without being there to see exactly what’s going on it’s really tough to tell. Was it crumbly and dried? Is it possible something may have been mismeasured? There could have been a little too much of a dry ingredient maybe? I recommend you to read my Beginner’s Guide to Eggless Baking and my FAQs section so you might find some clues. I’m sorry I can’t be of any more assistance.
This is my best eggless chocolate cake and cupcake recipe for all the times.
Hello A.K! I am so glad to hear that. It sounds like you nailed it! Thanks so much for trying my recipe and taking the time to come back and let me know.
Hi Oriana,
The first time I made this cake it was amazing. The last 2 times I’ve made it while it’s baking it’s collapsing and sinking in the middle any idea why?
Thanks so much
Hello Eleasha! It’s impossible to say exactly because there are so many things that can make that happen. It could have been that the leaveners were expired, the oven wasn’t working properly, etc…I recommend you to read my Beginner’s Guide to Eggless Baking and my FAQs section. There you will find some clues about what could have happened. xo
Hi Oriana,
I am just wanting to clarify what this means “Lightly grease with baking spray with flour.”
Does it mean after you put baking paper on grease with oil? and then add flour on top of that?
Thank you from a novice baker.
Ah I figured it out (he he).
I am glad 😉 Happy Holidays! xo
Hello Sascha! Lightly greasing a pan means to coat it in some sort of protective fat. For baking, I prefer to use a spray with flour, such as PAM or
Bakers Joy. Hope this helps!
Hi I am 11 and I have used this recipe many times and it is all so amazing. My friends little sister has an egg allergy so I try to find eggless recipes to try. I was wondering if you could make this with 2 8inch pans?
Hello there! So glad you like this recipe =) Yes, you can make this cake in 2 8-inch pans, just make sure to adjust the baking time accordingly. Thanks so much for your feedback and for trying my recipe.
hi i am nine and love to bake. a family friend of mine does not eat eggs and i baked this for them twice and they really love it one time i made it a bunt cake. the second time it was a three layer cake but was kind of dence is there anything i can do about that.
Hello bakergirl! It sounds like you nailed it! We LOVE this recipe too =) Thanks so much for trying my recipe and taking the time to come back and let me know.
Hi, I have to prepare this recipe for my friends son birthday. What is the substitute for both sour cream and coffee powder? I am planning to prepare half sheet cake 8 inches or 9 inches cake same as that your pan. Can I use same recipe for 8 inches half sheet cake also? Can you please the link of pan where you brought that? Can I use chocolate buttercream instead of whipping cream? I am planning to decorate with edible image on top of the cake. Can you please reply to all question.
Thanks,
Harathi
Hello Harathi! Thanks for the interest in my recipe. You can substitute sour cream for plain regular yogurt or make your own sour cream. . You can skip the coffee if you don’t want to use it. This is the pan I use for sheet cakes >>>https://amzn.to/3syXMJp Yes, you can frost the cake with chocolate buttercream.
Thank you so much for your reply.
I brought same pan that you share with me. Can I do one eggless chocolate layer and one eggless vanilla Layer? Can I do cake border and designs with American buttercream and middle I can keep edible image ? Is it good?
Hello Harathi! Yes, you can build your cake as your heart desires. xo
I want to make a chocolate cake for my son’s 2nd birthday, I was thinking of layering two 8 inch round cakes. But what is the difference between this recipe and your one bowl eggless chocolate cake? I’m trying to decide between the two.
Hello Mel! Both recipes will work fine to layering two 8 inch round cakes, and both are delicious. I mostly use my one-bowl chocolate cake just because it’s easier and does not require a mixer. But I promise you will be happy with either. Thanks for your interest in my recipes. Please come back and let me know how you like it =)
Hi,
Why does this recipe have buttermilk and apple cider vinegar and the one bowl recipe has buttermilk but no apple cider vinegar?
Thanks
Hello Reshma – Because they are different recipes and they were developed with different approaches. Thanks for your interest in my recipe.
This is a perfect chocolate cake, I use gluten free flour because of my intolerances and I used soft dark brown sugar instead of white. This is the only freee from recipe I ever use.
Hello Linda! It sounds like you nailed it! Thanks so much for trying my recipe and taking the time to come back and let me know.
I appreciate all the comments so I thought I would post my own, in an effort to be helpful. I followed the instructions to a “T” and I will add that I am generally a very good cook. I ended up baking the cake about 50 minutes, much longer than the 30 to 35 minutes. The cake turned out more like an incredibly delicious brownie. And the ONLY thing I did that is questionable is that at 35 minutes I checked the center with a clean steak knife and, once out of the oven I cut into it while it was still hot because my 6 year old son, who has the egg allergy, couldn’t wait for it to cool.
Any thoughts on why it turned out so dense? I measured the flour out properly (did not scoop it from the bag.)
Hello Kate! It’s impossible to say exactly because there are so many things that can make that happen. I’ll tell you the most likely, and then hopefully, you can work out what went wrong and avoid it in the future.
There are three main reasons for this:
1- The batter was overmixed.
2- Too much flour or the wrong type of flour was used.
3- Butter and sugar were not appropriately creamed.
Solution:
Mix just until you’ve evenly distributed the ingredients throughout the batter.
Make sure to measure ingredients correctly. Be a pro and use a kitchen scale to measure ingredients.
Beat the butter and sugar for 3 – 4 minutes, or until creamy, fluffy, and pale.
If you have any questions, please click here to read on for a handful of answers to the most frequently asked questions about eggless baking.
I hope that helps! Oriana xoxo
My brother’s allergic to eggs so have been trying to find an eggless cake recipe which rises well and isn’t too dense. I followed this recipe exactly and the cake came out perfectly – it rose well and is tastes great. Will have to try some of your other recipes now.
Thank you!
Hello Saima! It sounds like you nailed it! Thanks so much for trying my recipe and taking the time to come back and let me know. Stay safe and take care of yourself and your loved ones. Happy Holidays! xo
I made this cake for my daughter 8th Birthday and everyone loved it. It will definitely be my go to cake. I used white vinegar cause I did not have apple cider vinegar but it still came out great. Love it.
Hello Kata! So glad everyone enjoyed it =) Thank you for taking the time to come back and let me know!
I made this cake for my 3 year old’s birthday and it turned out great. I followed it step by step no replacements. Thank you.
Hello Swati! I’m SO GLAD you enjoyed it. Thank you for taking the time to come back and let me know! =)
I ama planning to make two 9×9 square cake. Do I have rto increase or decrease ingredients quantities??
Hello Pavani! This recipe is enough to make 2 9-inch pans. Thanks for your interest in my recipe. Please come back and let me know how you like it =)
Hi Orianna. thanks for the wonderful recipe. I was just thinking how this recipe will be enough for 2 9inch square pans. area of one 9inch square pan is 81. area of 2 9 inch pans will be 162. while area of the 9×13 pan will be 117. will the cakes bake very thin with not much height if baked in 2 9inch pans. Please advice. eagerly awaiting your reply as I too have only a square 9inch tin. Thx.
Hello Priya! Yes, I think 2-9ich pans will result in thin cake layers. I would test in 7 or 8-inch pans instead.
Hi! I’m planning to make this for my daughter’s birthday. Can I add sweetened dark chocolate to increase the richness of the cake? If yes, how much? And then how should I adjust the sugar quantity?
Hello Alpha! This cake is very rich, but you can add 1/2 to 1 cup of chocolate if you want. Keep in mind that the texture might change a little. Thanks for your interest in my recipe. Please come back and let me know how you like it =)
Update: After baking it, the cake tasted great! Not sure why the batter was so clumpy, but thankfully it didn’t affect the taste!
Hello Madhu! Thanks so much for trying my recipe and for taking the time to come back and let me know!