• Home
  • Gluten Free Recipes
  • Subscribe
  • Our Story
menu icon
go to homepage
  • Easter Recipes
  • Gluten Free Recipes
  • Our Story
  • Shop
  • Subscribe
    • Facebook
    • Instagram
    • Pinterest
    • YouTube
  • subscribe
    search icon
    Homepage link
    • Easter Recipes
    • Gluten Free Recipes
    • Our Story
    • Shop
    • Subscribe
    • Facebook
    • Instagram
    • Pinterest
    • YouTube
  • ×
    Home » Gluten Free Dessert Recipes » Gluten Free Cake and Cupcake Recipes

    Yellow Cake with Chocolate Frosting

    Published: Apr 26, 2022 · Modified: Mar 1, 2026 by Lee · This post may contain affiliate links · 10 Comments .

    Jump to Recipe Jump to Video

    This Yellow Cake with Chocolate Frosting is a delicious soft and fluffy golden cake surrounded by layers of fudgy chocolate frosting. Perfect for any occasion, not just birthdays, it is simple to make and easy to assemble! Best of all, it’s gluten free, nut free, egg free and easily vegan!

    Looking inside the decadent yellow cake with chocolate frosting with rainbow nonpareils.

    This beautiful Yellow Cake with Chocolate Frosting is the perfect gluten free birthday cake recipe! It's soft and sweet with a slight richness from the frosting. It's the perfect cake for those that like both chocolate and vanilla! Growing up, my favorite cakes were Entemann’s Fudge Iced Golden and Pepperidge Farm’s Rich Golden Layer Cake because my family didn't bake; this beautiful golden layer cake is my allergy friendly spin on both of those cakes, only way more delicious!

    For more gluten free birthday cake recipes try my Chocolate Funfetti Cake, my Eggless Vanilla Cake, my Triple Chocolate Layer Cake and my super simple Chocolate Ganache Cake.

    Jump to:
    • Reasons to Love this Yellow Cake Recipe
    • Ingredient Notes
    • Substitutions and Variations
    • How to Make Yellow Cake with Chocolate Frosting
    • Expert Baking Tips
    • Recipe FAQs
    • More Layer Cake Recipes You'll Love
    • 📖 Recipe
    • Yellow Cake with Chocolate Frosting

    Reasons to Love this Yellow Cake Recipe

    • Allergy Friendly- This cake is gluten free, nut free, egg free and can easily be dairy free (vegan)!
    • Soft & Fluffy- This cake is super soft and delicious.
    • Fudge Frosting- Layers of our fudge frosting ensure you get chocolate in every bite.
    • Easy to Make- The batter mixes up in just one large bowl with a whisk!

    Ingredient Notes

    Yellow cake with chocolate frosting ingredients: gluten free flour, granulated sugar, butter, water, milk, cocoa powder, baking powder, baking soda, light brown sugar, vegetable oil, nonpareil sprinkles, kosher salt, vanilla and confectioners' sugar.
    • Gluten Free Flour- If you also have nut allergies, make sure to use a brand that’s made in a nut free facility. I really love to use this gluten free flour because it’s free of the top 9 allergens. It also contains xanthan gum which really helps give baked goods their bounce and prevents them from falling apart.
    • Milk- If there are no dairy allergies or if you’re not vegan, you can use regular whole milk. For non-dairy, use a dairy-free milk of your choosing.
    • Pure Vanilla Extract- Make sure the vanilla you use is pure and gluten free or the cake can have a chemical flavor.
    • Vegetable Oil- Adds moisture into this cake; there is no butter or vegan baking stick in the batter.
    • Butter/ Vegan Baking Stick-  Only use room temperature butter in the frosting. If using vegan butter, make sure it's on the cold side versus room temperature. Also, use vegan baking sticks instead of vegan butter from a tub.
    • Cocoa Powders-  I like to use two types to give the frosting a dark color, but if you only want to use one, use Dutch or Natural Unsweetened. Do not only use Dark.
    • Water- This frosting uses room temperature water instead of milk! Add it in slowly; you may not need it all.

    See my recipe card below for a complete list of the ingredients with measurements.

    Substitutions and Variations

    How to Make this into a Vegan Cake

    • Use a gluten free flour that’s free from dairy.
    • Make sure the brand of sugar you use is vegan. 
    • Use vegan baking sticks instead of butter in the frosting.
    • Only use a non-dairy milk of choice.
    • Read the label on your sprinkles (if using them) to ensure they’re gluten free, nut free and vegan. 

    Make this Recipe with All Purpose Flour

    • Use 2 ¼ cups packed AP flour (378 grams).
    • Only use 1 ¼ cups of milk.

    This recipe has not been tested with some of these substitutions and/or variations due to celiac disease and food allergies. If you change any of the ingredients, please let us know how the recipe turned out in the comments below!

    A slice of delicious yellow cake with chocolate frosting on a plate.

    How to Make Yellow Cake with Chocolate Frosting

    Here are the step by step instructions to make this yellow cake with chocolate icing!

    A whisk with the dry ingredients in a bowl.

    Step 1: Whisk Together the Dry Ingredients

    In a large bowl whisk together the gluten free flour, granulated sugar, baking powder, baking soda and salt. Set aside.

    A bowl with the wet ingredients and a whisk.

    Step 2: Mix Together the Wet Ingredients and Brown Sugar

    In a medium bowl, whisk together the milk, light brown sugar, vegetable oil and vanilla.

    Mixing the wet and dry ingredients.

    Step 3: Add the Wet Ingredients into the Dry

    Slowly add the milk mixture into the dry ingredients and whisk to combine. It if gets too thick, switch to a spatula but it should be fairly liquidy.

    Golden Brown cake in cake pans fresh out of the oven.

    Step 4: Scoop the Batter and Bake

    Divide the batter evenly into two greased and parchment lined 8 inch cake pans and smooth the tops with a butter knife.

    Bake the cakes in the center rack at 350 degrees Fahrenheit for 35 minutes until slightly springy when carefully touched.

    A bowl of gluten free Chocolate Fudge Frosting.

    Step 5: Make the Chocolate Frosting

    In the large bowl of an electric mixer or using a hand held mixer, beat the butter until smooth; about 2 minutes.

    With the mixer on very low speed, slowly add in the confectioners' sugar and cocoa powders and vanilla; beat until combined.

    Slowly add in the water a little at a time until you get the desired consistency. You may not need to use all the water.

    Cake with the top cut off.

    Step 6: Cut the Cakes in Half

    Once the cakes have completely cooled, slice the cakes in half horizontally to create 4 thinner layers of cake.

    If the tops of your cakes have domes, you can then very carefully cut them off to make them flat.

    Chocolate frosted cake on a cake stand.

    Step 7: Frost the Cake 

    Separate the frosting into 5 equal sections.

    Then place one layer of cake on a cake plate/stand. Scoop ⅕th (about 1 cup) of frosting on top of the layer and use an icing spatula to spread it around.

    Place another layer of cake on top; repeat this same process. Do this with 3 layers of cake.

    Once you get to the last layer of cake, place it bottom (or flat) side up so the top of the cake is nice and flat. Use an icing spatula or a butter knife to frost the top and a thin layer on the sides of the cake.

    You should only use a fifth of the frosting on the top and sides combined.

    A perfect slice of eggless yellow cake with chocolate frosting stands tall.

    Step 8: Decorate the Cake

    Put the remaining ⅕th of chocolate buttercream into a piping bag. Create swirls going all the way around the top rim of the cake.

    Sprinkle on some rainbow sprinkles on top of the swirls. Enjoy!

    Expert Baking Tips

    • Use Packed Cups of Flour- Normally in baking we do not use packed cups however, when working with gluten free, I've found using packed cups works best to help the baked goods keep their shape. Or read the gram measurement.
    • Smooth the Batter- Many gluten free batters have a way of staying exactly as they are placed, when baked. When the batter is in the cake pans, gently smooth the tops with a butter knife prior to baking.
    • Use a Cake Scraper- Work with a cake scraper or a large icing spatula. The frosting should be super thin on the sides.
    • Use 2 Types of Cocoa Powder in the Frosting- The 2 types of cocoa powders give the frosting that richer flavor. If you only have one type on hand, use natural unsweetened or dutch; just know the color will not be as dark as mine. Do not use dark alone; it will make your frosting too chalky and bitter.
    • Use Room Temperature Butter in the Frosting- Do not use softened or melted butter/vegan baking sticks. The frosting will be way too runny. If using vegan butter, make sure it's on the cold side versus room temperature. Also, use vegan baking sticks instead of vegan butter from a tub.
    • Making The Frosting- If the frosting is too liquidy, add more confectioners’ sugar 1 tablespoon at a time until you reach the desired consistency. It should be thick enough to stay put on the cake and not run off. If the buttercream appears too thick, add a little water ¼ teaspoon at a time until you reach the desired consistency.
    • Make the Frosting the Day Before- You don’t have to do this the day before, but it definitely makes assembling the cake a much quicker process. Store the frosting in a bowl covered with plastic wrap in the fridge. When ready to use, let it come to room temperature and rewhip to regain the creamy texture.

    Recipe FAQs

    Can I make this yellow cake recipe ahead of time?


    Most gluten free baked goods are best made the same day, but you can make this cake the night before and then pipe the extra frosting decorations in the morning. 

    If making the night before, keep the cake in the fridge under a dome or wrapped in foil until ready to decorate.

    Can this yellow cake be made into cupcakes?


    Yes, this recipe makes 16 cupcakes.

    Bake them at the same temperature for 25 minutes until tops are golden and springy when gently and carefully poked.

    What if I don't have a piping bag? What can I use instead?


    To decorate the cake, if you don’t have a piping bag you can use your icing spatula or butter knife or the back of a spoon to make swirls or marks all over.

    You can look at my Vegan Vanilla Cake for inspiration.

    Can I make the fudge frosting ahead of time?


    Yes! You can make the frosting the night before.

    Store it in a bowl covered with plastic wrap in the fridge. When ready to use, bring the frosting to room temperature and rewhip to regain that creaminess.

    How do I store this Yellow Cake with Chocolate Frosting?


    Storing: Once the cake is cut into, cut the entire cake into slices, wrap each slice in foil and store in a zip top bag in the fridge for up to 2 days.

    When ready to eat, let the slices sit on the counter, in the foil for about an hour or until the cake is room temperature and soft. If desired, warm each slice in the microwave for 5-10 seconds; be careful not to burn your mouth.

    Freezing: If not eating all the extra slices within 2 days, wrap slices in foil, place in the zip top bag and freeze for up to 30 days.

    When ready to eat, put the slices in the fridge the night before or leave them out on the counter for 2 hours prior to eating or until the cake is room temperature and soft. If desired, warm each slice in the microwave for 5-10 seconds; be careful not to burn your mouth.

    A fork takes a bit of a slice of the yellow cake with chocolate frosting.

    More Layer Cake Recipes You'll Love

    • The layers alternating from cake, to pudding, to cake, to frosting.
      Brooklyn Blackout Cake
    • Delicious gluten free marble birthday cake with creamy chocolate and vanilla frosting.
      Marble Birthday Cake
    • Triple Chocolate Layer Cake Oozing with chocolate ganache.
      Triple Chocolate Layer Cake
    • A complete Chocolate Blueberry Cake dripping with chocolate ganache topped with blueberries.
      Chocolate Blueberry Cake

    Did you try this recipe? Please leave me a ⭐ review below!

    Don’t forget to tag me on Instagram @laneandgreyfare and follow along on Pinterest, Facebook and YouTube! Enjoy!!! 

    📖 Recipe

    Looking inside the decadent yellow cake with chocolate frosting with rainbow nonpareils.

    Yellow Cake with Chocolate Frosting

    Author: Lee
    This Yellow Cake with Chocolate Frosting is a delicious soft and fluffy golden cake surrounded by layers of fudgy chocolate frosting. Perfect for any occasion, not just birthdays, it is simple to make and easy to assemble! Best of all, it’s gluten free, nut free, egg free and easily vegan!
    5 from 8 votes
    Prevent your screen from going dark
    Print Recipe Pin Recipe
    Prep Time 45 minutes mins
    Cook Time 35 minutes mins
    Assembly Time 15 minutes mins
    Total Time 1 hour hr 35 minutes mins
    Course Desserts
    Cuisine American
    Servings 12 Slices
    Calories 787 kcal

    Ingredients
     
     

    For the Yellow Cake

    • 2 ¼ cups multipurpose gluten free flour (I use a gluten free multipurpose flour with xanthan gum already in it)
    • 1 cup granulated sugar
    • 1 ½ teaspoons baking powder
    • ½ teaspoon baking soda
    • ½ teaspoon kosher salt
    • 1 ½ cups milk
    • ½ cup light brown sugar , packed
    • ½ cup vegetable oil
    • 2 teaspoons pure vanilla extract

    For the Chocolate Fudge Frosting

    • 1.5 cups unsalted butter or vegan being stick, room temperature
    • 7 cups confectioners' sugar
    • 2 cups cocoa power ( I use 1 cup of Dutch or Natural Unsweetened and 1 cup of Dark)
    • 4 teaspoons pure vanilla extract
    • 1 cup water , room temperature

    Instructions
     

    For the Yellow Cake

    • Preheat the oven to 350 degrees Fahrenheit and grease and line two 8 inch cake pans with parchment paper. Set aside.
    • In a large bowl whisk together the 2 ¼ cups multipurpose gluten free flour, 1 cup granulated sugar, 1 ½ teaspoons baking powder, ½ teaspoon baking soda and ½ teaspoon kosher salt. Set aside.
    • In a medium bowl, whisk together the 1 ½ cups milk, ½ cup light brown sugar, ½ cup vegetable oil and 2 teaspoons pure vanilla extract.
    • Slowly add the milk mixture into the dry ingredients and whisk to combine. It if gets too thick, switch to a spatula but it should be fairly liquidy.
    • Divide the batter evenly into 2 greased and parchment lined 8 inch cake pans and smooth the tops with a butter knife.
    • Bake the cakes in the center rack at 350 degrees Fahrenheit for 35 minutes until slightly springy when carefully touched.
    • Remove cakes from oven and let the cakes cool almost completely in the pan for 15 mins before trying to remove. Then remove from pans and let cool completely on a wire cooling rack.
      Once cool, slice both cakes in half horizontally. Now you have 4 thin layers of cake.
      If your cakes have dome tops, you can take a thin layer off the tops of the cake with a knife, to make a flat surface.

    For the Chocolate Fudge Frosting

    • In the large bowl of an electric mixer or using a hand held mixer, beat the 1 ½ cups unsalted butter until smooth.
    • Slowly beat in the 7 cups plus confectioners' sugar, the 2 cups cocoa powder and the 4 teaspoons pure vanilla extract and beat until combined.
    • Slowly beat in the 1 cup of water a little at a time until you get the desired consistency. You may not need to use it all.

    Assemble the Cake and Decorate

    • Separate the frosting into 5 equal sections.
      Place one layer of cake on the bottom of a cake plate/stand. Scoop ⅕ (about 1 cup) of the frosting on top and use an icing spatula to spread it around. 
    • Place another layer of cake on top; repeat this same process. Do this with 3 layers of cake.
    • Once you get to the last layer of cake, place it bottom (or flat) side up so the top of the cake is nice and flat. Use an icing spatula or a butter knife to frost the top and a thin layer on the sides of the cake
      You should only use a fifth of the frosting on the top and sides combined.
    • Take the last ⅕th of buttercream and put it into a piping bag. Create swirls going all the way around the top rim of the cake.
      Sprinkle some nonpareils or sprinkles on top of the frosting swirls. Enjoy!

    Video

    Notes

    Vegan: Use a dairy free gluten free flour, vegan sugar, vegan baking sticks, non-dairy milk and vegan sprinkles.
    All Purpose Flour: I cannot test this due to celiac disease, but use 2 ¼ cups packed AP flour (378 grams) and only 1 ¼ cups of milk.
    Storing: Once the cake is cut into, it’s best to cut the entire cake into slices and wrap each slice in foil and store in a zip top bag in the fridge. Eat extra slices within 2 days.
    When ready to eat, let the slices sit on the counter, in the foil for about an hour or until the cake is room temperature and soft. If you want to microwave a slice, do it in 5 second increments and be careful not to burn your mouth on hot frosting.
    Freezing: If not eating all the extra slices within 2 days, take the slices wrapped in foil and place in the zip top bag and freeze them. You can keep the slices frozen for up to 30 days.
    When ready to eat, put the slices in the fridge the night before or leave them out on the counter for 2 hours prior to eating or until the cake is room temperature and soft.
    Nutrition: The info below is a generated estimate and is not guaranteed to be accurate. 

    Nutrition

    Calories: 787kcalCarbohydrates: 122gProtein: 6gFat: 36gSaturated Fat: 18gPolyunsaturated Fat: 6gMonounsaturated Fat: 9gTrans Fat: 1gCholesterol: 65mgSodium: 219mgPotassium: 287mgFiber: 8gSugar: 97gVitamin A: 759IUCalcium: 116mgIron: 3mg
    Tried this recipe?Let us know how it was!

    The recipe for the cake was adapted from The Food Network's Vegan Vanilla Cupcakes.

    More Cakes and Cupcakes

    • A chocolate cupcake with vanilla frosting adorned with white nonpareils.
      Chocolate Cupcakes with Vanilla Frosting
    • A perfect slice of Maple Cake made with maple syrup.
      Maple Cake
    • Warm and quick blueberry mug cake ready to be enjoyed.
      Blueberry Mug Cakes
    • An inviting chocolatey slice of chocolate olive oil cake dusted with confectioners’ sugar.
      Chocolate Olive Oil Cake

    Comments

    1. Tyler says

      October 12, 2024 at 7:40 pm

      5 stars
      This is probably my new favorite cake recipe. The cake batter was super easy to make; I couldn’t believe how quick it took. For the frosting, I halved the recipe and also added some sea salt to cut the sweetness and enhance the chocolate flavor. I left the cakes whole, I didn’t cut them into layers. I’m not a huge frosting fan, so I piped the frosting onto one of the cakes, placed the other on top, and piped more frosting onto that one. I added sprinkles and decorations and it’s absolutely adorable. Half the frosting recipe was more than enough to assemble it this way. The cake tastes perfectly sweet and the chocolate frosting doesn’t overpower the golden cake layers.

      Reply
      • Lee says

        October 13, 2024 at 4:11 pm

        Thanks so so much!

        Reply
    2. Dan Spicer says

      October 22, 2022 at 3:01 pm

      5 stars
      I made this for my bff for her birthday. She said it was so good that I need to start selling lol. I did give credit where it was suppose to go lol. It was so easy to follow the directions and if I can make it so can you! Thank you again for yet another awesome recipe. Wish I could post a picture here.

      Reply
      • Ranjit Solanki says

        September 26, 2025 at 1:52 pm

        GF Plain flour in the UK does not contain xanthan gum.
        How much should I add xanthan gum? please advice

        Reply
        • Lee says

          September 26, 2025 at 10:13 pm

          Hi there! Typically you can add 1/4 teaspoon xanthan gum per 1 cup of gluten free flour. Hope this helps!

    3. Nancy says

      August 02, 2022 at 9:22 am

      5 stars
      I made this cake and let me tell you my family just loved it!

      Reply
    4. John says

      July 27, 2021 at 7:11 pm

      5 stars
      Wow! Golden layer cake looks delicious!

      Reply
      • Lee says

        August 04, 2021 at 3:57 pm

        Thank you so so much!

        Reply
      • Tiffany says

        January 28, 2025 at 10:23 am

        Can I just use all white sugar for this recipe? Would the same amount be used in place of the brown sugar?
        Thank You

        Reply
        • Lee says

          January 28, 2025 at 12:29 pm

          Yes! You can...the cake may be a bit lighter in color and a little sweeter than if you used the light brown sugar. Hope this helps!

    5 from 8 votes (4 ratings without comment)

    Leave a Reply Cancel reply

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

    Recipe Rating




    LET'S CONNECT!

    • Instagram
    • Facebook
    • Pinterest
    • YouTube
    • TikTok

    Lee, the beautiful founder of Lane and Grey Fare.

    Hi guys, I'm Lee! As a mother of two children with celiac disease and multiple food allergies, I wanted to share all that I’ve learned with others in a way that’s entertaining and helpful. All my food is 100 percent gluten free, nut free, seed free, egg free and most of my baked goods can easily be made dairy free (vegan).

    Read More

    Easter Recipes

    • A round pink Strawberry Sugar Cookie on wax paper amongst fresh strawberries.
      Strawberry Sugar Cookies
    • The insane amount of chocolate chips melted inside the soft Bakery-Style Chocolate Chip Muffins.
      Bakery Style Chocolate Chip Muffins
    • A Perfect Bite taken from this soft Lemon Raspberry Cookie with raspberry glaze.
      Lemon Raspberry Cookies
    • A Sprinkle Sugar Cookie with a bite taken out.
      Sprinkle Sugar Cookies
    • Small Batch Chocolate Chip Cookies on a cooling rack.
      Small Batch Chocolate Chip Cookies
    • Light and airy, this Irish Tea Cake sits covered in powdered sugar.
      Irish Tea Cake

    Popular Recipes

    • Bright yellow Eggless Lemon Curd in a glass ramekin.
      Eggless Lemon Curd
    • A Perfect Bite taken from this soft Lemon Raspberry Cookie with raspberry glaze.
      Lemon Raspberry Cookies
    • A round pink Strawberry Sugar Cookie on wax paper amongst fresh strawberries.
      Strawberry Sugar Cookies
    • A slice of soft eggless vanilla cake topped with delicious frosting and rainbow sprinkles.
      Eggless Vanilla Cake
    • Irresistible Raspberry Cookies infused with luscious raspberries and coated perfectly in sugar.
      Raspberry Cookies
    • A delicious slice of vegan flourless chocolate cake with a strawberry on top on a black plate.
      Vegan Flourless Chocolate Cake

    Featured on

    Apartment Guide Logo
    Eat Blog Talk Logo
    Tiny Beans Logo
    Spokin Logo

    Footer

    ↑ back to top

    ABOUT
    ABOUT ME
    PRIVACY POLICY
    ACCESSIBILITY POLICY
    WORK WITH ME

    NEWSLETTER
    SIGN UP for emails and updates

    CONTACT
    CONTACT
    PORTFOLIO

    As an Amazon Associate I earn from qualifying purchases.

    Copyright © 2026 Lane & Grey Fare, All Rights Reserved.

    Rate This Recipe

    Your vote:




    A rating is required
    A name is required
    An email is required

    Recipe Ratings without Comment

    Something went wrong. Please try again.