• 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

peppermint frosting recipe for cakes and cupcakesPeppermint Buttercream
My Online Cake Decorating Course is HERE!
blueberry buttercream frosting recipeThe Best Blueberry Buttercream Recipe

Join the List

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

Reader Interactions

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

sprinkle cake balls topper tutorial by sugar and sparrow

Sprinkle Cake Truffles

no bake eggnog cheesecake recipe by sugar and sparrow

No-Bake Eggnog Cheesecake with Biscoff Cookie Crust

sugar and sparrow new website

We’ve Got a New Look + New Website Features!

Search

Archives

Follow Along

@sugarandsparrowco

RASPBERRY CAKE FILLING (recipe below) ♥️ this RASPBERRY CAKE FILLING (recipe below) ♥️ this perfectly sweet/tart raspberry cake filling is beautifully thick, seedless, and so rewarding to make from scratch! It takes just a handful of ingredients and can be made with fresh OR frozen raspberries 🙌🏼 

Get the full recipe + cake pairing suggestions at the link in my bio or at https://sugarandsparrow.com/seedless-raspberry-cake-filling/

INGREDIENTS:
2 1/2 Cups (10oz, 315g) fresh or frozen raspberries
1/2 Cup (100g) granulated sugar
1 Tbsp lemon juice
1 tsp lemon zest
1 1/2 Tbsp (12g) cornstarch
1 1/2 Tbsp (22ml) water

INSTRUCTIONS: 
1. In a saucepan set over medium heat, add the raspberries, granulated sugar, lemon juice, and lemon zest. Cook until the mixture begins to boil, stirring occasionally. 
2. Once boiling, lower the heat and simmer for 10-15 minutes while you continue stirring occasionally. Then, remove from heat and use a fine mesh sieve to strain out the seeds over a medium bowl. After straining, you’ll be left with about 1/4 Cup of seedy pulp.
3. In a small separate bowl, combine the cornstarch and water until uniform. Return the strained raspberry filling to the saucepan (wipe it free of any remaining seeds if needed) and add the cornstarch/water mixture. Cook over medium heat until boiling, stirring constantly, then reduce to a simmer and cook for 1-3 minutes, until the filling has thickened slightly, is no longer cloudy, and coats the back of the spatula.
4. Pour into an airtight container and refrigerate for at least 4 hours and up to 1 week. It will be jello-like once set but after stirring it will become a thick, jammy consistency that’s perfect to use as a cake or cupcake filling!

#raspberrycake #cakefilling #cakedecorating #raspberries #baking
STRAWBERRY LEMON CAKE 🍓🍋 this cake is so lig STRAWBERRY LEMON CAKE 🍓🍋 this cake is so light and refreshing and bursting with all-natural flavors! It’s layers of my favorite extra fluffy lemon cake + the most delicious freeze-dried strawberry buttercream that ends up the prettiest natural pink color. I’ll never get over those little flecks of strawberry in the buttercream or the tiny chamomile flowers adding so much cheer! 

Grab the recipe at the link in my bio or at https://sugarandsparrow.com/strawberry-lemon-cake/

#strawberrylemon #lemoncake #strawberrycake #cakedecorating #strawberrybuttercream
CHOCOLATE SHEET CAKE (recipe below) 🍫 🥳 this CHOCOLATE SHEET CAKE (recipe below) 🍫 🥳 this is everything I want in a chocolate cake: rich and decadent, stick-to-your-fork fudgy, ultra-chocolatey, shareable, and EASY! Like box mix easy but from-scratch and a MUST try if you’re in need of a good chocolate cake recipe to feed a crowd👩🏽‍🍳⁣ 
 
