• Cake
  • Frosting
  • YouTube
  • My Favorite Tools
  • Nav Social Icons

  • Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
  • Recipes
    • Cake
    • Cupcakes
    • Frosting
    • Ice Cream
    • Vegan
  • Cake Basics
  • Tutorials
  • Blog
  • About
  • Mobile Menu Widgets

    Connect

    Search

Sugar & Sparrow logo in script font

Sugar & Sparrow

Lifestyle and Cake from Portland Oregon

  • Cake Basics
  • Recipes
    • Cake
    • Cupcakes
    • Cookies & Bars
    • Filling
    • Frosting
    • Ice Cream
    • No-Bake
    • Small Batch
    • Vegan
  • Tutorials
  • Book
  • Blog
  • About

Perfect Gluten-Free Chocolate Cake (Easy & FUDGY)

February 18, 2026 · In: Cake, Featured, Gluten-Free, Recipes

Jump to Recipe

This gluten-free chocolate cake is super rich and fudgy, so easy to make, and truly doesn’t taste like it’s gluten-free! It’s extra moist with the addition of brown sugar and easy homemade buttermilk, and has the perfect chocolate flavor which is amplified by lots of vanilla and hot coffee (or hot water, if you prefer) to bloom the cocoa. Paired with decadent chocolate buttercream, it’s the ultimate cake for any chocolate lover, gluten-free or not. 

gf chocolate cake recipe
fudgy gluten free chocolate cake recipe

Tips for Making the BEST Gluten-Free Chocolate Cake 

Over the years, I’ve received many comments from readers making my cake recipes gluten-free (with success!), simply by swapping the flour in the recipe for gluten-free baking flour. Curiosity finally got the best of me and I had to try the swap for myself, starting with my favorite one-bowl chocolate cake as a base. It turns out that there’s more to gluten-free baking than simply swapping out the flour – I learned a TON during my recipe testing and the result is so worth it: a super moist (but not gummy) texture, perfect rise, and excellent chocolate flavor. Here are a few takeaways from my recipe testing that will be KEY to making the best GF chocolate cake: 

  • Use 1:1 Gluten-Free Baking Flour. A gluten-free baking flour like this one will already contain xanthan gum which is necessary for providing structure in a gluten-free cake. I was originally testing this recipe with gluten free all-purpose flour and didn’t realize that the mixturedidn’t contain xanthan gum, which caused my experiments to sink after taking them out of the oven. 
  • Use Room Temperature Ingredients. With the exception of the hot coffee, make sure your milk and eggs are at room temperature. This will help the batter come together more easily and prevent overmixing. 
  • Whisk the Batter By Hand. When I first started testing this recipe, I was using my stand mixer on low speed and my cakes kept sinking after coming out of the oven. It turns out that using an electric mixer, even at low speed, incorporates too much air! Instead, whisk together this recipe by hand.  
  • Use Cake Strips (Optional). Just like my beloved one-bowl chocolate cake recipe, these cakes will dome in the oven unless you use cake strips. I usually just level my cakes when they have domes.
gluten free chocolate cake batter in a bowl
gluten free chocolate cake layers

Gluten-Free Chocolate Cake Ingredients

Now that you know the best practices for making the absolute best version of this gluten-free chocolate cake, here are the ingredients I used and info about any substitutions I can recommend, if needed: 

