Get my ebookwhen you subscribe to my free newsletter, Lynn's Kitchen Adventures.
We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to and affiliated sites.

Gluten Free Chocolate Mayonnaise Cake

Gluten Free Chocolate Mayonnaise Cake is so moist and delicious that no one will know it is gluten free!

Gluten Free Chocolate Mayonnaise Cake

Some of you may have read this title and thought mayonnaise in a cake? No thank you! But please stay with me on this one.

Chocolate Mayonnaise Cake is actually a recipe that I have wanted to adapt to gluten free for awhile and finally got around to it a few weeks ago.

Mayonnaise Cake is a cake that many of our moms and grandmothers used to make. I think they first became popular in the late 1960’s and 1970’s, but it could have been before that.

Gluten Free Chocolate Mayonnaise Cake

I am not sure why they became popular or who first thought of putting mayonnaise in a cake, but it makes for the most moist and delicious cake. I know it is strange, but the mayonnaise makes the cake amazing. Really it does.

This cake as no fat besides the mayonnaise. Well, it does have eggs and other ingredients, that contain fat, but there is not oil or butter in this recipe. Only the mayonnaise. The mayonnaise is the fat.

Gluten Free Chocolate Mayonnaise Cake

The fact that I have had mayonnaise cake many times, and knew how moist it was, is the main reason that I have wanted to try a gluten free version of it. The fact that my daughter is now eating mainly dairy free is the reason I decided that I had to finally try it.

Gluten free dairy free baking can be a challenge, so I was really looking forward to seeing if I could come up with a moist and delicious gluten free dairy free cake.

My daughter and I experimented with the flours and what we ended up with was a delicious gluten free dairy free chocolate cake. This cake is now my favorite gluten free chocolate cake. Don’t let the dairy free part deter you from making it. It is a delicious cake that just happens to be dairy free.

And don’t let the mayonnaise stop you from making this either. The mayonnaise truly is what gives this that moist and delicious taste and texture that makes it so good! This is a must try cake!

Gluten Free Chocolate Mayonnaise Cake

Gluten Free Chocolate Mayonnaise Cake
Recipe type: Dessert
Gluten Free Chocolate Mayonnaise Cake is a gluten free cake that is so good no one will know it is gluten free!
  • 1 cup white rice flour
  • ½ cup sweet rice flour
  • ½ cup cornstarch
  • 1 teaspoon xanthan gum
  • ⅔ cup unsweetened baking cocoa
  • 1¼ teaspoons baking soda
  • ¼ teaspoon baking powder
  • 3 eggs
  • 1⅔ cups sugar
  • 1 teaspoon vanilla extract
  • 1 cup mayonnaise
  • 1⅓ cups water
  1. Preheat oven to 350 degrees.
  2. Grease and flour 2- 9 inch round pans. Set aside.
  3. In a medium bowl combine rice flours, cornstarch, xanthan gum, cocoa, baking soda, and baking powder. Set aside.
  4. In a bowl using a mixer, beat eggs, sugar, and vanilla until well combined. About 3 minutes.
  5. Beat in mayonnaise.
  6. Add ⅓ of the flour mixture. Mix just until combined. Add half of the water and mix just until combined. Add remaining and flour alternating between flour and water. End with flour mixture.
  7. Spread batter evenly between the two prepared pans.
  8. Bake for 30 minutes or until toothpick inserted into the center comes out clean.

This post linked up to Southern Plate’s Meal Plan Monday!

Lynn's Kitchen Adventures
Lynn's (Gluten Free) Kitchen Adventures

