Laura Fuentes

menu icon
go to homepage
  • Recipes
  • Eat Healthy
  • Quick Meals
  • Pancakes
  • About
  • Dinner
  • Pasta Night
  • Best Chicken Recipes
  • Meal Plans
  • Cookbooks
  • Contact
search icon
Homepage link
  • Recipes
  • Eat Healthy
  • Quick Meals
  • Pancakes
  • About
  • Dinner
  • Pasta Night
  • Best Chicken Recipes
  • Meal Plans
  • Cookbooks
  • Contact
×
Home » Recipes » Desserts

Gluten Dairy and Egg Free Chocolate Cake

By Laura Fuentes Updated Oct 7, 2026

4.95 from 200 votes

Recipe
This gluten-free, dairy-free chocolate cake is also egg-free, yet it's rich, moist, and so chocolatey you'd never guess what's missing. An easy, reliable cake I've made for birthdays and celebrations for many years.

This gluten-free, dairy-free chocolate cake is easy to make for a dessert everyone can enjoy. You’d never know it’s also egg-free, since it’s rich, chocolatey, and moist, with a crumbly texture that will win anyone over at first bite.

front view of a rich slice of gluten free, dairy-free, and egg-free chocolate cake with chocolate frosting on a plate

Chocolate Cake without Gluten, Dairy or Eggs

Laura fuentes holding a skillet of food standing in front of a blue door

I first shared this recipe in 2014, after creating it for my middle son, who needed to follow a gluten-free diet, while my youngest couldn’t have dairy. I made it egg-free too because so many of my readers were looking for recipes without all three.

More than a decade later, this is still the chocolate cake I make for many of our family celebrations. I’ve baked it for birthdays, shared it with friends navigating food allergies, and made it enough times over the years to know that being gluten, dairy, and egg-free doesn’t have to mean settling for a disappointing cake.

Ingredients

There aren’t many ingredients in this cake, but each one has a job. Here’s why I use them, with more details and substitutions in the FAQs below.

  • Gluten-free baking flour mix: I stand by the results I consistently get by using Bob’s Red Mill Gluten-Free 1:1 Baking Mix. This recipe will not work with almond or coconut flours.
  • Sugar: Use traditional, granulated white sugar.
  • Cocoa powder: Use unsweetened cocoa powder (nothing fancy) work best.
  • Baking soda: This is what helps the cake rise.
  • Salt: Brings out the flavors in the batter.
  • Dairy-Free Chocolate Milk: Using already-mixed, dairy-free chocolate milk gives this cake a richer chocolate flavor.
  • Vegetable oil: Use a neutral oil (canola or vegetable) to add moisture to this cake batter. Coconut oil works too, but it leaves a slight coconut taste behind.
  • Vinegar: Use apple cider vinegar or plain white vinegar. It helps the cake rise when mixed with baking soda.
  • Vanilla: A little to enhance the chocolate flavor; a must for cakes.

How to Make Gluten-Free Dairy-Free Chocolate Cake

  1. Prep
    Preheat the oven to 350F and grease two 9-inch cake pans.
  2. Make the batter
    Whisk the dry ingredients in one bowl and the wet ingredients in another, then gently stir them together until the batter is smooth and no dry flour remains. Divide the batter evenly between the pans.
  3. Bake
    Bake for 25 to 30 minutes, checking around minute 25. They’re done when the centers are set and a toothpick inserted in the middle comes out clean.
  4. Cool
    Let the cakes cool in the pans for 10 minutes before transferring them to a wire rack. Let them cool completely before frosting, or the frosting will soften and slide.
  5. Frost the cake
    Make sure the frosting is soft enough to spread, especially if you refrigerated it. Frost the first layer, add the second cake layer, then cover the top and sides.
front view of a rich slice of gluten free, dairy-free, and egg-free chocolate cake with chocolate frosting on a serving stand, being sliced off

Dairy-Free Chocolate Frosting

If you’ve found a store-bought frosting that meets your ingredient needs, you’ll need one 16-ounce tub for this two-layer cake. Or, make my dairy-free chocolate frosting while the cake cools. It’s made with vegetable shortening, which yields a thick and easily spreadable frosting.