gluten free chocolate cake ingredients
  • Whole Milk + Vinegar (DIY Buttermilk). The recipe begins with mixing together whole milk and white vinegar, which creates a homemade buttermilk mixture that contributes to the moist texture of this cake. You can swap the whole milk for dairy-free milk if you want (soy is a great choice), and use either white vinegar or apple cider vinegar. 
  • 1:1 Gluten-Free Baking Flour. It’s important to choose a gluten-free baking flour that contains xanthan gum, which acts as an essential binder in gluten-free recipes. I used Bob’s Red Mill 1:1 Gluten-Free Baking Flour but any brand of one to one (or cup for cup) gluten-free flour will work, as long as it contains xanthan gum. 
  • Granulated Sugar + Brown Sugar. Both sweeten this cake and contribute to the soft texture, but the brown sugar adds extra moisture because of the molasses it contains. If you’d rather not use brown sugar, you can replace it with an equal amount of granulated sugar.
  • Unsweetened Cocoa Powder. The cocoa powder is responsible for the rich chocolate flavor of this cake, and you can use either Dutch-processed or natural unsweetened cocoa powder in this recipe.
  • Baking powder + baking soda. Both are used as the leavening agents to help this cake rise. 
  • Salt + Vanilla Extract. These enhance the chocolate flavor in this cake, especially the vanilla. I use a whole tablespoon of vanilla and the results are perfect!
  • Vegetable Oil. This is an oil-based cake, which makes it extra moist and lends the perfect amount of fat. I use plain vegetable oil, but you can also use melted coconut oil, avocado oil, canola oil, or any neutral oil you prefer. 
  • Large Eggs. In gluten-free baking, eggs provide a necessary amount of structure and act as binders for the batter. 
  • Hot Coffee. The heat of the coffee at the end of the recipe blooms the cocoa powder, which enriches the chocolate flavor, and causes the ingredients to blend together more smoothly into a thin, uniform batter. The coffee is wonderful for enhancing the chocolate flavor, and you can’t taste it in the final baked cake, but if you’d rather not use coffee you can use an equal amount of hot water. 
gluten free chocolate cake recipe three layer cake

How to Make Gluten-Free Chocolate Cake

Step 1: Make homemade buttermilk. Whisk together the vinegar and whole milk and set it aside while you measure the dry ingredients. It will curdle by the time you add it in Step 3, and that’s what we want.

homemade buttermilk with whole milk and vinegar

Step 2: Combine the dry ingredients. In a large bowl, whisk together the gluten-free baking flour, sugars, cocoa powder, baking powder, baking soda, and salt.

gluten free chocolate cake dry ingredients
whisk together the dry ingredients

Step 3: Whisk together the wet ingredients. In a separate medium bowl, whisk together the oil, eggs, vanilla, and homemade buttermilk you made in Step 1. 

wet ingredients for gluten free chocolate cake
whisk together the wet ingredients

Step 4: Combine the wet and dry ingredients. Add the wet ingredients to the dry ingredients and whisk together to combine. 

Pouring wet ingredients into dry ingredients
whisk together wet and dry ingredients

Step 5: Add the hot coffee. Finally, whisk in the hot coffee. The batter will be very thin.

Pouring hot coffee into chocolate cake batter
gluten free chocolate cake batter

Step 6: Bake the cakes. Pour the batter evenly into cake pans that have been greased and lined with parchment paper, either three 6-inch pans (as pictured throughout this post) or two 8-inch pans. 

gluten free chocolate layer cake recipe

Gluten-Free Chocolate Cake Recipe Video

I whipped up a recipe video for this gluten-free chocolate cake so you can see the whole process:

If you love recipe videos like this one, be sure to check out my YouTube channel! I’ve got a growing collection of cake recipes, decorating tutorials, and Cake Basics over there. Hit the subscribe button on my page so you never miss a new video.

Chocolate Frosting for a Gluten-Free Cake

My favorite chocolate buttercream is already gluten-free (as are nearly all of my frosting recipes), so that’s what I gravitated towards for filling and frosting this cake. It’s SO GOOD – silky smooth, perfectly chocolatey, and just the best pairing for this cake if you want it to be all chocolate. It’s a simple recipe you can make with either Dutch-processed cocoa powder or natural unsweetened cocoa powder, and it comes together in about fifteen minutes. 

gluten free chocolate birthday cake recipe

After leveling the cake layers, I used the chocolate buttercream to fill and stack them, crumb coat the cake, and frost it with rustic texture. The goal here was to make it look effortless and tempting, and it definitely checks those boxes for me! The frosting technique works with a small angled spatula or a butter knife, and I have a tutorial you can follow if you need some guidance with the frosting. Finally, I added some swirls on top using Wilton Tip 1M and added some gluten-free sprinkles on top, because sprinkles are always a good idea. 

