This gluten-free carrot cake is dense, moist, and lightly sweet, with the natural crumbliness of coconut flour held together by plenty of eggs and oil. It’s a sturdy, sliceable cake that works for birthdays, potlucks, or an afternoon snack with coffee. Coconut flour absorbs a lot of liquid, so the batter is thicker than a standard cake—but the result is a tender crumb with a distinct coconut aroma.
Ingredients
- 1 cup (120 g) coconut flour
- 1 tsp baking powder
- 1/2 tsp baking soda
- 1/2 tsp salt
- 1 tsp ground cinnamon
- 1/2 tsp ground nutmeg
- 1/2 cup (120 ml) coconut oil, melted and cooled
- 1/2 cup (120 ml) maple syrup or honey
- 4 large eggs, at room temperature
- 1/2 cup (120 ml) unsweetened applesauce
- 1 tsp vanilla extract
- 2 cups (220 g) finely grated carrots (about 3 medium)
- 1/2 cup (60 g) chopped walnuts or pecans (optional)
Instructions
- Preheat the oven to 350°F (175°C). Grease a 9-inch (23 cm) round cake pan and line the bottom with parchment paper.
- In a medium bowl, whisk together the coconut flour, baking powder, baking soda, salt, cinnamon, and nutmeg.
- In a large bowl, whisk the melted coconut oil, maple syrup, eggs, applesauce, and vanilla until smooth.
- Add the dry ingredients to the wet mixture and stir until no lumps remain. The batter will be very thick.
- Fold in the grated carrots and nuts, if using.
- Scrape the batter into the prepared pan and smooth the top. Bake for 30–35 minutes, until a toothpick inserted in the center comes out clean and the top is golden brown.
- Cool in the pan on a wire rack for 10 minutes, then turn out onto the rack to cool completely before frosting or slicing.
Pick the Pan and Check the Crumb
Use a 9-inch (23 cm) round pan for a cake about 2 inches (5 cm) tall. For a 9×5-inch (23×13 cm) loaf pan, bake 45–55 minutes. Cupcake pans: fill liners two-thirds full and bake 18–22 minutes, yielding 12 cupcakes. The cake is done when a toothpick inserted in the center comes out clean; if the top browns too fast, tent loosely with foil.
Swap Ingredients Without Changing the Bake
- Oil: Replace coconut oil with an equal amount of melted butter or neutral oil like avocado or grapeseed. Butter adds a richer flavor; oil keeps the crumb moister.
- Sweetener: Use honey instead of maple syrup in the same amount. Honey is sweeter, so you may reduce it to 1/3 cup (80 ml) if you prefer less sweetness.
- Applesauce: Swap with mashed banana (about 1/2 cup, 120 g) for a different flavor; the cake will be slightly denser.
- Nuts: Omit them or use raisins (1/2 cup, 80 g) for a chewier texture.
- Eggs: Coconut flour needs eggs for structure; do not replace them with flax eggs or the cake will fall apart. For an egg-free version, use a commercial egg replacer and expect a denser, less tender crumb.
Frost and Serve the Cake
This cake is delicious plain, but a cream cheese frosting pairs well. For a dairy-free option, use a dairy-free cream cheese or a simple glaze of powdered sugar and milk. Serve slices at room temperature with a cup of coffee or tea. The cake is sturdy enough to layer—double the recipe and bake in two 9-inch (23 cm) pans for a two-layer cake.
Store and Freeze Leftovers
Keep unfrosted cake in an airtight container at room temperature for up to 2 days, or refrigerate for up to 5 days. Frosted cake must be refrigerated and will keep 3–4 days. To freeze, wrap unfrosted slices tightly in plastic wrap and then foil; freeze for up to 3 months. Thaw overnight in the refrigerator before serving. If the cake has been frosted, freeze it uncovered on a baking sheet until firm, then wrap and freeze; thaw in the refrigerator.
Fix Common Coconut Flour Problems
Dry or crumbly cake: Coconut flour is very absorbent; if your batter looks too thick, add 1–2 tablespoons (15–30 ml) of milk or water. Next time, ensure you measure the flour by spooning it into the cup and leveling off—do not pack it.
Sunken center: This can happen if the cake is underbaked. Always test with a toothpick. Also, make sure your baking powder and baking soda are fresh.
Too sweet: Reduce the maple syrup to 1/3 cup (80 ml) and add an extra tablespoon of applesauce to keep the moisture.
Can I use almond flour? No, almond flour and coconut flour are not interchangeable. If you want an almond flour carrot cake, find a recipe specifically designed for almond flour.
Related
- Gluten Free Pie Crust Almond Flour Recipe
- Banana Bread Without Wheat Flour (Gluten-Free)
- Gluten Free Dairy Free Gingerbread Cake 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).