gluten free dairy free chocolate cake slice on a plate with a piece sliced on a fork

Laura’s Tips for The Best Gluten Free Dairy Free Cake

Do I need to use vinegar?

Yes. Don’t omit the vinegar. Apple cider vinegar or white vinegar both work; the acid reacts with the baking soda to help this egg-free cake rise. You’ll hear some fizzing when you combine the wet and dry ingredients, which means the reaction is working.

Why do I need to use dairy-free chocolate milk?

The chocolate milk gives the cake a richer, sweeter chocolate flavor. Almond, oat, or cashew-based chocolate milk all work. I’ve found that plain, unsweetened dairy-free milk makes the finished cake noticeably less sweet.

Can I omit the sugar or swap it out?

Don’t omit the sugar. If you want to replace the white sugar, many readers have successfully used coconut palm sugar. I’ve tested it once myself and found that the cake was less crumbly. Don’t use honey or liquid stevia; I haven’t personally tested xylitol or other granulated sugar alternatives.

What gluten-free flour works best for this chocolate cake?

After many tests, I stand behind Bob’s Red Mill 1:1 Gluten-Free Baking Flour and King Arthur Flour Gluten-Free Baking Mix for this cake. Both contain xanthan gum, which helps bind the egg-free batter together. You can find both at many local grocery stores or online (Amazon). You cannot use almond or coconut flour for this recipe.

Can I make this as cupcakes or in a different size pan?

Yes. For cupcakes, bake for 18 to 22 minutes and start checking them around minute 16. For a three-layer cake, divide the batter between three 6-inch pans. You can also bake it in a 9×13-inch pan, but keep an eye on the baking time since it will vary slightly. You’ll also find this information in the recipe card notes.

Can this cake be frozen?

Yes. You can freeze the baked cake layers and thaw them the day you plan to frost the cake, or freeze the finished cake frosting and all. I’ve found that freezing and thawing doesn’t noticeably change the texture or flavor, which makes this a great cake to make ahead for a party.

More Gluten and Dairy Free Desserts

After you make this cake, try my healthy no-bake blondies, this avocado chocolate mousse, or a coconut almond flour chocolate cake. While not a dessert, these cassava flour pancakes are also worthy of a weekend breakfast celebration.

Gluten, Dairy, and Egg Free Chocolate Cake

large slice of chocolate cake
Servings: 16 (2-layer 9-inch cake)
Prep Time: 15 minutes mins
Cook Time: 25 minutes mins
This gluten-free, dairy-free chocolate cake is also egg-free, yet it's rich, moist, and so chocolatey you'd never guess what's missing. An easy, reliable cake I've made for birthdays and celebrations for many years.
4.95 from 200 votes
Print Pin

Watch how it’s made:

Ingredients

  • 3 cups gluten-free baking flour, tested with Bob's or King Arthur; see note for other options
  • 1 ¾ cups granulated sugar
  • 6 tablespoons unsweetened cocoa powder
  • 2 teaspoons baking soda
  • 1 teaspoon salt
  • 2 cups chocolate non-dairy milk
  • ½ cup vegetable oil
  • 2 tablespoons apple cider vinegar, or white vinegar
  • 1 teaspoon vanilla
  • 1 batch dairy-free chocolate frosting

Instructions

Prep:

  • Preheat the oven to 350F with the top rack positioned in the middle of the oven. Grease two (2) 9-inch cake pans with oil (or cooking spray) and set aside. You can also use parchment liners for the bottom, but I still recommend lightly greasing the sides.

Mix:

  • In a large bowl, add the gluten-free flour, sugar, cocoa powder, baking soda, and salt. Whisk the dry ingredients well to ensure they're evenly mixed.
  • In a separate bowl, whisk the dairy-free chocolate milk, oil, vinegar, and vanilla. Then pour the wet ingredients into the dry ingredients bowl and stir gently until the batter is smooth and all the flour is incorporated.
  • Divide the batter evenly between the prepared cake pans.

Bake:

  • Bake in a preheated oven for 25 to 30 minutes, until the centers are set and a toothpick inserted in the middle comes out clean. I check around minute 25, and if one pan is set but the other isn't, remove it and let the other finish baking for a couple of extra minutes.
  • Remove the cake pans from the oven and let the cakes cool in the pans for 10 minutes, then transfer them to a wire rack to cool completely before frosting.

