Cozy Gluten-Free Spice Cake

As the crisp air of autumn descends, there’s a unique comfort that only a perfectly spiced cake can deliver. This gluten-free spice cake is my ultimate go-to, consistently hitting that sweet spot of warmth and indulgence. Every forkful offers a delightful experience: a wonderfully soft, moist, and fluffy crumb, infused with a harmonious blend of aromatic spices. It’s truly the quintessential fall treat, providing that much-needed remedy for cooler days and longer nights. Beyond its seasonal charm, it’s also remarkably quick and easy to prepare, making it a favorite for those times when I crave something comforting yet effortless. The grand finale? A luxurious layer of tangy, creamy cream cheese frosting, transforming this simple cake into an extraordinary delight. Whether you’re planning for festive fall gatherings, holiday baking, or simply yearning for a nostalgic and sweet escape, this spice cake promises to be a cherished addition to your recipe collection.

Top-down view of sliced gluten-free spice cake with cream cheese frosting on parchment paper, with cinnamon sticks nearby.

While I certainly appreciate the vibrant and fresh flavors of summer, I confess a deeper affection for the comforting tastes of autumn. There’s an undeniable magic in warm spices like cinnamon, ginger, nutmeg, and cloves. They evoke a sense of home and coziness, much like my beloved gluten-free carrot cake. What truly sets this spice cake apart is the clever use of applesauce, a secret ingredient that ensures an exceptionally moist and tender crumb without ever making the cake feel heavy. This exquisite combination of rich flavor and delightful texture is truly unparalleled. Crowned with a generous swirl of luscious cream cheese frosting, it embodies everything I desire in a comforting fall dessert. This straightforward cake is not just easy to make; it’s a burst of flavor, a cozy embrace, and a seasonal favorite that I find myself returning to repeatedly, whether for holidays or simply to enjoy with an afternoon cup of tea or coffee.

Rated 5 out of 5 stars by 1 user

Gluten-Free Spice Cake

By:
Ashley Barbey
Servings:
16 servings
Prep:
15 mins
Cook:
30 mins
Total:
45 mins
Pin Recipe
Share by Email
Print Recipe
Top-down view of sliced gluten-free spice cake with cream cheese frosting on parchment paper, with cinnamon sticks nearby.

All I want once the weather cools down is a cozy slice of something spiced, and this gluten-free spice cake hits the spot every time. Each bite is soft, fluffy, and perfectly balanced with warm spices, which is just the remedy I need in the Fall. It’s also one of my favorites to make when I need something quick but delicious and comforting. A layer of tangy cream cheese frosting takes it over the top and makes it feel extra special.

Step-by-step photos can be seen below the recipe card.

Equipment

  • 1 9×9 baking pan

Ingredients

For the cake

  • 1½ cups gluten-free 1:1 flour (I like Cup4Cup or King Arthur Measure for Measure)
  • 1 tsp baking powder
  • ½ tsp baking soda
  • ½ tsp salt
  • 1¼ tsp cinnamon
  • ½ tsp ginger
  • ¼ tsp nutmeg
  • ¼ tsp cloves
  • ⅔ cup granulated sugar
  • ¼ cup of canola or avocado oil
  • 1½ tbsp molasses (Sub 1 tbsp maple syrup or dark brown sugar)
  • 1 tsp vanilla extract
  • 2 eggs, room temperature
  • ½ cup sour cream, room temperature (use plain Greek yogurt. For dairy-free, swap with plain non-dairy yogurt)
  • ½ cup applesauce (Sub mashed ripe banana or pumpkin purée in equal measure)

For the frosting

  • ¼ cup unsalted butter, room temperature
  • 1 8-oz block cream cheese, room temperature
  • 2½ cups powdered sugar
  • 1½ tsp vanilla extract

Instructions

