Gluten Free Mini Chocolate Cake
This mini chocolate cake is perfect for a small birthday party or easy dessert for a family. It’s incredibly moist, rich and full of chocolate flavor. Gluten free and dairy free friendly! Makes a 6 inch two layer small chocolate cake.

Cakes are without a doubt my favorite recipe to make for the blog. And my favorite to photograph. But they’re also just my favorite to eat!
Some may classify this more as a small chocolate cake than a mini chocolate cake. A mini chocolate cake is usually only about 4 inches, whereas this recipe uses two six inch cake pans. Each layer will bake up to about an inch, with some frosting between each layer.
This cake serves 8, so it’s perfect for a small party or celebration. It’s moist, rich and topped with a chocolate cream cheese frosting. It’s the perfect balance of fluffy and dense, which any good chocolate cake should be in my opinion! If you love this recipe, try my vegan chocolate cake, mini vanilla cake or mint chocolate cake next!

How to make a gluten free mini chocolate cake
WHISK WET. Whisk together all wet ingredients aside from the coffee and whisk together until smooth.
WHISK DRY. Whisk in the dry ingredients, making to spoon and level the flour. Whisk in the coffee.
BAKE. Add to the prepared pans and bake for 40-50 minutes or until a toothpick comes out clean. I have tested this recipe in two different ovens and the cook time varied by about 10 minutes, so be sure to keep an eye on yours.
COOL & FROST. Remove from the oven and let cool for 15 minutes in the pan, then flip onto a wire rack to finish cooling. Frost with the homemade chocolate cream cheese frosting and enjoy! Try my raspberry chocolate cake next!

How to store
Once frosted, this cake stores best at room temperature or in the fridge covered with a cake pan cover or foil for about 3-5 days. If you’re worried you’ll have too much leftover, just halve the recipe and make one layer instead!
Once it’s sliced, it will dry out faster, so I like to put some parchment paper or plastic wrap on the part that is sliced to keep the air out.
Once baked, you can freeze both cake layers and frost when you’re ready to serve. Just be sure to let them cool completely, then wrap each layer in plastic wrap and place in a freezer safe bag. You can frost right when it’s frozen! Same with my gluten free chocolate loaf cake.

WANT TO SAVE THIS RECIPE?
Substitutions
FLOUR. I of course used gluten free all purpose flour to make this a gluten free chocolate cake. If you are not gluten free, just sub for regular all purpose flour with no problem. I do not recommend whole wheat flour.
DAIRY. You can easily make this cake dairy free by using non-dairy milk in the cake, then non-dairy butter and cream cheese in the frosting. Promise you won’t be able to tell a differene!
EGG. Since this cake only has one egg, you should be able to sub for a vegan alternative. I would suggest a flax egg (mix 1 tablespoon of ground flax with 3 tablespoons of water and let thicken) or a store bought egg replacer. 3 tablespoons of apple sauce should also work. The cake will be more dense and less fluffy, but with a chocolate cake I think that’s ok!
SUGAR. This recipe calls for a mix of white sugar and brown sugar to help create the perfect texture. You can try subbing for coconut sugar for a refined sugar free option. I do not recommend any liquid sweeteners such a maple syrup here.

Frequently asked questions
Can I make cupcakes instead?
Yes! This recipe will make about a dozen cupcakes. Follow all of the same instructions except add to a lined cupcake tray and bake for about 25 minutes or until a toothpick comes out clean.
Why do you use coffee?
I used boiling water in my first test of the recipe, which is used to help ‘activate’ the cocoa powder. However, it didn’t help achieve the richness that I was hoping for. The coffee is simply used to enhance the chocolate flavor, but it doesn’t add a coffee taste, I promise. You can sub for boiling water and add 1-2 teaspoons of espresso powder instead. I do the same in my gluten free snack cake!
How do you make cake more moist?
I promise, no adjustments are needed to make this mini cake more moist! It is moist thanks to the oil, egg, molasses in the brown sugar, milk and coffee. We aren’t using too much flour which would dry out the cake.

Try these cakes next!
- Paleo Chocolate Cake
- Almond Flour Vanilla Cake
- Strawberry Cake
- Orange Cake
- Red Velvet Cake
- Gluten Free Chocolate Peppermint Cake
If you want more recipes straight to your inbox, be sure to subscribe to my email list! As always, be sure to tag me on instagram so I can see your creation. Leave a comment and rating below if you try this recipe!

