This Dairy-Free Chocolate Cake recipe is a delicioius and moist, easy chocolate birthday cake, without milk and without butter.

This Dairy-Free Chocolate Cake recipe is so good that this cake may just quickly become your go-to birthday or celebration cake, because everyone will love it!
The batter is very liquidy, but that is how it is supposed to be, so no worries!
And the can be made into a sheet cake as well. Just use a 9″ x 13″ baking pan!
Just mix all of the ingredients in one bowl, pour into your pan (or pans), bake and voila!!
If you are making a layer cake, using wet baking strips will help the cake from becoming uneven or rounded.
Love baked goods with chocolate? Try these Dairy-Free Chocolate Muffins !
General FAQs and information about baking:
The following information may not particularly pertain to this recipe but rather answers general useful questions about baking.
Why do recipes have salt in the ingredients of baked goods?
Even though salt tends to make foods, well, salty, it actually plays other roles in baking as well.
For example, the right amount of salt balances flavors in baked goods; it can bring out the sweetness of sugar and, at the same time, prevent them from tasting overly sweet. It also can help dull the bitterness of cocoa.
Salt prevents baked goods from tasting bland, while it balances the richness of the fats. It also helps develop flavor in yeast breads and works with proteins to strengthen gluten and make it more elastic.
Salt also slows down yeast fermentation because it prevents the yeast from eating up the sugars too quickly, which otherwise would cause the dough to rise too fast and then ultimately collapse, causing bread to come out flat instead of fluffy.
Salt helps baked goods stay a little fresher for a little longer and helps delay mold from growing on them.
Some types of salt in baking:
Kosher salt—called “kosher” because it is used in the process of making meat kosher for observant Jewish consumption. The grains are large.
Table salt—this is what we use to flavor our food at the table. The grains are much smaller than those of kosher salt.*
Sea salt—like table salt, but processed differently*
Flaky salt—flakes of salt that are used for decoration and add a salty taste to the already-baked good.
*A lot of recipes call specifically for sea salt. There is no difference in the baking process or taste between sea salt and table salt, and both contain approximately 40% sodium. However, while table salt is usually mined from underground salt deposits, is heavily processed, and often contains the nutrient iodine, sea salt is made by evaporating water from the ocean, sea, or lakes with saltwater and may contain very small amounts of some minerals.
Can I substitute honey for granulated sugar in baking?
The short answer to this question is yes.
However, there are some things to consider, because the substitution is not 1:1.
Honey is denser and contains more fructose than white granulated sugar, so it is sweeter. Also, honey contains almost 20% liquid, so adjustments must be made for these differences.
First of all, the glucose and fructose in honey make it sweeter than granulated sugar, so you would use only ¾ of the amount of sugar in the recipe’s ingredients. Second, since honey already contains liquid, you should reduce the amount of liquid that the recipe calls for by 25% to maintain consistency.
Honey is also naturally acidic, whereas granulated sugar is not, so in order to neutralize the acidity you will be adding to your baking, you can add ¼ teaspoon of baking soda per cup of honey to the ingredients.
Lastly, since honey contains simple sugars that caramelize and burn at lower temperatures than granulated sugar does, you should lower the temperature by 25 degrees from that required in the recipe. This is to help prevent the outside from baking quicker than the inside of your baked goods.
Note:
There are a few additional things to note about substituting honey for sugar, though. First, if you use honey rather than granulated sugar for baked goods that are supposed to be crispy, they will come out softer. Second, you cannot “cream” if you replace granulated sugar with honey, so recipes that are meant to come out light because of creaming butter with sugar will come out denser. Lastly, honey is still a sugar, and it has approximately 30% more calories than granulated sugar does (but this will be somewhat compensated by the fact that you will be reducing the quantity of honey versus sugar in the recipe).
What is the difference between baking soda and baking powder?
Baking soda and baking powder are both synthetic leavens that help baked goods rise, but there is a difference between them.
Baking soda is pure sodium bicarbonate, which needs another ingredient that is acidic in order to be activated. When the baking soda touches the acid, it creates a carbon dioxide gas, which helps the baked good rise. Baking soda is between 3 and 4 times stronger than baking powder, and if too much baking soda is used, your baked good will end up with a metallic flavor.
Baking powder is baking soda that is already mixed with an acid and a stabilizer and will be activated by moisture and heat. Nowadays, baking powder is called double-acting because it activates twice—once when it gets wet (when you mix the ingredients together) and again when it heats in the oven.
Replacing one with the other can be tricky and it’s not recommended. However, if you have no choice, then do solid research for substituting one for the other for the baked good you are preparing so you don’t ruin it.
Why do recipes with yeast say to make a mixture of the yeast, warm water, and sugar and set aside until it bubbles?
Most dough recipes that include yeast will give instructions to mix the yeast with warm water and sugar and set aside until it bubbles before using it. This is NOT part of the recipe but rather a short process called “proofing” to ensure that your yeast is alive because if it is not, your dough will not rise.
In order to proof your yeast, you need to let the yeast, warm water, and sugar mixture sit for 5-10 minutes to see if it develops foamy bubbles. If it does, your yeast is alive. Otherwise, it should not be used.
The water for proofing must be warm in order to activate the yeast because if it is too cold, nothing will happen, and if it is too hot, it will kill the yeast. Warm is between 105 and 110 degrees Fahrenheit (or 40 and 43 degrees Celsius). I usually just put my finger in the water, and if it is comfortably warm, I use it.
The sugar is used in proofing because yeast eats the sugar and releases gas (carbon dioxide), which is what causes the bubbles. If there are no bubbles, either the water was too hot or too cold, or the yeast is simply dead.
Note: If you are CERTAIN that your yeast is alive, then this process is unnecessary.
What do eggs do in baking?
Eggs are made up of two parts: the whites and the yolks (the yellow).
Egg whites are made up of protein that sets when heated and helps baked goods hold their structure. The yolks are made up of fats and vitamins and help ingredients bond.
Eggs also help baked goods rise as well as keep them moist.
It is important to have the right amount of eggs when baking, because if there are too many eggs in a recipe, this can cause a rubbery, dense texture, and if there are too few eggs, this can cause a crumbly, dry texture.
The different parts of the egg will provide different textures to baked goods; using the entire egg in baking will provide moisture and help the baked good rise evenly, using extra yolks will create richer, denser textures, and extra whites will add fluffiness but may create a drier texture.
What if I don’t want to use eggs in my baking?
There is food science that one can research to replace eggs in baking, but the substitutions will change from item to item.
Should I sift flour before I use it?
Unless you are concerned about bugs or clumps from moisture, the need to sift depends on your recipe.
For example, you don’t need to sift for dense baking like muffins or quick breads, where lumps won’t ruin the texture. But you should sift for recipes that rely on air bubbles, such as sponge or angel cakes or soufflés. You also should sift your flour if you are making baked goods with a high fat content, such as brownies, because it is important that the fat be absorbed throughout all of the flour, and having flour clumps could prevent this.
Sifting the baking powder and/or baking soda together with the flour and salt before mixing in the other ingredients may be able to help prevent cakes from coming out lopsided, where one side may be somewhat higher than the other.
What is the difference between butter and margarine?
Butter is a dairy product that is made by churning heavy cream until the fats separate from the milk (i.e., buttermilk). Margarine, however, is made from vegetable oil. Butter generally has a lower melting point than margarine as well as a lower water content (and the soft tub margarines have a higher water content than bar margarines).
Using butter in baking cookies can create a crisper, more flaky cookie, while cookies will come out softer and more cakey when made with margarine. It is also generally believed to be better to “cream” using butter rather than margarine.
Using butter adds a kind of toasted nut flavor to baked goods, while margarine doesn’t add flavor (however, sometimes with margarine, one might have a waxy feel on the roof of one’s mouth after eating something with a high margarine content).
If one wants to make a dairy-free baked good that calls for butter, a dairy-free margarine is a good substitute.
What is the difference between dairy-free margarine and vegan butter?
Vegan butter and margarine have similarities. In fact, all vegan butter is a type of dairy-free margarine. The difference between them is in the content and the baking performance.
Vegan butter is made from fats such as coconut oil, shea butter, or cocoa butter, and behaves like butter in that it creates more flaky and crisp textures and has a toasted nutty flavor, while margarine is typically made with the less expensive vegetable oils.
What is the difference in using oil vs butter or margarine?
Both margarine and butter are solid fats at room temperature, and both contain more saturated fats than oil.
While margarine and butter will change from a solid to a liquid when heated, they will change back to solids when cooled again. Oil stays liquid at all temperatures. Oil also coats flour better in the preparation process before baking.
Butter “creams” better than margarine, but one cannot cream oil at all.
When converting a recipe from butter or margarine to oil, the general conversion rate is 1 to ¾ (although if you are doing more than one batch, you might need to reduce the oil because I have found that baked goods come out oily in this case).
And when converting from oil to margarine or butter, typically the ratio is 1 to 1¼.
What is the difference between real vanilla extract and imitation vanilla?
Real vanilla is made from soaking vanilla beans in alcohol, imitation vanilla is synthetic and real vanilla costs quite a bit more than imitation. Whether or not there will be a taste difference in your baking depends on the baked good, so do some research before you decide. I personally always use the imitation as long as I have a really good brand because it’s not worth it to me to spend the extra money.
Tips for baking
Preparing the batter
As obvious as that may sound (except to people like me), following instructions when baking is important.
It seems that all too often, bloggers will add extra steps or add extra ingredients, unnecessarily complicating the recipes.
Nonetheless, sometimes what seems unnecessary can be helpful.
That noted, the best way to start, unless directed otherwise, is by putting the dry ingredients in the bowl first and combining them together, and then adding the wet ingredients.
I haven’t found that it matters much what order ingredients are put in the bowl when it comes to dough, however, with batter, it can make a difference, and it is a good practice to add the wet ingredients, one at a time, blending lightly in between, mixing slowly and thoroughly.
Dumping all of the ingredients in before mixing can leave flour clumps, which may not dissolve while baking and mixing too quickly will add air bubbles, which can create air gaps in the cake
Flour clumps, especially the larger ones, may not bake into your cake, and you may find them in your slices. If you have them, remove as many as you can before baking. Using a strainer helps. (Yes, this has happened to me.)
If you find you do have a lot of little air bubbles, gently tap the side of the bowl with your fingers before you pour into the pan (you can do this with the pan if you didn’t notice the bubbles until you already poured the batter).
The tapping will pop them (you can actually see this). You may not get rid of them all, but the bigger ones are more important to pop. The bubbles seem to be more of a problem with thinner batter and with thicker batter.
The batter
Before you pour the batter into the pan(s), make sure to coat well with something to help prevent your final products from sticking.
There are various ways to do this, depending on your preference. You can use some type of fat, such as oil or cooking spray, margarine, or butter, with or without sprinkling flour as well. Or you can use baking paper.
My personal preference is to place baking paper on the bottom of the pan(s) and then coat with cooking spray, or vice versa. Baking paper can come in individual sheets or in rolls. For round pans, you can buy a suitable size that will fit right on the bottom of the pan. OR you can place the pan on top of the baking paper, trace around the bottom of the pan, and cut to size.
If you use baking paper, you might find that it won’t stay at the bottom of the pan properly while you are trying to pour the batter in, and there are a couple of tricks I use to help. One is to cut the paper so it fits in the pan like a lining, and the other is to wet it so it sticks (the latter is quicker, so I normally use that one).
When making cupcakes or muffins, you can coat or you can use cupcake paper. I have found that with some brands, however, while the paper won’t stick to the pan, it will stick to the cupcake, so you might want to lightly spray the paper before you pour in the batter.
If you are making a layer cake, separate the batter equally into both pans. The best way to do this is to weigh the pans with batter to make sure they are even. Personally, I just eyeball it (which is probably not the best idea unless you have a good eye).
Baking
Ovens often vary in how they spread heat, something that can cause uneven baking. This can cause a variety of problems in baking, such as lopsided cakes, raw middles, over-baked sides, etc.
One way to help prevent this is to turn your pan around on the shelf in the middle of baking to help ensure it will bake more evenly.
Another reason for uneven baking, where the item comes out fine on the top and burnt on the bottom, is if a crumb or a piece of something is at the bottom and will burn as you bake.
If your cake comes out lopsided, one way to fix that is to slice off the uneven part before putting on the frosting. I hate losing cake, so when it does this, I will slice approximately halfway through the higher part and flip it over onto the lower part before adding the frosting.
To help prevent lopsidedness in the first place, this method is often used: take a strip of aluminum foil that is around 4-6 inches longer than the circumference or perimeter of your pan and lay the wet paper towel on it, then fold the foil over the paper towel lengthwise so it is just a bit less wide than the height of the pan.
Wrap the foil around the pan and slide one end in the other (crimp it a bit if you need to so it will hold). This will create a moisture barrier for baking (I have read that some people put a pan of water in the oven when baking – I haven’t tried that yet).
I found all of that a little tedious, so I bought cake strips. These are absorbable cotton belts, around 2″ wide, and come in a few different lengths to be wrapped around and secured on round cake tins. These are soaked (but not dripping) when you wrap them around the pan.
If you need to use them for a larger rectangular pan, you can just attach a number of them together.
Cooling
You know your baked good is ready when a toothpick can slide cleanly and easily in and out of the baked item (or when the top is a little firm and springy), it can be removed from the oven.
Leave to cool for 10-15 minutes.
If you are going to remove the item from the pan, run a knife around the sides between the cake and the pan. Place a plate or cooling rack over the top and flip.
If you want the top side to remain on the top, you will flip the item over twice (once to remove it from the pan and once to get it back).
For cupcakes and muffins, I recommend using cupcake paper, and after you have used the knife to loosen them from the cup, you should be able to just pop them out carefully using the same knife.
Baking and Dessert Pantry Essentials
I never know when someone in my family is going to want a dessert at home, to bring to a friend’s house, or need for an event, so I like to make sure I can bake anything with very short notice. To that end, I keep a variety of supplies and ingredients in the house that will allow me to do just that.
I can’t tell you how many times I was glad to have whatever I needed within reach for the last-minute visitor or for when one of my kids went to a friend or had a school event without much prior notice.
I have slowly collected things over the years as I needed them (or if I found a good sale) and like to keep more than one of the smaller items in case I don’t want to wash dishes in the middle of baking.
My basic “equipment” includes:
- a stand mixer, which I use mostly for dough and sometimes for whipping
- a hand mixer (for things that aren’t dough and I don’t want to mix manually)
- a kitchen scale
- different sizes and shapes of baking pans, including loaf pans
- mixing bowls (or just large bowls—I have plastic, glass, and metal)
- cookie sheets
- pie dishes
- dry measuring cups
- liquid measuring cups
- measuring spoons
- whisks
- rubber spatulas (really good for when you don’t want to leave anything in the bowl)
- rolling pins
- a baking mat for rolling out dough
- baking strips
- a good supply of baking (or parchment) paper (also round for layer cakes)
I can certainly get by without a lot of the above, but it makes baking so much simpler when I just have whatever I need at my fingertips.
Note: The measuring cups and spoons should match as far as the measurements are concerned. Not all cups are properly marked, and this can throw your measurements off.
In addition to the equipment, there are the baking ingredients that I try to keep in the house at all times:
- flour
- white granulated sugar
- brown sugar (light/dark—I usually keep dark)
- confectioners’ sugar (powdered sugar)
- salt
- baking powder
- baking soda
- cocoa powder
- ground cinnamon
- ground nutmeg
- ground ginger
- ground cloves
- baking chocolate
- chocolate chips
- instant dry yeast
- vanilla and/or vanilla sugar
- cooking oil/cooking spray
- margarine or butter
- eggs
- honey
- instant coffee
- various extracts (real or imitation)
I also make sure that I have the following on hand to be able to make a variety of fillings, frostings, and toppings:
- whipping cream
- powdered pudding mix
- powdered sugar
- a good chocolate spread
Then, there is the following to make last-minute quick desserts:
- packaged pie dough or ready-made pie crusts
- puff pastry dough
Lastly, it’s not a bad idea to keep fun toppings, such as chopped walnuts, raisins, and the oh-so-important container of sprinkles.
Having a baking pantry at the ready would let you make Really Easy Chocolate Cake without even popping out special to the store!
Benefits
Want to feel better about eating such chocolatey goodness? Check out the benefits of chocolate!
Dairy-Free Chocolate Cake Recipe

