Mom's Best Recipes
Recipe

Gluten-Free Chocolate Cake

Moist, deeply chocolatey, and simple enough for a Tuesday, but good enough for candles.

Author By Matt Campbell
4.8
A frosted gluten-free chocolate cake on a ceramic stand with chocolate frosting swirls and a few chocolate curls on top, on a warm kitchen table with soft natural light

If you have ever bitten into a gluten-free chocolate cake that felt like it was trying to hydrate you back, I get it. This one is the opposite. It is dark, plush, and actually stays moist, with the kind of tender crumb that makes you forget you changed anything at all.

My move here is simple: a good gluten-free flour blend (with xanthan gum), cocoa plus a hit of coffee for depth, and enough fat to keep things cozy. The frosting is a quick, swoopy chocolate situation that you can spread with zero perfection required. The cake does not care. It just wants to be eaten.

Measured gluten-free flour blend, cocoa powder, sugar, eggs, buttermilk, oil, and baking pans arranged on a tidy kitchen counter in warm natural light

Why It Works

  • Moist texture that lasts: Oil, buttermilk, and the right flour blend keep the crumb tender even the next day.
  • Big chocolate flavor: Hot coffee (or hot water) helps the cocoa dissolve and deepen the chocolate taste.
  • No fussy mixing: Whisk the dry, whisk the wet, combine, bake. That is it.
  • Reliable structure: A gluten-free 1:1 blend with xanthan gum helps it rise and slice cleanly.

Pairs Well With

Storage Tips

Room temperature: Store frosted cake covered (cake dome or tightly wrapped) in a cool room for up to 2 days. If your kitchen is warm (around 70°F/21°C or above) or the cake sits in sun, play it safe and refrigerate.

Refrigerator: Refrigerate covered for up to 5 days. Let slices sit at room temp for 20 to 30 minutes before eating for the best texture.

Freezer: Freeze unfrosted layers wrapped tightly in plastic wrap plus foil for up to 2 months. Thaw overnight in the fridge, then bring to room temp and frost. You can also freeze individual frosted slices on a tray, then wrap once solid.

Pro tip: Gluten-free cakes love protection. Any exposure to air dries them out faster, so wrap it like you mean it.

Common Questions

What gluten-free flour works best?

Use a gluten-free 1:1 baking flour blend that includes xanthan gum. If yours does not include it, add 1 teaspoon xanthan gum to the dry ingredients. Flour blends vary a lot, so if your brand lists a weight per cup, use that. (The gram amount here is a helpful guide, not a universal truth.)

Can I make it dairy-free?

Yes. Swap the buttermilk for unsweetened dairy-free milk mixed with 1 tablespoon vinegar or lemon juice. Let it sit 5 minutes. For the frosting, use plant-based butter and dairy-free milk as needed.

Do I have to use hot coffee?

No, but it helps. Coffee makes chocolate taste more chocolatey. If you do not want coffee, use hot water. Hot liquid helps the cocoa dissolve and deepen the flavor. Aim for hot, not boiling.

Why did my cake sink in the middle?

Most common causes are: the oven door was opened too early, the cake was underbaked, or your leavening is old. Bake until the center springs back and a toothpick comes out with moist crumbs, not wet batter.

Can I bake this as cupcakes?

Yes. This makes about 18 cupcakes depending on how generously you fill. Fill liners about 2/3 full and bake at 350°F for 16 to 20 minutes. Cool completely before frosting.

Any high-altitude tips?

If you are baking at higher altitude, start checking a few minutes early. Gluten-free cakes can go from perfect to dry fast, so trust the toothpick and spring-back test more than the clock.

I used to think gluten-free baking meant trading flavor for good intentions. Then I started chasing the same things I chase in regular baking: texture, moisture, and a clean slice. This cake became my go-to when I wanted something that feels like a celebration but does not require a culinary degree or a new personality.

I have made it for birthdays, for last-minute dinner invites, and for the nights when you just need chocolate to show up and do its job. The best part is how normal it is. It tastes like cake. Because it is cake.