Mini Chocolate Cake
by: claire cary
Ingredients
Wet
- ½ cup oil
- ¾ cup white sugar
- 6 tablespoons brown sugar
- 1 egg
- 2 teaspoons vanilla extract
- ½ cup milk of choice
- ½ cup hot brewed coffee can sub boiling water
Dry
- 1 ½ cups gluten free all purpose baking flour can sub regular AP flour
- ½ cup cocoa powder
- ½ teaspoon baking soda
- ¼ teaspoon salt
Frosting
- ¾ cup butter
- 4 ounces cream cheese
- ½ cup cocoa powder
- 2 ½ cups powdered sugar
- 1 teaspoon vanilla
Instructions
- Preheat the oven to 350 degrees Fahrenheit.
- Line two 6 inch cake pans with parchment paper and set aside. I like to use these parchment rounds!
- Whisk together all wet ingredients aside from the coffee and whisk together until smooth.
- Whisk in the dry ingredients, making to spoon and level the flour.
- Whisk in the coffee.
- Add to the prepared pans and bake for 40-50 minutes or until a toothpick comes out clean. I have tested this recipe in two different ovens and the cook time varied by about 10 minutes, so be sure to keep an eye on yours.
- Remove from the oven and let cool for 15 minutes in the pan, then flip onto a wire rack to finish cooling.
- To make the frosting, beat together the butter and cream cheese for 2 minutes.
- beat in the cocoa until well combined.
- Beat in the sugar, followed by the vanilla. If it is too thick, add a splash of milk, if it’s too thin, add more powdered sugar.
- When the cake has completely cooled, frost and enjoy! I suggest about 3/4 cup of frosting between the layers, then the rest for the outside and any decorations.
Notes
Comments
-
Hi, if I wanted to make this cake in one tin rather than two 6” pans what size round would you recommend? I have a 7.5” round (19cm) or 7.5” square (20cm).
Thank you-
I would do the square but the bake time will be longer!
-
Thank you! One last question please – what type of oil? And would it be possible to use melted butter instead of the oil, or would this change the texture?
It looks divine and I can’t wait to try it!
Many thanks-
Any plain oil like vegetable, refined avocado etc. You can use melted butter but melt and then let it cool slightly first. The texture will be very similar but if you put the cake in the fridge it will firm up a bit.
-
-
-
-
Thank you for a delicious recipe! I’ve made it many times and no one can ever tell it’s gluten free!
-
Your response to my comment 23/2/ 2024 did not need exclamation mark.
Ignorant of you.
This recipe not healthy too much sugar.-
Just trying to be kind, thank you though.
-
-
What kind of cocoa powder is used in this?
-
Dutch processed!
-
-
I made this delicious treat! It is amazing! The only thing I would like to tell others who are planning to make this; if you make the icing then store it in the refrigerator, when you take it out the next day, put it back in the mixer then add milk.
-
Hi there. Was just about to print this out to make it, but I noticed on the print page, selecting “Metric” just changes “1/2 cup” to say “0.5 cup” and so on. It’s missing the actual conversions that your recipe page here is handy enough to have!
-
Thanks for letting me know, I will have my development team look into this!
-
-
What’s the best way to store this cake (if there are leftovers!)?
-
I like to use a cake stand with a cover! Otherwise, in a tupperware container or just place parchment paper or plastic wrap on the part that is cut so it won’t dry out.
-
-
Can you use a 6 cup bundt pan?
-
That should be ok!
-
-
I made this cake for Father’s Day! Easily the BEST cake I have EVER had! What an amazing recipe!!
-
Such a kind comment! Thank you, Brittany!
-
-
I cannot have coffee.
What can I have instead?-
Hot water!
-
-
I have made this cake twice now. I used macadamia nut milk for both and put chocolate chips in the second as cupcakes. This cake is sooo rich, moist, and decadent. My whole office enjoyed the cake and didn’t know it was gluten free. AMAZING!
-
Love to hear that! Thank you!
-
-
Made this cake for my friend’s birthday and absolutely loved it! The recipe was so easy to follow and it came out delicious. Added some chocolate chips to the batter for the heck of it as well. Saving this one as a go-to birthday cake.
-
Sounds perfect! So glad you enjoyed it!
-
-
SO good! Moist, rich and the frosting was perfect.
-
Thanks, Austin! So happy you enjoyed it.
-
Its a great cake, can I use almond flour.for family that are on diet. For health
-
No, I would try my almond flour chocolate cake instead!
-
-
-







leave a comment and rating