This gingerbread cake gets its deep, spicy flavor and tender crumb from a balance of molasses, warm spices, and a gluten-free flour blend. The molasses adds moisture and a dark, caramelized sweetness, while the dairy-free fat (oil or vegan butter) keeps the cake soft without needing milk or butter. It’s a sturdy, sliceable cake that works for holiday dessert, a coffee break, or a potluck.
Ingredients
- 2 cups (280 g) gluten-free all-purpose flour blend (with xanthan gum, or add 1 tsp xanthan gum)
- 1 tsp baking soda
- 1 ½ tsp ground ginger
- 1 tsp ground cinnamon
- ½ tsp ground cloves
- ½ tsp salt
- ½ cup (120 ml) neutral oil (canola, sunflower, or melted coconut oil)
- ½ cup (100 g) packed brown sugar
- 1 large egg (or flax egg: 1 tbsp ground flax + 3 tbsp water, let sit 5 min)
- ½ cup (120 ml) unsulphured molasses
- ½ cup (120 ml) water, at room temperature
- 1 tsp apple cider vinegar
Instructions
- Preheat the oven to 350°F (175°C). Grease an 8×8-inch (20×20 cm) baking pan with oil or line with parchment paper.
- In a medium bowl, whisk together the gluten-free flour, baking soda, ginger, cinnamon, cloves, and salt.
- In a large bowl, whisk the oil, brown sugar, and egg until smooth. Whisk in the molasses, water, and vinegar.
- Pour the dry ingredients into the wet mixture and stir until just combined. The batter will be thin.
- Pour the batter into the prepared pan. Bake for 35–40 minutes, until a toothpick inserted in the center comes out clean. The top will look set and spring back when lightly pressed.
- Cool in the pan on a wire rack for 15 minutes, then lift out and cool completely before slicing.
Substitutions That Change the Cake
- Flour blend: Use a blend that contains xanthan gum (like Bob’s Red Mill 1-to-1). If your blend has no gum, add 1 tsp xanthan gum to the dry mix. A rice-based blend works well; a bean-based blend will make the cake denser.
- Oil: Replace the oil with ½ cup (113 g) melted dairy-free butter or ½ cup (120 g) unsweetened applesauce. Applesauce makes the cake slightly more tender and a bit less rich; the texture will be closer to a snack cake.
- Egg: For an egg-free version, use a flax egg (1 tbsp ground flax + 3 tbsp water, let sit 5 minutes). The cake will be a little less tall and slightly more crumbly.
- Molasses: Dark molasses gives the strongest gingerbread flavor. If you only have light molasses, the cake will be milder and a bit sweeter. Do not substitute honey or maple syrup—the flavor and texture change significantly.
- Sweetener: Use ½ cup (100 g) coconut sugar instead of brown sugar; the cake will be slightly less moist and have a more caramel-like taste.
Why the Cake Comes Out Too Dry, Too Dense, or Too Flat
Too dry: Overbaking is the most common cause. Check at 35 minutes; if the toothpick is clean, stop. Also, gluten-free flours absorb more liquid than wheat flour, so measure the flour by spooning it into the cup and leveling off—do not scoop directly from the bag. If your batter looks very thick before baking, add an extra tablespoon of water.
Too dense: This happens when the batter is overmixed, which develops the gums in gluten-free flour and makes the cake heavy. Mix until the dry streaks disappear, then stop. Also, make sure your baking soda is fresh—test by dropping a little into vinegar; it should bubble vigorously.
Too flat: The vinegar and baking soda react to create lift. If you skip the vinegar, the cake will not rise as much. Also, check that your baking soda is not expired. If the batter seems thin, that is normal; do not add extra flour.
Storing and Freezing Gingerbread Cake
Store the cooled cake in an airtight container at room temperature for up to 3 days. For longer storage, wrap the cake tightly in plastic wrap and then foil, and freeze for up to 3 months. Thaw overnight in the refrigerator before serving. To refresh, warm individual slices in a 300°F (150°C) oven for 5–7 minutes.
How to Serve and Make It Ahead
Serve the cake plain, dusted with powdered sugar, or with a dairy-free whipped topping. It also tastes good with a spoonful of dairy-free vanilla ice cream. You can make the batter a day ahead: cover the bowl and refrigerate overnight, then bring to room temperature for 30 minutes before baking. The baking time may increase by 5 minutes because the batter is cold.
Can I Use Whole Wheat or Regular Flour?
Yes, you can substitute an equal amount of all-purpose wheat flour for the gluten-free blend. The cake will be slightly less tender and a bit more sturdy, but it will still work. If you use whole wheat flour, reduce the flour to 1 ¾ cups (220 g) because whole wheat absorbs more liquid.
Does the Cake Need to Be Refrigerated?
No, this cake is safe at room temperature for 3 days because it contains no dairy and the egg is fully baked. If you add a dairy-free frosting or topping that contains perishable ingredients, refrigerate the frosted cake and bring to room temperature before serving.
Related
- Dairy-Free Gingerbread Recipe UK
- Dairy-Free Gingerbread Cookie Recipe
- Dairy-Free Gingerbread Cookies Recipe
Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.
Spotted an error? Tell us and we will correct it (corrections policy).