Get the full recipe (with chocolate frosting) at the link in my bio or at https://sugarandsparrow.com/chocolate-sheet-cake/ ✨⁣ 
⁣ 
CHOCOLATE SHEET CAKE
2 Cups (265g) all purpose flour⁣ 
1 2/3 Cups (340g) white granulated sugar⁣ 
2/3 Cup (60g) unsweetened natural cocoa powder⁣ 
2 tsp baking soda⁣ 
1 tsp baking powder⁣ 
1/2 tsp kosher salt⁣ 
1/2 Cup (120ml) vegetable oil⁣ 
2 eggs, room temperature⁣ 
1 1/2 tsp pure vanilla extract⁣ 
1 Cup (240ml) full-fat buttermilk⁣ 
1 Cup (240ml) hot coffee OR hot water⁣ 
⁣ 
INSTRUCTIONS⁣ 
1. Preheat the oven to 325ºF. Grease and line a 9x13 inch cake pan. ⁣ 
2. Place all of the dry ingredients into the bowl of a stand mixer (or use a large bowl with a hand mixer) and mix on low to combine. Add the vegetable oil, eggs, vanilla, and buttermilk and mix on low until combined. With the mixer still on low, add the hot coffee or hot water in a slow stream, then turn the mixer to medium and beat until smooth, about 2 minutes. The batter will be very thin. ⁣ 
3. Pour the batter into the prepared pan and bake for 35-40 minutes, until a toothpick inserted comes out clean.⁣ Full recipe (with frosting) link in my bio.
⁣ 
#chocolatecake #chocolate #sheetcake #chocolatelover #birthdaycake
VANILLA RASPBERRY LAYER CAKE ♥️ between the na VANILLA RASPBERRY LAYER CAKE ♥️ between the naturally pink raspberry buttercream, jammy homemade raspberry filling, and soft vanilla cake layers, this is the perfect cake for Spring!! It’s has amazing, authentic raspberry flavor in every bite from fresh (or frozen) raspberries in the filling + freeze-dried raspberries in the frosting 😋

Get the full recipe link in my bio or find it at https://sugarandsparrow.com/vanilla-raspberry-layer-cake/ 

#raspberrycake #raspberries #vanillacake #cakedecorating #pinkcake
SMALL BATCH VANILLA CAKE 🎂🥳 this mini vanill SMALL BATCH VANILLA CAKE 🎂🥳 this mini vanilla cake recipe makes the PERFECT amount for 2-4 people and can be baked as a tiny 4-inch layer cake or a single layer 6-inch cake. It goes with any frosting flavor but vanilla buttercream keeps it classic for date night, a small gathering, a smash cake, or satisfying a cake craving. 
⁣
✨Full recipe (with frosting) linked in my bio + at https://sugarandsparrow.com/small-batch-vanilla-cake/ 
⁣⁣⁣⁣
SMALL BATCH VANILLA CAKE⁣⁣⁣⁣
⁣⁣⁣⁣
INGREDIENTS⁣⁣⁣⁣
3/4 Cups (79g) sifted cake flour⁣⁣⁣
1 tsp baking powder⁣⁣⁣
1/4 tsp salt⁣⁣⁣
1/4 Cup (57g) unsalted butter, room temperature⁣⁣⁣
1/2 Cup (100g) granulated sugar⁣⁣⁣
1 large egg, room temperature⁣⁣⁣
2 Tbsp (30g) sour cream, room temperature⁣⁣⁣
1 tsp pure vanilla extract⁣⁣⁣
1/3 Cup (80ml) whole milk, room temperature⁣⁣⁣
⁣⁣⁣⁣
INSTRUCTIONS ⁣⁣⁣⁣
1. Preheat the oven to 350ºF. Grease and line three 4-inch or one 6-inch cake pan.⁣⁣⁣
2. In the bowl of your stand mixer (a handheld mixer works fine too!), cream together the butter and sugar on medium-high until light and fluffy, 3 min. Turn the mixer to low and add the egg, mixing until just combined. Add the vanilla and sour cream, turn the mixer to high, and beat for 1 min. ⁣⁣⁣
3. Turn the mixer to low speed and add the dry ingredients all at once. Mix until just combined, then slowly pour in the milk. Continue to mix on low speed until just combined, about 30 seconds. ⁣⁣⁣
4. Pour the batter evenly between the prepared cake 4-inch pans (or all into one 6-inch cake pan). If using 4-inch cake pans, bake for 18-22 minutes. If using a 6-inch cake pan bake for 24-28 minutes. The cake is done when it springs back to the touch and a toothpick inserted comes out with a few moist crumbs. ⁣⁣⁣
⁣⁣⁣⁣
#vanillacake #cakes #vanilla #minicake #cakedecorating

Footer

On the Blog

  • Cake Basics
  • Recipes
  • Tutorials

Info

  • About
  • Privacy Policy & Disclosure

stay in the know

Copyright © 2026 · Theme by Sugar & Sparrow