• Gluten-Free Recipes
  • Cookbook
menu icon
go to homepage
  • About
  • Recipe Index
  • Winter Favorites
  • Cookbook
  • Subscribe
    • Facebook
    • Instagram
    • Pinterest
  • subscribe
    search icon
    Homepage link
    • About
    • Recipe Index
    • Winter Favorites
    • Cookbook
    • Subscribe
    • Facebook
    • Instagram
    • Pinterest
  • ×
    Home » Recipes » Gluten Free Cakes & Cupcakes

    The Best Chocolate Cake (Gluten Free)

    Modified: Sep 23, 2025 · Published: May 18, 2020 by Nicole Spiridakis

    Jump to Recipe Print Recipe

    This is the best chocolate cake: Moist, tender, and with a perfect gluten-free crumb! Top it with chocolate buttercream (or your favorite frosting) for a real treat. Great for birthdays or as an everyday chocolate cake.

    A chocolate frosted best chocolate cake.

    Chocolate cake, chocolate cake, how do I love thee? You are the very fairest of cakes, the truest and bluest and luscious-est of cakes, a cake I covet, a cake I will always choose if there is a choice of cake. You're never a dark horse; no, you're a cake that walks by itself through the dark alleys of cakes advertising whimsy and panache and something different, maybe with bananas and raspberries and a boozy creme filling -- no! I will always, always come back to thee, o best beloved chocolate cake.

    Rich and satisfying, this is a totally solid chocolate cake. It's also versatile: You can bake it in two cake rounds, a large bundt pan, or a tube pan (make sure to use a baking sheet to catch any drips). You can fill or frost it with anything you like -- I am partial to a very chocolatey buttercream, but ganache or even just plain whipped cream would be delightful, too.

    This recipe leans heavily on Sarah Keiffer's "Black Magic Chocolate Cake" or simply, the chocolate cake, which is a deeply dark and chocolatey cake. Here, I adjusted some of the ingredients to turn it gluten-free, though you can use all-purpose flour instead if you prefer. This is my family's favorite chocolate cake, and it shows up on most birthdays (when I'm not making an oat flour chocolate cake or a gluten free coconut pineapple cake).

    Jump to:
    • Why Is This Chocolate Cake the Best?
    • Ingredients Needed
    • Variations
    • Step-By-Step Instructions
    • What Type Of Frosting?
    • Recipe Notes
    • Don't Forget the Crumb Coat
    • Serving Options
    • Proper Storage
    • More Chocolate Cake Recipes
    • Recipe

    Why Is This Chocolate Cake the Best?

    Chocolate cake, what's not to love? This one needs just a few minutes to whisk together and is always delicious. It's so important to have a reliable gluten-free chocolate cake recipe in your recipe arsenal, and I hope this one becomes one of your most-used recipes. Dress it up or down, make it into cupcakes - whatever you do, it's a winner.

    • So simple. I love a cake that doesn't require a mixer. You'll just need a whisk to put the batter for this cake together, and it really does take just a few minutes.
    • Packed with chocolate. I love a rich, dark chocolate cake. There's a whole ¾ cup of cocoa powder here, and it infuses the cake with loads of chocolate flavor.
    • Versatile. I love that the cake is so perfect that it goes with any type of frosting, or no frosting at all if that's your thing. You can easily turn it dairy-free, throw in some chocolate chips - it's so easy to adapt.
    Chocolate cake ingredients are text-labeled and portioned out.

    Ingredients Needed

    Here's the easy ingredients list you'll need to gather up to make this cake. The full ingredient amounts and instructions are in the recipe card at the end of this post.

    • Gluten free flour - Your favorite blend (or mine) works great here, or use 2 cups of all-purpose flour or a mix of 1 cup whole wheat pastry flour and 1 cup all-purpose flour.
    • Cocoa powder - I always use unsweetened cocoa powder in baking so that the results are not overly sweet.
    • Granulated sugar -
    • Brown sugar - Light or dark brown sugar is fine here, or use coconut sugar.
    • Rising agents - A mix of baking soda and baking powder. Make sure they're fresh!
    • Salt - I use fine sea salt, and table salt is fine.
    • Eggs - Large or medium eggs are best.
    • Oil - Canola, vegetable, coconut, or avocado oil are all great choices.
    • Sour cream - If you're out of sour cream, regular or Greek yogurt is a fine substitute. I like full-fat sour cream. Swap non-dairy yogurt or sour cream if needed.
    • Milk - Your choice of whole, 2%, or non-dairy milk.
    • Vanilla - Use pure vanilla extract or vanilla bean paste.
    • Coffee - Make a little extra coffee on the day you plan to bake this cake, and save 1 cup to add to the batter!

    Variations

    Use this cake recipe as your base and try different frostings or even switch out the flours. Here are a few variation ideas:

    • Make it gluten-free or not - I use my homemade gluten free flour blend when developing this recipe, and you can use any 1:1 gluten-free flour blend you prefer. Or use 2 cups of all-purpose flour if you don't need to keep gluten-free.
    • Add almond flour - For an even moister cake, substitute ½ cup of flour for almond flour.
    • Olive oil - I wrote this recipe to incorporate a neutral oil such as canola or avocado oil, but I love to make it with olive oil for a richer, more floral note!
    • Buttermilk - Sarah's original recipe uses buttermilk. You can trade the yogurt and milk for 1 cup of buttermilk.
    Little deer decorate the top of the best chocolate cake ever.

    Step-By-Step Instructions

    Follow along with the photos below to get an idea of how to make this recipe:

    Flour, sugar, and cocoa powder whisked in a bowl.

    1. Make dry mix: Whisk together all of the dry ingredients in a big bowl.

    Eggs and oil whisked in a bowl.

    2. Whisk wet ingredients: In a medium bowl, whisk together all of the wet ingredients minus the coffee.

    Best chocolate cake batter in a big bowl.

    3. Combine: Mix the wet ingredients into the dry mix, then stir in the flour.

    Chocolate cake batter in 2 cake pans.

    4. Rest batter: Place batter in 2 lined baking rounds and rest for 15 minutes.

    The best chocolate cake cools in two cake pans.

    5. Bake: Place in a 350°F oven and bake for 40-50 minutes, then cool completely.

    Sprinkles top a frosted chocolate cake.

    6. Frost: When the cake is fully cooled, frost with frosting of choice!

    What Type Of Frosting?

    The sky is the limit here! I always love making a chocolate buttercream to fill and frost my chocolate cakes, because I believe you can never have too much chocolate!

    But, as you can see from some of the photos, I also often make a vanilla buttercream (with or without food coloring - my girls often request a colored cake). A maple or peanut butter frosting would also be amazing. And if you want to keep it simple, fill and frost the cake with whipped cream.

    The best chocolate cake ever on a white plate.

    Recipe Notes

    • Rest the batter. Let the batter rest while the oven heats. All gluten-free flours need time to hydrate before baking, so make sure to let the batter rest for 10-15 minutes before baking it.
    • Refrigerate before frosting. This cake is quite tender, and I like to bake it well in advance of when I plan to frost it. If you can, let the cake rest overnight, well wrapped, in the fridge. This will make it so much easier to frost when you're ready. If you don't have time, no worries, but an hour or two in the fridge will really help. Just make sure the cake is fully cooled before frosting it, even if it's at room temperature!
    • Make it refined sugar-free - Use coconut sugar or maple sugar in place of the granulated sugar and brown sugar.
    • Make it dairy-free - Swap non-dairy milk and non-dairy yogurt for the milk and sour cream.
    • Make it egg-free - I haven't tried making this cake without eggs, but you could try using 3 flax eggs in place of the eggs.
    • Use room-temperature ingredients. Bring the ingredients to room temperature before using. This will help them better incorporate into the batter, resulting in a smoother, more velvety crumb to the cake.
    • Swap the coffee. If you don't drink coffee, try 1 cup of tea, or just use water.
    A frosting crumb coat layer is spread on a chocolate cake.

    Don't Forget the Crumb Coat

    My biggest piece of advice when frosting this cake - and with any cake, really - is to apply a crumb coat when you assemble the layers. This is a softer cake, and crumbs will inevitably flake off when you add the frosting to the assembled cake.

    What is a crumb coat? A crumb coat is the process of adding a thin layer of frosting to the exterior of an assembled cake. Then you place the cake in the fridge for about 10-15 minutes until it firms up a bit. This thin frosting layer seals in any crumbs that may come off the cake when frosting it. Once the crumb coat is set, go ahead and finish frosting the cake with a thicker layer of frosting. See the photo above for an example of how the crumb coat will look.

    Sprinkles top a frosted chocolate cake.

    Serving Options

    This cake is perfect when served on its own, but I will always suggest a scoop of ice cream, or even a soft dollop of unsweetened whipped cream. You can bake it as cupcakes or as a tube cake, too. Other options include:

    • Toppings: Sprinkle the top of the frosted cake with mini chocolate chips, raspberries, crushed candy canes, toasted walnuts, sprinkles, and more.
    • Make a single layer and freeze the other. You can freeze one layer for another time (see how below), then make the frosting when you're ready to serve, or simply dust it with powdered sugar.
    • Plain! Serve slices plain with ice cream or whipped cream, or drizzle over a little salted caramel sauce.
    • With jam: Make a lighter cake by spreading jam and whipped cream between the layers, then finish the top with more whipped cream.

    Proper Storage

    • Fridge - Store cake, tightly covered, in the fridge for 5 days. Serve cold or at room temperature.
    • Freezer - Wrap the cake in foil and store it in the freezer for up to 2 months. Thaw the cake thoroughly in the fridge before serving.
    • Individual layers - Wrap each cooled layer in plastic, then foil, then freeze them for up to 3 month. Defrost the cake in the fridge before filling and frosting it.

    More Chocolate Cake Recipes

    • Squares of gluten zucchini chocolate cake.
      Gluten Free Zucchini Chocolate Cake
    • A white plate holds a slice of oat flour chocolate cake with a fork alongside.
      Oat Flour Chocolate Cake
    • Chocolate Cake with Peanut Butter Frosting
    • Three slices of chocolate teff cake on a plate.
      Chocolate Teff Cake

    Happy baking! If you make this recipe, I'd love to know. Please leave a comment below, reach out with any questions, and tag me on Instagram @Cucina Nicolina  ❤️

    Recipe

    The best chocolate cake ever on a white plate.
    Prevent your screen from going dark

    The Best Chocolate Cake (Gluten Free)

    Nicole Spiridakis
    This is the best chocolate cake: Moist, tender, and with a perfect gluten-free crumb!
    5 from 1 vote
    Print Recipe Pin Recipe
    Prep Time 10 minutes mins
    Cook Time 45 minutes mins
    Total Time 55 minutes mins
    Course Dessert
    Cuisine American
    Servings 12
    Calories 345 kcal

    Ingredients
     
     

    • 2 ⅓ cups gluten free flour or 2 cups all-purpose flour (280 grams)
    • ¾ cup unsweetened cocoa powder
    • 1 cup granulated sugar
    • 1 cup brown sugar light or dark brown sugar
    • 2 teaspoons baking soda
    • 1 teaspoon baking powder
    • 1 teaspoon fine sea salt
    • 3 large eggs
    • ½ cup oil
    • ½ cup sour cream
    • ½ cup whole milk
    • 1 teaspoon pure vanilla extract
    • 1 cup hot, fresh-brewed coffee

    Instructions
     

    Make Cake

    • Preheat the oven to 350°F. Grease and line two 8 or 9-inch cake rounds.
    • In a large bowl, whisk together the 2 ⅓ cups gluten free flour, ¾ cup unsweetened cocoa powder, 1 cup granulated sugar, 1 cup brown sugar, 2 teaspoons baking soda, 1 teaspoon baking powder, and 1 teaspoon fine sea salt. In a medium bowl, combine the 3 large eggs, ½ cup oil, ½ cup sour cream, ½ cup whole milk, and 1 teaspoon pure vanilla extract. Slowly add the wet ingredients to the dry using a wooden spoon or rubber spatula - the batter will be thick. Stir in the 1 cup hot, fresh-brewed coffee and stir just to combine, scraping the bottom of the bowl with a rubber spatula.
    • Pour the batter into the prepared pans and rest it for 10-15 minutes if using gluten-free flour. Then place in the oven, and bake for 40-50 minutes, until the tops are set and a cake tester comes out clean. Remove from oven and cool in the pan set on a wire rack for 30 minutes, then carefully turn the cake out onto a cooling rack and cool completely before frosting.

    Notes

    CN's Tips
     
    • Rest the batter. Let the batter rest while the oven heats. All gluten-free flours need time to hydrate before baking, so make sure to let that batter rest for 10-15 minutes before baking it.
    • Refrigerate before frosting. This cake is quite tender, and I like to bake it well in advance of when I plan to frost it. If you can, let the cake rest overnight, well wrapped, in the fridge. This will make it so much easier to frost when you're ready. If you don't have time, no worries, but an hour or two in the fridge will really help. Just make sure the cake is fully cooled before frosting it, even if it's at room temperature!
    • Make it refined sugar-free - Use coconut sugar or maple sugar in place of the granulated sugar and brown sugar.
    • Make it dairy-free - Swap non-dairy milk and non-dairy yogurt for Greek yogurt and whole milk.
    • Make it egg-free - I haven't tried making this cake without eggs, but you could try using 3 flax eggs in place of the eggs.
    • Use room-temperature ingredients. Bring the ingredients to room temperature before using. This will help them better incorporate into the batter, resulting in a smoother, more velvety crumb to the cake.
    • Swap the coffee. If you don't drink coffee, try 1 cup of tea, or just use water.

    Nutrition

    Serving: 1 sliceCalories: 345kcalCarbohydrates: 56gProtein: 5gFat: 14gSaturated Fat: 3gPolyunsaturated Fat: 6gMonounsaturated Fat: 3gTrans Fat: 0.1gCholesterol: 55mgSodium: 427mgPotassium: 139mgFiber: 4gSugar: 36gVitamin A: 141IUVitamin C: 0.1mgCalcium: 86mgIron: 2mg
    Disclaimer: Nutrition information is automatically calculated and is an estimate (I'm not a nutritionist and can't guarantee accuracy!). Even when not specified, be sure to check that all the ingredients you use are gluten free if you need them to be by reading labels on all packaging and/or confirming with the manufacturer.
    Did you make this recipe?Let me know in the comments how it went!

    More Gluten Free Cakes & Cupcakes

    • A cup of coffee and a gluten free pumpkin loaf cake.
      Gluten Free Pumpkin Loaf Cake
    • A bowl of maple glaze on a white napkin with a spoon.
      Three-Ingredient Maple Glaze
    • Slice of oat flour pumpkin cake and a cup of tea.
      Oat Flour Pumpkin Cake with Maple Glaze
    • Sugar and cinnamon added to a bundt cake.
      Gluten Free Pumpkin Donut Cake
    5 from 1 vote (1 rating without comment)

    I'd love to hear from you! Please leave me a note. Cancel reply

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

    Recipe Rating




    Photo of Nicole Spiridakis.

    Welcome!

    Cucina Nicolina is your home for carefully tested gluten-free baking recipes made with simple, wholesome ingredients. I'm a writer, recipe developer, and cookbook author who loves to share all things yummy and gluten-free. Learn more about me.


    The cover of the cookbook Flourless: Recipes for Naturally Gluten-Free Desserts by Nicole Spiridakis shows an opera cake.

    My cookbook, Flourless, was published by Chronicle Books and is full of naturally gluten-free desserts to tempt everyone! Learn more.

    My Popular Recipes

    • An oat flour blueberry muffin is cut in half on a blue and white plate.
      One Bowl Gluten Free Oat Flour Blueberry Muffins
    • A decorative plate with oat flour pancakes next to a cup of coffee.
      Oat Flour Pancakes
    • Slices of oat flour cake on plates with the cake in the background.
      Oat Flour Cake
    • Banana ice cream is served in a bowl.
      One-Ingredient Banana Ice Cream

    Winter Favs

    • A candle burns next to slices of gluten free cranberry lemon loaf.
      Gluten Free Cranberry Lemon Bread
    • A bowl of coconut granola with yogurt and raspberries.
      Not-Too-Sweet Coconut Granola with Maple Syrup
    • Gluten free gingerbread muffins on plates next to a bowl of muffins.
      Gluten Free Gingerbread Muffins
    • Plates of oat flour shortbread along with cups of tea.
      Oat Flour Shortbread

    Footer

    ↑ back to top

    Info

    Terms and Conditions

    Privacy Policy

    Accessibility

    Newsletter

    Sign up for my newsletter

    About

    About Me

    Writing Work

    Contact

    © Copyright 2026 Cucina Nicolina

    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.