This post may contain affiliate links. Please read our disclosure policy.

Rich, but not too rich; sweet but not too sweet. This moist and tender gluten free devil's food cake can easily be made into cupcakes or a layer cake.

A piece of devils food cake on a white plate with fork and white plates in back
Want to save this recipe?
Enter your email and weโ€™ll send it to you! Plus, get new recipes every week.
Please enable JavaScript in your browser to complete this form.

Why we love this gluten free devil's food cake

Devil's food cake is similar to red velvet cake, but not quite the same. It's one of the very best gluten free chocolate cakes, mostly because it's just enoughโ€”but not too much of anything. 

I decided to make this as a layer cake, since making a cake is easier than making cupcakes. This is a robust recipe that will make a full 24 cupcakes.

You can also make 48 mini cupcakes, if you're making this recipe for a school birthday party, as I once did way back when. It will also make two reasonably-sized 8-inch round cakes that are perfect for layering.

But when it comes to all the leftover confections, cookies and cakes we always have at my house, cupcakes are much simpler to store. Just pop them in an airtight container, squeeze all of the air out and freeze.

A close up of a piece of devils food cake with bite out of it on white plate and fork

Simple vanilla buttercream frosting

For a frosting recipe, I made the simplest vanilla buttercream ever. Here's the recipe:

  • 16 tablespoons (224 g) unsalted butter, at room temperature
  • 4 cups (460 g) confectioners' sugar
  • 1/8 teaspoon kosher salt
  • 1 teaspoon milk, at room temperature
  • 1 teaspoon pure vanilla extract

In the bowl of a stand mixer fitted with the paddle attachment, or a large bowl with a handheld mixer, beat the butter on medium-high speed until very light and fluffy (at least 2 minutes). Add the sugar and salt, and beat on medium speed until just absorbed.

Add the milk and vanilla and continue to beat, on medium-high speed, until light and fluffy. The frosting should hold its shape easily when scooped with a spoon. To adjust the consistency of the frosting, add more milk very, very sparingly and beat to combine.

For an extra special vanilla frosting, add the seeds of a half a vanilla bean before the final mixing. Nothing says “I love you a little extra” like those seeds!

Gluten Free Devil's Food Cake

5 from 10 votes
Prep Time: 15 minutes
Cook Time: 25 minutes
Yield: 8 slices layer cake
This moist and tender gluten free devil's food cake has enough chocolate flavor to be just rich enough & sweet but not too sweet.
Save this recipe!
Get this sent to your inbox, plus get new recipes from us every week!
Please enable JavaScript in your browser to complete this form.

Ingredients 

  • 2 cups (280 g) all purpose gluten free flour blend, (I used Better Batter; please click thru for full info on appropriate blends)
  • 1 teaspoon xanthan gum, (omit if your blend already contains it)
  • ยพ cup (60 g) unsweetened cocoa powder, (natural or Dutch-processed)
  • 1 ยผ teaspoons baking soda
  • ยฝ teaspoon kosher salt
  • 1 ยฝ cups (327 g) packed light brown sugar
  • 1 โ…“ cups (10 โ…” fluid ounces) warm water
  • 8 tablespoons (112 g) unsalted butter, at room temperature
  • ยฝ cup (120 g) sour cream, at room temperature
  • 2 (100 g (weighed out of shell)) eggs, at room temperature, beaten
  • 1 teaspoon pure vanilla extract

Instructions 

  • Preheat your oven to 325ยฐF. Grease 2 8-inch round cake pans, or line 2 standard 12-cup muffin tins with liners. Set the pans aside.
  • In a large bowl, place the flour, xanthan gum, cocoa powder, baking soda and salt, and whisk to combine well. Add the brown sugar, and whisk again to combine, working out any lumps in the brown sugar.
  • Create a well in the center of the dry ingredients and add the water, butter, sour cream, eggs and vanilla, mixing to combine after each addition. The batter will be soft and relatively thick.
  • Divide the batter evenly between the 2 prepared baking pans, or fill the wells of each muffin cup about 3/4 of the way with batter. Smooth the tops of the batter.
  • Place the baking pans at the same time, or the muffin tins one at a time, in the center of the preheated oven.
  • If making cakes, bake for 15 minutes, rotate the pans and continue to bake until the tops spring back when pressed lightly and a toothpick inserted in the center comes out with a few moist crumbs attached (about another 10 minutes for a total of 25 minutes).
  • If making cupcakes, bake until the tops of the cupcakes spring back when pressed lightly (about 22 minutes).
  • Remove from the oven and allow to cool for 10 minutes in the tin before transferring to a wire rack to cool completely.