Get additional gluten-free information from Lynn's Kitchen Adventures delivered to your inbox for free!


  1. This cake looks great. I hope to make it soon but, I was wondering what brand of sweet rice flour do you use?I have used a Thai brand and the Blue Star brand which I do prefer. I had a bad experience with the Thai brand I purchased once it had bugs in it but it may have been the store I purchased from. I have not tried Bob Red mills or EnerG and I think Authentic foods is too pricy. Just wondering if you have a preference of one over the other?

    • When I first went gluten free I used the Asian brands and I liked them, but found that it really varied with brands and even with each bag. I could not get consistent results using them. So I switched to Bob’s Red Mill sweet rice and I love it. It is my favorite sweet rice flour. I have used Authentic Foods and it is a little more fine of a flour, but I did not find the results any different and don’t think it is worth the extra price. I usually buy my sweet rice flour from amazon. I buy a case of it, which is four bags, and the price is better than what I can find in my area for it. Sweet rice flours is one of those things that is a bit expensive in gluten free cooking, but I really think it is worth it because you get better results with certain things like desserts.

  2. I notice you don’t use any starch in this? I have Better Batter all purpose flour and wonder if that would work?

    • The cornstarch is the starch in this cake. I have not tried it with Better Batter, but since this is a really moist cake, it would probably work fine with a blend. I just haven’t tried it. If you try it with Better Batter I would love to hear how it works.

  3. Wondering if you could make this with Bobs Red Mill 1:1 flour in place of the flours and xantham? Anyone tried it?

    • I have not tried it, but that is my favorite blend to use if I am going to use a blend. So I would say if any blend would work, it would probably be that one. If you try it I would love to hear how it turns out.

  4. You need to post the dairy free chocolate frosting recipe, too!!! If it is on your site, I couldn’t find it 🙂

  5. Thank you for converting this to Gluten Free.. Ive made traditional Chocolate Mayonnaise Cake.. in fact was always on a look out for recipes for it since my mom lost her recipe….and now I cant wait to try yours! If its anything like the ones I used to make its going to be awesome! Thank you.

  6. This cake appears to have a good rise to it . It would also work as a 9×13..right? I will need to try this soon. I hate the sad flat looking GF cakes.

    • Yes it works well as a 9×13 cake. We have made it in a 9×13 pan, as cupcakes, and as a bundt cake. All work well. I hope you enjoy it.

  7. Has anyone tried to substitute the sugar for Splenda or trivia?

  8. Vanessa Reed says

    This recipe turned out amazing! I use my own GF flour blend with many different flours but seems to work well with everything, and I subbed milk for the water. The cake is sooooo moist and fluffy. Like the super moist versions from the grocery store. This will be my new go to cake recipe. Thank you a million times over.

    • I am so glad that you enjoyed it! Thank you so much for letting me know. I love helping people make gluten free easy and delicious, so I love hearing that it turned out so well. Have a great day!

  9. Can you use vegan mayo instead of regular mayo?

    • I have not tried it, but I think it might work. The mayo is basically the main fat in this recipe. There is not oil or butter. I would think the fat/oil content of vegan mayo would be about the same and should work. Although since I haven’t tried it I can’t say for sure. I hope that helps.

  10. This is a brilliant recipe. My mom used to make chocolate mayonnaise cake from a recipe that she ripped from a magazine when I was a child in the 70s. I have been baking gluten free for 25 years for my husband who has celiac disease and I have never come across a version in a book. Yesterday, I wanted something that would go perfectly with a peanut butter frosting and my mom’s old Chocolate Mayonnaise Cake came to mind. Not wanting to experiment, I found this recipe online and made it exactly as you suggest and it was exactly what I wanted. (AND, by the way, it is a fantastic base for peanut butter frosting for those of you who aren’t working around a nut allergy.)
    Thanks for working out this recipe. It is a fantastic addition to my recipe collection.
    Note: To those living outside the US, make sure you use ‘natural’ cocoa and not dutch-processed.

    • I am so glad that you enjoyed it! It is our favorite gluten free cake to make. We use it for cupcakes and even bundt cake. If you have been baking gluten free for 25 years you have a lot of experience, so thank for you letting me know how much you enjoyed this cake.

  11. Amazing recipe! I really can’t wait to make it, my daughter has a birthday this week and she has celiac so this can come real handy. Thanks

  12. Thank you so much for this recipe! I used to make it years ago before I realized that I was gluten intolerant. I am looking forward to trying it, but wanted your input on if this would work in a bread loaf pan? I don’t want the added sugar of the frosting, that’s why I want to use the loaf pan, if you think it might work. I appreciate that you posted this recipe!!

  13. Dang it, I used my last 1/2c of sweet rice flour in a GF bread recipe last night. Do you think I could get away with using
    1 1/2c of white rice flour?
    Hoping to make this for dessert tonight with boiled icing!! YUM!

    • I just saw your comment. Sorry. I have not tried it with rice flour in place of the sweet rice, so I am not sure. If you tried it I would love to hear how it turned out.

      • Krista Dolan says

        It worked out perfectly! The cake was moist, and tasted great. Thank you for a wonderful recipe.

        • I am so glad that it worked! Thanks for letting me know. This is my family’s favorite gluten free cake so I love to hear that others enjoy it too!

Share Your Thoughts


We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to and affiliated sites.