Frost:

  • While the cakes are cooling, make the frosting. If you've made it ahead of time, take it out of the fridge and let it come to room temperature so it's easier to spread.
  • Place one cake layer on a plate or cake stand and spread about a cup of frosting over the top. Add the second cake layer, then spread the remaining chocolate frosting over the top and sides.

Serve and store:

  • Store the frosted cake, covered, at room temperature for up to 2 days or refrigerate for up to 5 days. Take it out of the fridge and let the cake come to room temperature before serving for the best texture.

Notes

  • For a 3-tiered cake: You’ll need to fill three (3)  6-inch cake pans with batter.
  • Cupcakes: Turn this into cupcakes by baking for 18 to 22 minutes, checking that a toothpick comes out clean around minute 16. 
  • 13 x 9-inch pan: You can use a rectangular pan for this cake recipe, but keep a close eye on the baking time, as it will vary by a few minutes from the original recipe.
  • Using other gluten-free flour mixes: I recommend the two listed here because they include xanthan gum, an essential ingredient that binds and thickens the batter. If you’re using something else and it doesn’t include it in the ingredients, add 2 teaspoons of xanthan gum to the dry ingredients. This recipe only works with baking mixes, not with other alternatives (like almond or coconut flours).
Nutritional information does not include frosting.
 

The recommendations below may include affiliate links.

Equipment

bag of bob's red mill 1 to 1 gluten free flour mix
Bob's Gluten Free Flour
Clean Treats
Clean Treats Cookbook
King Arthur Gluten Free Flour
Cocoa Powder

Nutrition

Serving: 1slice | Calories: 245kcal | Carbohydrates: 42g | Protein: 4g | Fat: 8g | Saturated Fat: 1g | Polyunsaturated Fat: 4g | Monounsaturated Fat: 2g | Trans Fat: 0.05g | Cholesterol: 2mg | Sodium: 303mg | Potassium: 84mg | Fiber: 3g | Sugar: 26g | Vitamin A: 61IU | Vitamin C: 0.1mg | Calcium: 58mg | Iron: 1mg

More Desserts

  • two smores stacked and held in front of an air fryer
    2-Minute Air Fryer S’mores
  • a stack of whole wheat chocolate chip cookies
    Whole Wheat Chocolate Chip Cookies
  • overhead view of chocolate avocado mousse in serving cups topped with whipped cream and cocoa shavings
    Chocolate Avocado Mousse
  • overhead view of gluten free king cake
    Homemade Gluten-Free King Cake (Beginner-Friendly Recipe!)