Absolutely delicious dairy-free chocolate birthday cake.
Ingredients
- 2 cups all-purpose flour
- 2 cups white granulated sugar
- 3/4 cup unsweetened cocoa powder
- 2 teaspoons baking powder
- 1 1/2 teaspoons baking soda
- 1 teaspoon salt
- 2 cups hot black instant coffee*
- 1/2 cup oil
- 2 large eggs
- 1 tablespoon vanilla
- Frosting, as desired
Instructions
- In a large mixing bowl whisk together flour, sugar, cocoa, baking powder, baking soda, and salt.
- Add water or coffee, oil, eggs, and vanilla and mix until smooth. The batter should look somewhat liquidy.
- Line the bottom of 2 9-inch round cake pans with baking (parchment) paper and spray the inside of the pan with cooking spray or coat with oil. **
- Pour the batter evenly into the pans.
- Place in an oven that has been preheated to 350°F and bake for approximately 30 minutes or until the layers are firm to the touch and a toothpick inserted into the center of the cake comes out clean.
- Remove from the oven and let cool.
- Carefully run a butter knife around the inside edge of the cake to release it from the pan. Then, flip the layers over onto a plate or cooling rack to finish cooling (if you use a cooling rack, you will need to place it on your serving plate later).
- Using a bread knife, slice off the uneven parts of the cake to level it if need be. ***
- Frost one layer of the cake and flip the other layer over on top of it.
- Frost the top and sides of the layer cake and decorate as desired.
Notes
* The coffee enhances the chocolate flavor, but you can just use 2 cups of hot water if you wish.
** If you want to make a sheet cake instead of a layer cake, use a coated/lined 9" x 13" pan.
*** If you wrap a very wet folded dish towel or—better yet—very wet baking strips around each of the pans, this should help keep the unevenness down to a minimum or none at all.
Nutrition Information:
Yield:
12Serving Size:
1Amount Per Serving: Calories: 323Total Fat: 11gSaturated Fat: 1gTrans Fat: 0gUnsaturated Fat: 9gCholesterol: 31mgSodium: 429mgCarbohydrates: 53gFiber: 2gSugar: 34gProtein: 4g