Search Recipes

Find your favorite dishes

Gluten-Free Chocolate Cake

Sarah

By Sarah

Nov 6, 2026

15 min prep
35 min cook
8 servings
Jump to Recipe
Gluten-Free Chocolate Cake

It was a rainy afternoon when I decided to experiment with a gluten-free chocolate cake. I wanted something rich and rich, yet safe for my friend with gluten sensitivities.

What sets this recipe apart is the addition of chocolate chips, which melt beautifully into the batter, creating pockets of gooey chocolate goodness. Each bite is a decadent experience that keeps you coming back for more!

Why This Recipe Works

  • Gluten-Free Flour with Xanthan Gum: Using gluten-free all-purpose flour that contains xanthan gum is crucial. Xanthan gum mimics the elasticity that gluten provides, helping the cake rise beautifully and maintain its structure.
  • Boiling Water for Moisture: Adding boiling water to the batter creates a satisfying steam effect during baking. This moisture helps to bloom the cocoa powder, enhancing the chocolate flavor while also keeping the cake tender.
  • Room Temperature Eggs: Using room temperature eggs makes a significant difference in the batter's texture. They emulsify better with the other ingredients, resulting in a lighter, airier cake. I always remember the first time I used cold eggs; the cake turned out dense and heavy.
  • Optional Chocolate Chips for Extra Richness: Incorporating chocolate chips adds a pleasureful burst of melty chocolate in each bite. I tried this cake with and without the chips, and the extra richness truly enhances the overall flavor, making it tempting.

Ingredients

What You'll Need

  • 1 cup gluten-free all-purpose flour ensure it contains xanthan gum for better texture and rise
  • 1 cup granulated sugar provides sweetness and helps create a moist cake
  • 1/2 cup unsweetened cocoa powder sifted for a smoother batter and richer chocolate flavor
  • 1 tsp baking powder helps the cake rise and become fluffy
  • 1/2 tsp baking soda balances acidity and adds to the leavening process
  • 1/4 tsp salt enhances the sweetness and balances flavors
  • 2 large eggs, room temperature adds structure and moisture; room temperature helps them blend better
  • 1/2 cup milk, or non-dairy milk liquid helps with the cake's moisture; choose your favorite non-dairy option
  • 1/4 cup vegetable oil adds richness and keeps the cake moist
  • 1 tsp vanilla extract brings warmth and depth to the chocolate flavor
  • 1/2 cup boiling water intensifies the chocolate flavor and creates a fudgier texture
  • 1 cup chocolate chips, optional for added richness and a gooey texture throughout

When shopping for gluten-free chocolate cake ingredients, look for a gluten-free flour blend that includes xanthan gum. This will help the cake rise and maintain its structure. I often choose brands like Bob's Red Mill or King Arthur Flour for their quality and consistency.

Easy Substitutions

  • Dairy-free: swap regular milk for almond milk — the flavor will be slightly nuttier, but the moisture remains similar.
  • Gluten-free: swap gluten-free all-purpose flour for regular all-purpose flour — the texture will be lighter, but it won't be gluten-free.
  • Egg-free: swap eggs for flaxseed meal mixed with water — it will create a denser cake, but it works well as a binding agent.
  • Lower calorie: swap granulated sugar for a sugar substitute like erythritol — the sweetness will be similar, but the cake may not be as moist.

Step-by-Step Instructions

Prep & Mix

  1. Preheat your oven to 350°F (175°C) and grease a 9-inch round cake pan — this ensures your cake won't stick and will come out easily once baked.
  2. In a large mixing bowl, whisk together 1 ½ cups gluten-free flour, 1 cup sugar, ½ cup cocoa powder, 1 teaspoon baking powder, ½ teaspoon baking soda, and ½ teaspoon salt until well combined — this mix creates the base flavor and structure of your gluten-free chocolate cake.
  3. In another bowl, beat 3 large eggs, then add 1 cup milk, ½ cup vegetable oil, and 2 teaspoons vanilla extract. Mix until smooth — this combination adds moisture and richness to the cake.
  4. Pour the wet ingredients into the dry ingredients and stir until just combined — be careful not to overmix, as this can make your cake dense. You want it to be lumpy but not dry.
  5. Carefully add 1 cup of boiling water to the batter and mix until smooth and thin — this step activates the cocoa powder and helps create a moist cake. If the batter looks too thick, add 1 tablespoon of milk, but don’t overdo it or they'll be gummy.

Bake & Cool

  1. If using, fold in 1 cup of chocolate chips until evenly distributed — this adds delightful pockets of melted chocolate throughout your cake.
  2. Pour the batter into the prepared cake pan and smooth the top with a spatula. This helps the cake rise evenly without any bumps.
  3. Bake in the preheated oven for 30-35 minutes, or until a toothpick inserted in the center comes out clean — look for a slightly domed top and a rich, dark color. This signals that your gluten-free chocolate cake is ready!
  4. Remove the cake from the oven and allow it to cool in the pan for 10 minutes — this lets it firm up a bit before transferring it.
  5. Transfer the cake to a wire rack to cool completely before serving. This cooling step is crucial for the texture — cutting it too soon can lead to a crumbly mess. Slice and serve your delicious gluten-free chocolate cake plain or with your favorite gluten-free frosting.

Tips & Tricks

The Importance of Sifting Flour

Sifting your gluten-free flour before measuring can make a huge difference in texture. I always sift because it aerates the flour, helping to prevent a dense cake. If I skip this step, I notice the cake turns out heavier, and nobody wants that! Sifting also helps to break up any clumps, ensuring a smoother batter.