Comments

    4.95 from 200 votes (61 ratings without comment)

    Leave a Reply Cancel reply

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

    Recipe Rating




  1. Claudia says

    February 18, 2023 at 12:52 pm

    5 stars
    I made this cake for my daughter who is on a GF-DF diet. I thought the comment about the whole family enjoying this cake would be baloney, but at least she would be happy. TOTAL SURPRISE. It was absolutely delicious! It could be served at any gathering and people would be happy. No one would know it was GF and DF. Thank you so much for this recipe. I will be looking at your others now. BTW, I used Divided Sunset Gluten Free all-purpose flour, which I found at Walmart, as well as Chocolate almond milk.

    Reply
  2. Tyra says

    January 15, 2023 at 5:35 am

    5 stars
    Hi Laura,
    We want to make the cake but we don’t use sugar;could we use honey instead?
    And also, could we use normal milk and more cacoa instead of chocolate milk?
    Thanks.

    Reply
    • Laura says

      January 17, 2023 at 3:29 pm

      Hey Tyra, since I have not tested this recipe with honey or regular milk, I can’t tell you if it will turn out right. If you do decide to move forward and make these changes, let me know how everything turns out.

      Reply
  3. Kathie says

    October 29, 2022 at 3:47 pm

    5 stars
    I am now making this cake/frosting for the 2nd time. The first time it was amazing! Can’t wait for it today. We needed gluten free and dairy free – this was so easy – and no one would’ve known it was gluten free. Thank you for both recipes!!

    Reply
    • Elizabeth says

      January 15, 2023 at 10:47 am

      5 stars
      Help! This is my first time making this cake and the batter is sooooo thick! It won’t pour at all- I watched the video and see how runny it is supposed to do but I am having to scoop this batter into the pans and it is too thick to even spread. I don’t know what could be wrong???

      Reply
      • Emma says

        January 17, 2023 at 10:58 pm

        5 stars
        Same for me I have never seen anything like it! The texture is like one of my kids slime kits. It’s in the oven now and I just have my fingers crossed it’s going to work but it’s looking all lumpy on top.

        Reply
  4. Donna grubb says

    June 25, 2022 at 7:17 pm

    5 stars
    May chocolate milk sub used in cake be used in icing

    Reply
    • Laura says

      June 30, 2022 at 5:26 pm

      This dairy-free icing recipe calls for 1/2 cup coconut milk. You can use any dairy-free, milk substitute as well.

      Reply
      • Amanda says

        September 12, 2023 at 10:40 am

        5 stars
        Hello I was wondering if I could use gluten free 1 to 1 baking flour instead of all purpose flour.

        Reply
        • Laura Fuentes says

          October 30, 2023 at 1:26 pm

          Yes! a 1 to 1 baking flour will work great here.

          Reply
  5. marg says

    May 26, 2022 at 5:09 pm

    5 stars
    can i also leave out the coco to make white cake.

    Reply
    • Laura says

      May 30, 2022 at 4:55 pm

      Hi Marg, I wouldn’t make this cake without cocoa powder. This would affect the ratio of other ingredients required for the cake to turn out successfully.

      Reply
      • Clare says

        January 30, 2023 at 5:29 am

        5 stars
        Can you scale this recipe up or down easily?

        Reply
        • Laura says

          February 08, 2023 at 11:31 am

          Since it’s baking and an allergy-friendly recipe, the cake turns out best when you use the exact ingredient amounts listed.

          Reply
          • Irene says

            September 17, 2023 at 3:17 pm

            3 stars
            Cake tastes really weird, think it’s the apple cider vinegar? I followed the recipe, so where have I gone wrong? Icing is delicious though!

          • Laura Fuentes says

            October 30, 2023 at 1:26 pm

            The apple cider vinegar amount is small enough that it won’t be tasted in the recipe and it’s necessary to activate the baking soda and help the cake rise. Were any other swaps/substitutions made?

« Older Comments
Newer Comments »
Laura fuentes holding a skillet of food standing in front of a blue door

Hi! I'm Laura.
Known for the internet’s favorite pancake recipes and real-life dinners that make weeknights easier. These are the meals my family loves, and yours will too!

More about me →

Always See My Recipes In Google

Fresh Favorites

  • stack of homemade fluffy pancakes from scratch stacked on a plate, topped with a pat of butter, and pancake syrup over the top
    Best Fluffy Pancakes Recipe
  • close up looking in the skillet of finished chicken with peppers and onions recipe
    Chicken with Peppers and Onions
  • Creamy balsamic vinaigrette drizzling from a spoon into a glass jar with a fresh salad in the background.
    The Best Balsamic Vinaigrette Dressing
  • baked cajun salmon
    Baked Cajun Salmon

Trending Now

  • copycat canes nuggets and fries with texas toast and two sauces
    Copycat Cane’s Chicken Recipe with Homemade Cane’s Sauce
  • collage image with eight dinner ideas
    40 Easy Dinner Ideas for Tonight
  • overhead of a creamy garlic sauce for chicken in a pan with cooked chicken inside
    Creamy Garlic Sauce
  • fluffy stack of pumpkin chocolate chip pancakes on a plate topped with butter and syrup
    Pumpkin Chocolate Chip Pancakes

Footer

Browse

  • Start Here
  • Eat Healthy in 30 Days
  • Recipe Index

Useful Links

  • Contact
  • Permissions
  • Terms & Conditions
  • Privacy Policy
Facebook Pinterest Instagram YouTube

COPYRIGHT © 2026 FUENTES MEDIA

Rate This Recipe

Your vote:




A rating is required
A name is required
An email is required

Recipe Ratings without Comment

Something went wrong. Please try again.