Easy Appetizers

Simple appetizers, snacks and home cooking answers

Gluten‑Free, Dairy‑Free Hummingbird Cake Recipe

· 5 min read · Baking and Desserts

In this article
  1. Ingredient List for a 9×13″ (23×33 cm) Cake
  2. Dairy‑Free Cream Cheese Frosting
  3. Baking Procedure
  4. Gluten‑Free Flour Substitution Myth
  5. Scaling the Recipe – Worked Example
  6. Substitution Guide for Common Allergens
  7. Cooling, Storage, and Shelf Life
  8. How to Check Doneness and Ensure Safety

Yes, you can make a hummingbird cake that is both gluten‑free and dairy‑free. The cake stays moist and tropical by using a blend of gluten‑free flours, coconut oil, and ripe fruit, while a simple dairy‑free frosting finishes it with the classic sweet tang.

Serves 12 · Prep 20 min · Cook 35 min · Total 1 hr 15 min

Ingredient List for a 9×13″ (23×33 cm) Cake

  • 1 ½ cups (180 g) gluten‑free all‑purpose flour blend (include xanthan gum)
  • ½ cup (60 g) almond flour
  • 1 tsp baking soda
  • ¼ tsp salt
  • ½ cup (120 ml) coconut oil, melted
  • ¾ cup (150 g) packed light brown sugar
  • ¼ cup (60 ml) unsweetened applesauce
  • 2 large eggs, at room temperature (or 2 pasteurized eggs)
  • 1 tsp vanilla extract
  • 1 cup (240 ml) crushed pineapple, drained
  • ½ cup (75 g) shredded carrots
  • ½ cup (60 g) chopped pecans (optional, omit for nut‑free)
  • ¼ cup (40 g) shredded unsweetened coconut (optional)

Dairy‑Free Cream Cheese Frosting

  • 8 oz (225 g) dairy‑free cream cheese, softened
  • ¼ cup (60 ml) coconut cream, chilled
  • 2 cups (250 g) powdered sugar, sifted
  • 1 tsp vanilla extract

Baking Procedure

  1. Preheat the oven to 350°F (177°C). Grease a 9×13″ (23×33 cm) baking pan with coconut oil and line the bottom with parchment paper.
  2. In a medium bowl whisk together the gluten‑free flour blend, almond flour, baking soda, and salt. Set aside.
  3. In a large bowl combine melted coconut oil and brown sugar; beat until smooth, about 30 seconds.
  4. Add applesauce, eggs, and vanilla; beat on medium speed until the mixture is light and fluffy, about 1 minute.
  5. Gradually add the dry‑ingredient mixture, mixing just until incorporated. Over‑mixing can make the crumb dense.
  6. Fold in crushed pineapple, shredded carrots, pecans, and coconut until evenly distributed.
  7. Pour the batter into the prepared pan, spreading it evenly. Bake for 30–35 minutes, or until a toothpick inserted in the center comes out clean and the top is golden brown.
  8. While the cake bakes, prepare the frosting: beat dairy‑free cream cheese and coconut cream together until smooth, then gradually add powdered sugar and vanilla. Chill for 10 minutes before spreading.
  9. Allow the cake to cool in the pan on a wire rack for 20 minutes, then turn out onto a serving platter. Frost while the cake is still slightly warm; the frosting will melt slightly and create a glossy finish.
  10. Slice and serve. Store leftovers as described below.

Gluten‑Free Flour Substitution Myth

Many bakers think gluten‑free flour can replace wheat flour 1:1 without any adjustments. In reality, gluten‑free blends often absorb more liquid and lack the elasticity of gluten, so recipes usually need extra moisture or a binding agent such as xanthan gum. The blend used here already contains xanthan gum, and the added almond flour and applesauce provide the necessary moisture, preventing a dry crumb.

Scaling the Recipe – Worked Example

If you only have an 8‑inch (20 cm) round pan, you can scale the batter to fit a smaller volume. An 8‑inch round pan holds about 6 cups (1.4 L) of batter, while a 9×13″ pan holds roughly 10 cups (2.4 L). The ratio is 6/10 = 0.6.

Multiply each ingredient by 0.6:

  • Gluten‑free flour blend: 1.5 cups × 0.6 ≈ 0.9 cup (≈ 108 g)
  • Almond flour: 0.5 cup × 0.6 ≈ 0.3 cup (≈ 36 g)
  • Brown sugar: 0.75 cup × 0.6 ≈ 0.45 cup (≈ 90 g)
  • Coconut oil: 0.5 cup × 0.6 ≈ 0.3 cup (≈ 72 ml)
  • Applesauce: 0.25 cup × 0.6 ≈ 0.15 cup (≈ 36 ml)
  • Eggs: 2 × 0.6 ≈ 1.2 eggs → use 1 large egg plus 1 tbsp beaten egg
  • Pineapple, carrots, pecans, coconut: each multiplied by 0.6.

Follow the same steps; bake for 25–30 minutes, checking doneness with a toothpick. This example shows how to adapt the recipe without guessing.

Substitution Guide for Common Allergens

If you need to avoid nuts, replace almond flour with an equal amount of additional gluten‑free all‑purpose flour. The texture will be slightly less tender but still moist.

For a dairy‑free frosting without coconut cream, use a chilled can of full‑fat coconut milk; scoop out the solidified cream and blend it with the cream cheese substitute.

Egg‑free version: substitute each egg with ¼ cup (60 ml) unsweetened applesauce or a commercial egg replacer that mimics binding. The cake will be a bit denser but safe for those with egg allergies.

Cooling, Storage, and Shelf Life

After frosting, let the cake sit at room temperature for 30 minutes, then cover loosely with foil. Refrigerate within 2 hours of baking; the cake will keep 4–5 days in the fridge.

For longer storage, wrap individual slices tightly in plastic wrap and freeze. Frozen slices retain quality for up to 2 months. Thaw frozen slices in the refrigerator overnight before serving.

Because the cake contains pineapple and coconut, it is prone to moisture loss. Store it in an airtight container or a cake keeper to prevent drying out.

How to Check Doneness and Ensure Safety

Insert a thin metal toothpick into the center of the cake; it should emerge clean or with only a few moist crumbs. The internal temperature of the baked batter will be around 200°F (93°C), well above the USDA safe minimum for egg dishes (160°F / 71°C).

If you use pasteurized eggs, the risk of salmonella is minimized, but the baked product is still safe because the heat reaches a temperature that destroys pathogens.

Always refrigerate leftovers within 2 hours of serving. When reheating, bring the cake or frosting to 165°F (74°C) to meet USDA FSIS guidelines for leftovers.