For the cake

  1. Preheat your oven to 350°F (175°C) and prepare a 9×9-inch square baking pan by lining it with parchment paper. This ensures easy removal and prevents sticking.
  2. In a medium-sized bowl, thoroughly whisk together the gluten-free flour blend, baking powder, baking soda, salt, cinnamon, ginger, nutmeg, and cloves. Ensure all dry ingredients are well combined to distribute the leavening agents and spices evenly.
  3. In a separate, large bowl, whisk together the granulated sugar and canola or avocado oil until the mixture is smooth and thoroughly combined.
  4. Next, whisk in the vanilla extract and molasses into the sugar and oil mixture. The molasses adds a deeper, richer flavor and moisture to the cake.
  5. Incorporate the eggs, adding them one at a time. Whisk vigorously after each addition to fully integrate the egg into the batter, contributing to the cake’s structure and richness.
  6. Gently whisk in the room-temperature sour cream and applesauce. These ingredients are key to achieving a supremely moist and tender cake. Continue mixing until the batter appears smooth and uniform.
  7. Gradually add the whisked dry flour and spice mixture to the wet ingredients. Stir gently, just until all ingredients are combined. Be careful not to overmix the batter, as this can lead to a dense or tough cake.
  8. Pour the prepared batter evenly into your parchment-lined 9×9-inch baking pan, spreading it to the corners to ensure even baking.
  9. Bake for 25-30 minutes, or until a wooden toothpick inserted into the center of the cake comes out clean, or with just a few moist crumbs clinging to it. Once baked, allow the cake to cool completely in the pan on a wire rack before attempting to frost it.

For the frosting

  1. In the bowl of a stand mixer fitted with a paddle attachment (or using a hand mixer), beat the room-temperature unsalted butter and cream cheese on medium speed. Continue beating for about 3-5 minutes until the mixture is incredibly smooth, light, and creamy, with no lumps. This step is crucial for smooth frosting.
  2. Reduce the mixer speed to low. Gradually add the powdered sugar, vanilla extract, and a small pinch of salt (the salt helps balance the sweetness). Add the powdered sugar slowly to prevent a sugary cloud from forming.
  3. Once all the powdered sugar is fully incorporated and the mixture is smooth on low speed, increase the mixer speed to medium-high. Beat for an additional 3-5 minutes until the frosting becomes notably light, airy, and fluffy.
  4. Carefully spread the prepared cream cheese frosting evenly over the completely cooled spice cake using an offset spatula or knife. Once frosted, slice the cake into squares and serve immediately. Enjoy your delightful gluten-free spice cake!

Notes

  • Room Temperature Ingredients: For optimal texture and consistency in your cake and frosting, always ensure your cold ingredients like eggs, butter, and sour cream are brought to room temperature before mixing. I recommend setting them out on the counter for at least 30 minutes prior to baking. This allows them to emulsify better, creating a smoother batter and frosting.
  • Choosing Your Oil: You can use avocado oil, canola oil, or vegetable oil interchangeably in this recipe. Each will contribute to a moist cake without imparting a strong flavor. If you prefer a richer, more buttery flavor profile, you can swap the oil with an equal amount of melted (but cooled) unsalted butter.
  • Flavor and Texture Enhancements: To add an extra dimension of texture and flavor, consider incorporating chopped walnuts or pecans into the batter. For a fruitier note, raisins or dried cranberries can also be a wonderful addition. For an elegant finish, a light dusting of cinnamon or powdered sugar over the frosted cake before serving adds a beautiful touch.
  • Egg-Free Option: If you need an egg-free version of this cake, you can successfully substitute the two large eggs with two flax eggs. To make a flax egg, combine 2 tablespoons of ground flaxseed with 6 tablespoons of water and let the mixture sit for about 5 minutes until it thickens into a gel-like consistency. While this substitution may slightly alter the cake’s texture, it still yields a delicious result.

Nutrition

Serving: 1serving
Calories: 249kcal
Carbohydrates: 39g
Protein: 5g
Fat: 9g
Saturated Fat: 3g
Polyunsaturated Fat: 1g
Monounsaturated Fat: 4g
Trans Fat: 0.1g
Cholesterol: 34mg
Sodium: 257mg
Potassium: 98mg
Fiber: 1g
Sugar: 30g
Vitamin A: 174IU
Vitamin C: 0.2mg
Calcium: 96mg
Iron: 1mg

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