how to decorate a gluten free chocolate cake
gluten free chocolate cake with fudgy texture

I hope you love this gluten free chocolate cake as much as I do! Let me know what cake flavor you paired it with in the comments below and feel free to tag @sugarandsparrowco on Instagram to show me if you post a photo. I love to see what you create with my recipes!

homemade gluten free chocolate cake

Gluten-Free Chocolate Cake

Rich and fudgy gluten-free chocolate cake that is so easy to make, perfectly chocolatey, and so delicious you can't even tell it doesn't have gluten! Paired with decadent chocolate buttercream, it's a chocolate lover's dream cake (whether they're gluten-free or not)!
Print Recipe Pin Recipe
Prep Time:30 minutes mins
Cook Time:30 minutes mins
Cooling Time:3 hours hrs
Total Time:4 hours hrs
Course: Dessert
Cuisine: American
Servings: 15 slices

Ingredients

Gluten-Free Chocolate Cake

  • 1 Cup (240ml) whole milk, room temperature
  • 1 Tbsp white vinegar or apple cider vinegar
  • 2 Cups (280g) 1:1 gluten-free baking flour
  • 1 Cup (200g) granulated sugar
  • 3/4 Cup (150g) packed brown sugar light or dark
  • 2/3 Cup (60g) unsweetened cocoa powder natural or Dutch-processed
  • 1 1/2 tsp baking powder
  • 1 tsp baking soda
  • 1/2 tsp kosher salt
  • 1/2 Cup (120ml) vegetable oil
  • 3 large eggs, room temperature
  • 1 Tbsp pure vanilla extract
  • 1 Cup (240ml) hot coffee or hot water

Chocolate Buttercream

  • 2 Cups (452g) unsalted butter, room temperature
  • 6 Cups (720g) powdered sugar
  • 1 Cup (90g) unsweetened cocoa powder natural or Dutch-processed
  • 6 Tbsp whole milk, room temperature
  • 4 tsp pure vanilla extract
  • 1/4 tsp salt, or to taste

Instructions

Make the Gluten Free Chocolate Cake

  • Preheat the oven to 350ºF and prepare three 6-inch or two 8-inch cake pans by spraying the sides with baking spray and fitting the bottoms with a parchment cake circle. If you have them, wrap the pans in dampened cake strips (it's optional though).
  • Add the vinegar into the whole milk, stir, and set aside. This will begin to curdle as you measure out the rest of the ingredients, which is a good thing! It means the right chemical reaction is happening.
  • In a large bowl, add all of the dry ingredients: gluten-free baking flour, granulated sugar, brown sugar, cocoa powder, baking powder, baking soda, and salt. Whisk together and set aside.
  • In a separate medium bowl, add the vegetable oil, eggs, vanilla, and the vinegar-milk mixture. Whisk together until fully combined, then add these wet ingredients into the bowl with the dry ingredients and whisk until combined and uniform. Then, whisk in the hot coffee until combined. The batter will be very thin.
  • Pour the batter into the prepared cake pans and bake for 32-36 minutes, until a toothpick inserted comes out clean. Let the cakes cool in the pan for about 10 minutes before removing and transferring to a wire rack to cool completely to room temperature.

Make the Chocolate Buttercream

  • In a stand mixer fitted with a paddle attachment (or with a hand mixer and large bowl), beat the butter on medium-high speed until creamy and light in color, 4-5 minutes.
  • Scrape down the bowl and paddle, then add half of the powdered sugar, half of the cocoa powder, all of the milk, vanilla, and salt. Cover the mixer with a clean kitchen towel (to prevent ingredients flying out of the bowl), then turn the mixer to low speed and mix until the ingredients start to come together. Add the rest of the powdered sugar and cocoa powder, then continue mixing on low speed until fully combined and uniform.

Assembly

  • Once the cake layers are completely cooled, level them to get rid of any domed tops and create even layers. Add a swipe of chocolate buttercream onto a cardboard cake circle and place the first cake layer on top. Add a layer of chocolate buttercream and smooth it down to about 1/2 inch of filling, then place the next layer on top. Continue the process of filling and stacking the cake layers with the chocolate buttercream before placing the final cake layer on top, upside down so that the bottom of the cake becomes the top. Then, crumb coat the cake with chocolate buttercream. Refrigerate the cake for 15-20 minutes to let the crumb coat firm up.
  • To create the look pictured, use the chocolate buttercream to frost a rustic finish on the cake, then pipe swirls on top with Wilton Tip 1M. Garnish with gluten free rainbow sprinkles.

Notes

Make Ahead Tips:
  1. The gluten-free chocolate cake can be made ahead and stored at room temperature, covered tightly in plastic wrap, for up to two days. Alternatively, you can cover with plastic wrap and store in the freezer for up to two months before thawing to room temperature. 
  2. The chocolate buttercream can be made ahead and stored in an airtight container at room temperature for up to 1 day. Alternatively, you can store it in an airtight container in the refrigerator for up to two weeks. When you’re ready to use it, bring it back to room temperature and rewhip with your stand mixer to bring back to frosting consistency.
To Make as Cupcakes: fill the tins no more than 2/3 full and bake at 350ºF for 15-18 minutes, or until a toothpick inserted comes out clean. 

By: Whitney · In: Cake, Featured, Gluten-Free, Recipes · Tagged: gf, gf chocolate cake

you’ll also love

cactus cake by sugar and sparrowA Cactus Cake With Major Desert Vibes
mocha frosting recipe by sugar and sparrowMocha Buttercream Recipe
churro cake recipeThe Tastiest Churro Cake Recipe

Join the List

Stay up to date & receive the latest posts in your inbox.

Reader Interactions

Comments

  1. Jenna says

    July 22, 2026 at 12:22 pm

    Can you subsitute the milk for a dairy free milk option?

    Reply
    • Whitney says

      July 23, 2026 at 8:13 pm

      Hi Jenna! Yes, dairy-free milk should be fine. I recommend soy milk for the best flavor/texture!

      Reply
  2. Pranali says

    July 21, 2026 at 10:45 pm

    Thanks for replying so quick.can you upload it fast coz my kids birthday is on the this Saturday .

    Reply
  3. Pranali says

    July 21, 2026 at 5:49 pm

    Can you plz upload gluten free vanilla cake?I tried your chocolate cake it was too good.i received lots of compliments. So dont want to try others recipe.

    Reply
    • Whitney says

      July 21, 2026 at 8:27 pm

      Hi Pranali! I haven’t published a GF vanilla cake recipe yet BUT I have one finalized and just need to make + photograph it. I promise I’ll let you know as soon as it’s up!

      Reply
  4. Melanie Braden says

    July 15, 2026 at 12:34 pm

    I am going to try this recipe for my daughter’s birthday. If you already have buttermilk can you use that instead of making it with whole milk and vinegar?

    Reply
    • Whitney says

      July 15, 2026 at 2:59 pm

      Hi Melanie! I think using an equal amount of buttermilk will work just fine.

      Reply
  5. Jessica says

    June 25, 2026 at 12:20 pm

    Just made this for my daughter’s birthday and although I’ve only eaten the cut off tops, it’s delicious and does NOT taste GF. I also let the batter sit for 10 mins before baking. Thanks for a great recipe.

    Reply
    • Whitney says

      June 25, 2026 at 6:13 pm

      Yay, Jessica! I’m so happy you made this recipe to celebrate your daughter! I hope she loves it 🙂

      Reply
  6. Aiza Higham says

    April 21, 2026 at 9:16 pm

    Hi. I am planning to make this for a friends birthday as she has gluten sensitivity but i cant find bobs red mill 1:1, i only gave the red mill GF all purpose baking flour, will this work?

    Reply
    • Whitney says

      April 22, 2026 at 1:40 pm

      Hi Aiza! If you can’t find a 1:1 GF baking flour (any brand will do!), using a GF all-purpose flour will be fine as long as you add xanthan gum to the flour. You’ll need to add 1/2 tsp of xanthan gum per cup of flour, so for this recipe you’ll need to add 1 teaspoon of xanthan gum to the dry ingredients before whisking them together in Step 3. Hope that helps!

      Reply

Leave a Reply Cancel reply

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

Recipe Rating




Next Post >

Freeze-Dried Cherry Buttercream

Primary Sidebar

Welcome to Sugar & Sparrow

Welcome to Sugar & Sparrow

Helping you whip up pretty desserts with confidence and creativity. And hopefully sharing a few laughs with you along the way!

Learn More

Connect

let’s bake!

Get my very best recipes, baking tips, and decorating tutorials sent to your inbox

Featured Posts

mocha frosting recipe by sugar and sparrow

Mocha Buttercream Recipe

how to mix rainbow buttercream colors

The Easiest Way to Make Rainbow Buttercream Colors

lemon blueberry cupcakes with lemon cream cheese frosting on a cupcake stand

Lemon Blueberry Cupcakes with Lemon Cream Cheese Frosting

Search

Archives

Follow Along

@sugarandsparrowco

LEMON RASPBERRY CAKE 🍋♥️ this cake has the dreamie LEMON RASPBERRY CAKE 🍋♥️ this cake has the dreamiest layers: soft and zesty lemon cake with raspberries baked into every bite, thick homemade raspberry filling, and lemon raspberry buttercream with the prettiest natural color 😍 
 
✨recipe linked in my bio or at https://sugarandsparrow.com/lemon-raspberry-layer-cake/
 
#lemonraspberry #lemoncake #raspberrycake #pinkcake #layercake
SALTED CARAMEL BUTTERCREAM ✨I could eat this salty SALTED CARAMEL BUTTERCREAM ✨I could eat this salty-sweet caramel frosting by the spoonful but it’s absolutely delicious on cakes, cupcakes, macarons, and more 🙌🏽 I use my homemade EASY salted caramel recipe here but you can use any salted caramel sauce that you love.⁣

✨Full recipe (including homemade salted caramel) + cake pairing suggestions are on my blog at https://sugarandsparrow.com/salted-caramel-buttercream-recipe/ 
⁣
SALTED CARAMEL BUTTERCREAM⁣
Yield: 2.5 Cups ⁣
⁣
INGREDIENTS⁣
1 Cup (226g) unsalted butter, room temperature⁣
3 1/2 Cups (420g) powdered sugar⁣
2 tsp vanilla extract⁣
1/2 Cup (120ml) salted caramel sauce, room temperature⁣
Pinch of salt⁣
⁣
INSTRUCTIONS:⁣
1. In a stand mixer fitted with the paddle attachment, whip the butter on high until it’s creamy and light in color, 5-6 minutes. ⁣
2. Turn the mixer to low and add the powdered sugar a few cups at a time, scraping down the bowl and paddle after each interval.⁣
3. With the mixer still on low, mix in the vanilla extract, salted caramel, and a pinch of salt. Continue mixing on low speed until fully combined. ⁣
⁣
#saltedcaramel #caramel #cakedecorating #frosting #buttercream
NO-CHURN BERRY CRISP ICE CREAM✨you don’t need any NO-CHURN BERRY CRISP ICE CREAM✨you don’t need any fancy equipment to whip up this delicious ice cream that tastes JUST like berry crisp a la mode! I layered my favorite 3-ingredient no-churn vanilla ice cream base with ribbons of homemade berry filling + buttery oat streusel in every bite. Even if you’ve never made ice cream from scratch before, I promise you can master this recipe!! 
 
🍦Full recipe linked in my bio or find it at https://sugarandsparrow.com/no-churn-berry-crisp-ice-cream/

#nochurnicecream #icecream #icecreamlover #berries #summerdessert
STRAWBERRY SHEET CAKE 🍓based on my favorite strawb STRAWBERRY SHEET CAKE 🍓based on my favorite strawberry layer cake recipe, this sheet cake version is so fun to decorate + such a crowd pleaser! I love using a combination of fresh and freeze-dried strawberries to create the most powerful authentic flavor ✨
 
🍓Full recipe (with strawberry buttercream) at https://sugarandsparrow.com/strawberry-sheet-cake-recipe/
⁣ 
STRAWBERRY SHEET CAKE⁣ 
Serves 24
⁣ 
INGREDIENTS⁣ 
1 Cup (12oz) fresh strawberries, pureed ⁣ 
3/4 Cup (180ml) whole milk, room temp⁣ 
2 1/2 Cups (265g) sifted cake flour⁣ 
2 tsp baking powder⁣ 
1/4 tsp baking soda⁣ 
1/2 tsp salt⁣ 
3/4 Cup (170g) unsalted butter, room temp⁣ 
1 2/3 Cups (350g) granulated sugar⁣ 
3 large eggs, room temp⁣ 
1/3 Cup (75g) sour cream, room temp⁣ 
2 tsp pure vanilla extract⁣ 
1-2 drops pink food coloring (optional)⁣ 
⁣ 
INSTRUCTIONS⁣ 
1. Simmer the strawberry puree in a saucepan over medium-low heat for 30-35 minutes, stirring occasionally. At this point the puree should have reduced from 1 Cup to 1/2 Cup (if you have more, keep cooking!). Refrigerate until room temp, then whisk together with the whole milk and set aside.⁣ 
2. Preheat the oven to 350ºF. Grease and line a 13×9 inch baking pan. 
3. In a medium bowl, whisk together the sifted cake flour, baking powder, baking soda, and salt. Set aside. ⁣ 
4. In the bowl of a stand mixer with the paddle attachment, whip the butter on high until creamy, 2 min. Add the sugar and beat with the butter until light and fluffy, 2 min. Turn the mixer to low and add the eggs one at a time. Add the vanilla and sour cream, then turn the mixer to high and beat for 1 minute.⁣ 
5. With the mixer on low, add all of the dry ingredients at once until just combined, then add the strawberry milk mixture and pink food coloring (if using) until just combined. Give the batter a few stirs by hand to make sure everything is incorporated without over-mixing. ⁣ 
6. Pour batter into the prepared cake pan and bake for 35-40 minutes. ⁣ Cool completely to room temperature before topping with strawberry buttercream (full recipe at the li
COOKIES & CREAM ICE CREAM CAKE 🤎 If you’re an Oreo COOKIES & CREAM ICE CREAM CAKE 🤎 If you’re an Oreo lover, this is your sign to make an ice cream cake this summer: no-churn cookies & cream ice cream set on an Oreo cookie crust, topped with hot fudge and whipped cream frosting. The perfect amount of Oreos in EVERY BITE! 

Full recipe link in my bio + at https://sugarandsparrow.com/cookies-and-cream-ice-cream-cake/ 

OREO CRUST
22 Oreo cookies
5 Tbsp melted butter

ICE CREAM LAYER
2 Cups (480ml) heavy whipping cream, cold
2 tsp pure vanilla extract
14 Oz sweetened condensed milk
15 Oreo cookies, roughly chopped

TOPPINGS
12.8 Oz jar of hot fudge
Whipped cream frosting (see full recipe link)
4 Oreo cookies, chopped

INSTRUCTIONS
1. Mix together the Oreo crust ingredients and pack tightly into the bottom of a 9-inch springform pan. Freeze while you make the ice cream.
2. In a chilled bowl, whip the heavy cream and vanilla to stiff peaks. Fold in the sweetened condensed milk until uniform, then fold in the chopped Oreos. Pile the ice cream on top of the Oreo crust, smooth it down, cover and freeze overnight.
3. When the ice cream layer is set, top with the hot fudge, whipped cream frosting, and more chopped Oreos. Store in the freezer until ready to serve! 

#oreocake #icecreamcake #nochurnicecream #birthdaycake #cookiesandcream

Footer

On the Blog

  • Cake Basics
  • Recipes
  • Tutorials

Info

  • About
  • Privacy Policy & Disclosure

stay in the know

Copyright © 2026 · Theme by Sugar & Sparrow