Choosing the Right Cocoa Powder

Not all cocoa powders are created equal! I prefer using Dutch-processed cocoa for this gluten-free chocolate cake because it has a richer flavor and a deeper color. The first time I used regular cocoa, the cake was good, but it lacked that intense chocolatey taste. Trust me, splurging on high-quality cocoa makes a world of difference.

Pro Tips

  • Use room temperature ingredients: Bringing your eggs and milk to room temperature before mixing can enhance the cake's texture. I always take them out of the fridge about 30 minutes in advance, which helps create a smoother batter that incorporates air better.
  • Let the cake cool upside down: Once baked, I flip the cake onto a wire rack to cool. This prevents a soggy bottom and helps maintain a light, airy structure — trust me, it makes a difference!
  • Add espresso powder for depth: Mixing in a teaspoon of instant espresso powder with the dry ingredients can intensify the chocolate flavor. I learned this trick when experimenting with different cocoa powders, and it really brings out the richness.
  • Use a cake strip for even baking: Soak a cake strip in water and wrap it around the pan before baking. This helps the cake rise evenly and prevents a domed top — no more slicing off the top to make it flat!
  • Don’t skip the resting time: Let your gluten-free chocolate cake rest for at least 15 minutes before slicing. This allows the flavors to meld together and the texture to settle, resulting in a more enjoyable bite.

Variations & Customizations

Flavor Twists

Mint Chocolate

Add 1 tsp peppermint extract to the batter for a refreshing twist. The cake will have a pleasureful minty aroma, and each bite feels cool and decadent, perfect for mint lovers.

Orange Zest

Incorporate 1 tsp of orange zest into the batter. The bright citrus flavor pairs beautifully with the rich chocolate, creating a cake that tastes like a chocolate orange treat with a lovely, fragrant aroma.

Seasonal Versions

Pumpkin Spice

Mix in 1/2 cup of pumpkin puree and 1 tsp pumpkin pie spice for a fall-inspired cake. The result is moist and spiced, with a tender crumb, reminding you of cozy autumn days.

Storage & Meal Prep

Room Temperature

Store the gluten-free chocolate cake at room temperature for up to 3 days in an airtight container to keep it moist and fluffy. Avoid stacking them while still warm; they'll get soggy on the bottom if you do that.

Refrigerator

You can keep it in the refrigerator for up to 5 days. Make sure the cake cools completely, then wrap it tightly in plastic wrap or place it in an airtight container to prevent it from drying out.

Freezer

For longer storage, freeze the cake for up to 3 months. Flash freeze individual slices on a sheet pan before wrapping each slice in plastic wrap and placing them in a freezer-safe bag. Thaw overnight in the refrigerator or at room temperature for a couple of hours before enjoying.

Meal Prep

I recommend doubling the recipe if you want leftovers; this cake stays fresh for up to 5 days in the fridge. Prep it the night before a special occasion or on the weekend for easy weekday treats. Use a sturdy plastic container to keep it safe, and reheat slices in the microwave for about 15-20 seconds.

Frequently Asked Questions

Can I use a different flour for this gluten-free chocolate cake?

Yes, you can experiment with other gluten-free flours like almond or coconut flour, but you'll need to adjust the ratios. Almond flour, for instance, is denser, so consider adding an extra egg for binding.

Why did my gluten-free chocolate cake turn out dry?

Dryness can happen if you overmix the batter or use too much flour. Make sure to measure accurately and stop mixing as soon as everything is combined.

Can I make this cake vegan?

Absolutely! Substitute eggs with flaxseed meal or chia seeds mixed with water, and use a non-dairy milk. The cake will still be rich and delicious!

What can I add to the batter for extra flavor?

Try adding chocolate chips or chopped nuts for a pleasureful crunch. You can also include a teaspoon of instant coffee to enhance the chocolate flavor.

How long does this cake last before it goes stale?

The gluten-free chocolate cake usually stays fresh for about 3-4 days at room temperature. You can also freeze individual slices for up to three months for a sweet treat later.

This gluten-free chocolate cake has been a family favorite for years, bringing smiles and indulgence to every celebration. For an extra touch, add a sprinkle of sea salt on top before serving to enhance the chocolate flavor. I can’t wait to hear how yours turns out — give it a try, leave a comment, or share a picture on Pinterest!

Gluten-Free Chocolate Cake

Gluten-Free Chocolate Cake

Indulge in this rich gluten-free chocolate cake that’s moist, fudgy, and perfect for any occasion.

15 min
Prep Time
35 min
Cook Time
8
Servings
Calories

Ingredients

Instructions

  1. 1 Preheat oven to 350°F and grease a 9-inch round cake pan.
  2. 2 In a large mixing bowl, whisk together gluten-free flour, sugar, cocoa powder, baking powder, baking soda, and salt until well combined.
  3. 3 In another bowl, beat the eggs.
  4. 4 Add milk, vegetable oil, and vanilla extract to the eggs and mix until smooth.
  5. 5 Pour the wet ingredients into the dry ingredients and stir until just combined.
  6. 6 Carefully add the boiling water and mix until the batter is smooth and thin.
  7. 7 If using, fold in chocolate chips until evenly distributed.
  8. 8 Pour the batter into the prepared cake pan and smooth the top.
  9. 9 Bake in the preheated oven for 30-35 minutes.
  10. 10 Remove from oven and allow the cake to cool in the pan for 10 minutes.
  11. 11 Transfer the cake to a wire rack to cool completely before serving.
  12. 12 Slice and serve the cake plain or with your favorite gluten-free frosting.

Servings: 8

Cuisine: American

Course: Dessert