Additional Info

Course:
Baking, Dessert
Cuisine:
American

Tried this recipe?
Mention @mamaknowsglutenfree or tag #mamaknowsglutenfree!

How to Make Gluten-Free Spice Cake Step by Step

Creating this delicious gluten-free spice cake is a straightforward and rewarding process. Follow these detailed steps to ensure a perfect bake every time, from gathering your ingredients to that final, delectable slice.

gluten-free spice cake ingredients laid out on a table

Step 1: Gather Ingredients and Preheat Oven. Begin by collecting all your required ingredients. This “mise en place” approach ensures a smooth baking experience. Preheat your oven to 350°F (175°C) so it’s ready when your batter is prepared. Having all ingredients at room temperature, especially eggs, butter, and sour cream, is crucial for a smooth, well-emulsified batter and fluffy cake structure.

9x9-inch square baking pan lined with parchment paper and clipped at the edges for easy cake removal.

Step 2: Prepare Your Baking Pan. Line a 9×9-inch square baking pan with parchment paper. Leave an overhang on two sides to create “handles,” which will make it incredibly easy to lift the cooled cake out of the pan. Clip the sides if necessary to prevent the paper from sliding down, ensuring a neat cake shape.

Glass mixing bowl with whisked gluten-free flour and warm spices like cinnamon, ginger, and nutmeg.

Step 3: Mix the Dry Ingredients. In a medium mixing bowl, combine 1½ cups of gluten-free 1:1 baking flour (such as Cup4Cup or King Arthur Measure for Measure, which typically contain xanthan gum), 1 teaspoon of baking powder, ½ teaspoon of baking soda, ½ teaspoon of salt, 1¼ teaspoons of ground cinnamon, ½ teaspoon of ground ginger, ¼ teaspoon of ground nutmeg, and ¼ teaspoon of ground cloves. Whisk these dry ingredients thoroughly to ensure the spices and leavening agents are evenly distributed throughout the flour, which is vital for consistent flavor and rise.

Glass bowl with whisked yellow mixture of sugar and oil for the gluten-free spice cake batter.

Step 4: Combine Sugar and Oil. In a separate, larger bowl, whisk together ⅔ cup of granulated sugar and ¼ cup of canola or avocado oil. Continue whisking until the mixture is completely smooth and well combined. This forms the foundational wet base of your cake batter, providing initial moisture and sweetness.

Glass bowl showing the wet ingredients mixed with molasses and vanilla, creating a deep brown color.

Step 5: Add Vanilla and Molasses. To the sugar and oil mixture, whisk in 1 teaspoon of vanilla extract and 1½ tablespoons of molasses. The molasses not only deepens the cake’s color but also adds a rich, complex sweetness and helps maintain moisture. Ensure these are fully incorporated before moving on.

Smooth, pale orange batter in a glass bowl after combining eggs, sour cream, and applesauce.

Step 6: Incorporate Remaining Wet Ingredients. Add 2 large room-temperature eggs, one at a time, whisking well after each addition until fully blended. Following this, add ½ cup of room-temperature sour cream (or plain Greek yogurt, or a non-dairy alternative) and ½ cup of applesauce. These ingredients are essential for a moist, tender crumb and a rich texture. Whisk until the batter is completely smooth and uniform, free of any lumps.

Fully mixed gluten-free spice cake batter in a bowl, ready to be poured into the pan.

Step 7: Combine Wet and Dry Mixtures. Gradually add the dry flour and spice mixture to the wet ingredients. Gently stir until they are just combined. It is crucial not to overmix the batter at this stage, as overmixing can develop the gluten-free flour’s starches too much, leading to a tougher, denser cake. Stop mixing as soon as no dry streaks of flour remain.

Spice cake batter spread evenly in a parchment-lined square baking pan, ready to bake.