Video

Nutrition information is automatically calculated, so should only be used as an approximation.

Like this? Leave a comment below!
Rich, but not too rich; sweet but not too sweet. This moist and tender gluten free devil's food cake can easily be made into cupcakes or a layer cake. It might just be your new go-to chocolate cake recipe! Be sure to watch the short video that proves just how easy it is.

About Nicole Hunn

Hi, Iโ€™m Nicole. I create gluten free recipes that really work and taste as good as you remember. No more making separate meals when someone is GF, or buying packaged foods that arenโ€™t good enough to justify the price. At Gluten Free on a Shoestring, โ€œgood, for gluten freeโ€ just isnโ€™t good enough!

Leave a comment

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

Recipe Rating





This site uses Akismet to reduce spam. Learn how your comment data is processed.

39 Comments

  1. karen_303 says:

    i made this for christmas and it is sooooooooo good! did a square cake pan for dessert and 6 cupcakes for later (to the freezer as soon as cool), i did a cream cheese icing and it is so yummy, thanks nicole. happy holiday to everyone!

  2. Kathleen says:

    Made this for Christmas with peppermint chocolate ganache and peppermint whipped cream and it was fantastic! My new go-to cake recipe, no one will know it’s gluten free! Thanks!

  3. Jonas White says:

    Hi Nicole….going to make this Devils Food cake for a friend today. Can I cream the butter with the brown sugar first and then rotate/incorporate dry and other wets until the batter is made? Seems probable, but thought I’d ask. My friend has Celiac’s and she loves Junior Mints Candies, so I thought I’d make this cake and frost it with Peppermint buttercream and some chocolate ganache. Thanks for providing the GF community some “doable” alternatives!
    JW

  4. Shannon says:

    I made this with Cup4Cup and it turned out amazing. My family has been GF for 5 years now so family and friends know what I make is GF. However, last night I still had several family members ask if the cake was GF. They could not believe it. Thank you again for such wonderful recipes!

  5. Yvonne Kadelski says:

    My husband is diabetic. Can you use sugar-free brown sugar? Thanks in advance.

  6. Notenell says:

    Is there a difference in baking time if you use a convection oven? I forget, so don’t like to rotate baked goods in the oven. My convection oven moves the heated air so things tend to cook in a shorter time period. Is this ok?

  7. Mesti says:

    Could this cake be made dairy free? I’m super new to my new lifestyle brought on my serious health issues and I can’t have gluten or dairy

    1. Mare Masterson says:

      Google vegan sour cream, Mesti. There is also Earth Balance that could be used for the butter substitution.

      1. Mesti says:

        Ok, I was wondering if I could replace coconut oil for the butter, just wasn’t sure about the sour cream…Thank You!!! I’ll check it out…like I said I’m in my infant stage with all this, so I’m trying to learn all I can!!!

    2. Laurel Atkinson says:

      I have dairy and gluten and corn allergies. Instead of sour cream try a goat or sheep’s milk yogurt. The yogurt gives a sour flavor like the sour cream.

      1. Mesti says:

        Ok!!! Thank You I didn’t realize goat milk was lactose free

      2. Natalie says:

        Goat Milk is NOT lactose-free. That is a misconception. It actually has more lactose than cow milk, but because the fat molecules are smaller, it is sometimes easier to digest that cow milk. Just an FYI.

      3. Mesti says:

        I didn’t think so but thought I might have missed something…I have to be absolutely lactose free!!!! Thank You for clarifying ?