Step 8: Transfer to Pan and Bake. Pour the cake batter into the prepared 9×9-inch pan. Use a spatula to spread the top evenly. Bake for 25–30 minutes, or until a toothpick inserted into the center comes out clean or with a few moist crumbs clinging to it. The bake time can vary slightly depending on your oven. Once baked, let the cake cool completely in the pan on a wire rack. This is a crucial step before frosting to prevent the frosting from melting.

Creamed butter and cream cheese whipped together in a mixing bowl, forming the base for the frosting.

Step 9: Prepare the Cream Cheese Frosting. In the bowl of a stand mixer fitted with the paddle attachment (or using a hand mixer), beat ¼ cup of unsalted butter and 1 (8-oz) block of cream cheese, both at room temperature. Beat on medium speed for 3–5 minutes until the mixture is incredibly smooth, creamy, and free of any lumps. This aeration step creates the base for light and fluffy frosting.

Smooth and fluffy cream cheese frosting in a clear mixing bowl, ready to spread on the cake.

Step 10: Finish the Frosting. Turn the mixer speed to low. Gradually add 2½ cups of powdered sugar and 1½ teaspoons of vanilla extract. Optionally, add a tiny pinch of salt to balance the sweetness. Mix on low until all the powdered sugar is fully incorporated. Then, increase the mixer speed to medium-high and beat for another 3–5 minutes until the frosting is wonderfully light, airy, and fluffy. This final whip makes the frosting incredibly spreadable and delicious.

Gluten-free spice cake topped with swirled cream cheese frosting in a parchment-lined square pan.

Step 11: Frost and Serve. Once the cake is completely cooled, spread the fluffy cream cheese frosting evenly over the top using an offset spatula or the back of a spoon. Create beautiful swirls for a rustic look. Slice the frosted cake into squares, and it’s ready to be savored! Each bite promises a harmonious blend of warm spices and creamy tang.

Close-up side view of a slice of gluten-free spice cake with thick cream cheese frosting, showing moist crumb and texture.

Pro Tips for Baking Success

Achieving a perfectly moist and flavorful gluten-free spice cake is simple with these expert tips:

  • Choose the Right Gluten-Free Flour: The success of your gluten-free cake largely depends on the flour blend. Always opt for a high-quality gluten-free 1:1 baking flour blend that specifically includes xanthan gum. Xanthan gum is crucial for providing structure and elasticity that gluten typically offers. Popular and reliable brands include King Arthur Measure for Measure or Cup4Cup. If your chosen blend does not contain xanthan gum, add about ½ teaspoon per cup of flour to compensate. Avoid using single-ingredient gluten-free flours like just almond flour or coconut flour, as they have vastly different properties and won’t yield the same light and fluffy texture in this recipe.
  • Check Your Leavening Agents: A dense or flat cake is often a sign of expired leavening agents. Baking powder and baking soda lose their potency over time, failing to provide the necessary lift. To test baking powder, drop a spoonful into a small bowl of warm water; it should immediately fizz vigorously. For baking soda, mix it with a little vinegar or lemon juice; it should also bubble up dramatically. If they don’t react, it’s time to replace them.
  • Achieve Silky Smooth Frosting: A grainy or lumpy frosting is usually the result of cream cheese and butter that weren’t sufficiently beaten before adding the powdered sugar. For the smoothest, silkiest frosting texture, ensure both your butter and cream cheese are at absolute room temperature (soft enough to easily dent with a finger). Beat them together on medium speed for a full 3-5 minutes until they are incredibly light, airy, and completely creamy, with no discernible lumps. This aeration creates a stable base that will prevent grittiness when the sugar is added.
  • Avoid Overmixing the Batter: Overmixing is a common culprit for cakes that rise beautifully in the oven only to collapse later, or cakes with a tough, rubbery texture. While gluten-free flours behave differently from wheat flour, overmixing can still overdevelop the starches in the blend, leading to a rigid structure that can’t hold its rise. It can also introduce too much air, causing the cake to puff up too quickly and then fall as it cools. Mix the wet and dry ingredients just until combined, meaning no visible streaks of dry flour.
  • Ensure Proper Baking Doneness: Underbaking is another reason cakes collapse or become gummy. An underbaked center might be too wet and unstable to support the rest of the cake. Always test for doneness by inserting a wooden toothpick into the center of the cake. It should come out clean or with only a few moist crumbs attached. If it comes out wet with raw batter, continue baking in short intervals (2-5 minutes) and retest.
  • Measure Flour Correctly: For baking, especially gluten-free, precision is key. If possible, weigh your flour using a kitchen scale for the most accurate measurement. If measuring by volume, spoon the flour into your measuring cup and then level it off with a straight edge, rather than scooping directly from the bag, which can compact the flour and result in using too much.

Perfect Pairings & Serving Ideas

This gluten-free spice cake is a star on its own, but here are some delightful ways to enhance your enjoyment:

  • Classic Beverage Pairings: The warm spices in this cake make it an ideal companion for a hot cup of black tea, a steaming mug of coffee, or a rich chai latte, especially on a crisp autumn afternoon. For a touch of indulgence, consider a spiced apple cider.
  • After a Comfort Meal: This cake is the perfect comforting dessert to follow a hearty, cozy meal. Imagine serving it after a satisfying gluten-free meatloaf dinner, a bowl of warming gluten-free chicken noodle soup, or a festive roasted chicken.
  • For Special Occasions: Its elegant flavor profile and creamy frosting make it suitable for fall gatherings, Thanksgiving dessert spreads, Christmas celebrations, or simply as a special treat for cozy weekend baking.
  • Garnish for Extra Flair: Elevate its presentation with a sprinkle of extra cinnamon or nutmeg, a dusting of powdered sugar, or a scattering of finely chopped walnuts or pecans for a delightful textural crunch. A few candied ginger pieces or a curl of orange zest can also add a gourmet touch.
  • A La Mode: For an ultimate indulgence, serve a warm slice of this spice cake with a scoop of vanilla bean ice cream or a dollop of fresh whipped cream. The contrast of warm cake and cold creaminess is simply divine.

Storing Your Spice Cake

Proper storage is key to keeping your gluten-free spice cake fresh and delicious for longer:

  • Refrigeration for Frosted Cake: Due to the cream cheese frosting, any leftover frosted cake should be stored in an airtight container in the refrigerator. This will keep it moist and flavorful for up to 5 days. The frosting holds up beautifully when chilled, maintaining its creamy texture.
  • Freezing the Unfrosted Cake: If you plan to make the cake ahead or have a lot of leftovers, it’s best to freeze it before frosting. Once the baked cake has cooled completely, wrap it tightly in several layers of plastic wrap, followed by a layer of aluminum foil. This double protection helps prevent freezer burn. It can be frozen for up to 2 months. When you’re ready to serve, thaw the wrapped cake overnight in the refrigerator, and then frost it once it’s fully defrosted.
  • Make-Ahead Prep: For convenience, you can bake the cake a day in advance. After it has cooled completely, cover it tightly with plastic wrap or place it in an airtight container and store it at room temperature. Prepare the frosting fresh on the day of serving, and then frost the cake just before your guests arrive. This ensures the freshest taste and best presentation.

More Cozy Gluten-Free Treats You’ll Love

If you’re a fan of this gluten-free spice cake, you’ll surely enjoy these other comforting and delicious gluten-free recipes, perfect for fall and beyond:

  • Gluten-Free Cranberry Bread: A delightful quick bread bursting with tart cranberries, ideal for breakfast or a snack.
  • Gluten-Free Baked Donuts: Light and fluffy donuts, a healthier alternative to fried, easily customized with your favorite glazes.
  • Gluten-Free Apple Cake: A moist and tender cake packed with fresh apple pieces and warm spices, perfect for any occasion.
  • Gluten-Free Fruit Cake: A rich and festive cake loaded with candied fruits and nuts, a holiday classic made accessible.
  • Gluten-Free Apple Crisp: A warm, bubbly apple filling topped with a buttery, crispy gluten-free oat topping, best served with ice cream.