Coconut flour cake relies on a high-egg, high-liquid ratio because coconut flour absorbs far more moisture than wheat flour—about 1 cup of coconut flour needs 6 eggs and 1 cup of liquid to stay tender. This recipe produces a moist, lightly sweet, faintly coconut-flavored cake with a tender crumb, suitable for birthdays, snacking, or a simple dessert.
Ingredients
- 1 cup (120 g) coconut flour
- 1/2 cup (50 g) unsweetened cocoa powder (optional, for chocolate version)
- 1 tsp baking powder
- 1/2 tsp salt
- 6 large eggs, at room temperature
- 1 cup (240 ml) milk (dairy or unsweetened almond milk)
- 1/2 cup (120 ml) melted coconut oil or unsalted butter, cooled
- 3/4 cup (150 g) granulated sugar or coconut sugar
- 2 tsp vanilla extract
Instructions
- Preheat 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 coconut flour, cocoa (if using), baking powder, and salt. Set aside.
- In a large bowl, beat the eggs, milk, melted oil or butter, sugar, and vanilla until smooth and slightly frothy, about 1 minute.
- Add the dry ingredients to the wet mixture and stir until just combined. The batter will be thick and slightly grainy; let it rest for 5 minutes so the flour absorbs the liquid.
- Pour 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 and cool completely before frosting or serving.
Why Coconut Flour Cake Turns Out Dry, Dense, or Crumbly
Because coconut flour is so absorbent, small errors in liquid or egg count produce big texture problems. Here are the three most common failures and their fixes.
Dry, Crumbly Cake
Cause: Not enough liquid or eggs, or overbaking. Coconut flour needs about 6 eggs per cup; if you reduce eggs, increase liquid by 2 tablespoons per missing egg. Always check for doneness at 30 minutes—overbaking by even 5 minutes dries the cake out. If the cake is already dry, brush it with a simple syrup (1/4 cup sugar dissolved in 1/4 cup hot water) before serving.
Dense, Gummy Center
Cause: Too much coconut flour or not enough leavening. Measure coconut flour by spooning it into the cup and leveling—never pack it. If the batter looks too thick after resting, add 1–2 tablespoons of milk. Also ensure baking powder is fresh (test by dropping a little in hot water; it should bubble).
Sunken Middle
Cause: Opening the oven door during baking or underbaking. The cake needs the full 30 minutes to set; opening the door lets cold air in and deflates the structure. If the center sinks, it’s usually underbaked—return it to the oven for 5 more minutes and test again.
Substitutions That Work
- Milk: Use any milk (dairy, almond, oat, soy) in equal measure. Coconut milk adds extra coconut flavor and richness.
- Sweetener: Replace granulated sugar with 3/4 cup (150 g) maple syrup or honey, but reduce milk by 2 tablespoons to balance the extra liquid. Honey is not suitable for children under 1 year.
- Oil/butter: Use melted butter, coconut oil, or a neutral oil like avocado in equal measure. Butter adds flavor; oil makes the crumb slightly moister.
- Eggs: For an egg-free version, use 1/2 cup (120 ml) unsweetened applesauce plus 1 tbsp baking powder per egg, but note the cake will be denser and less structured.
- Cocoa powder: Add 1/2 cup (50 g) to make a chocolate cake; reduce coconut flour by 2 tablespoons to keep the dry-to-wet ratio balanced.
Storing Coconut Flour Cake
Store frosted or unfrosted cake in an airtight container at room temperature for up to 2 days, or in the refrigerator for up to 5 days. Refrigerate if the cake has a dairy-based frosting. For longer storage, wrap the unfrosted cake tightly in plastic wrap and freeze for up to 3 months; thaw overnight in the refrigerator before serving. Because coconut flour cake is very moist, it can develop mold quickly if left uncovered—always keep it sealed.
How to Check the Cake Is Done
Insert a toothpick into the center; it should come out clean or with a few moist crumbs, not wet batter. The top should spring back when lightly pressed. If the edges pull away from the pan, that’s a sign of overbaking—start checking at 30 minutes.
Related
- Coconut Flour Chicken Casserole Recipe
- Coconut Flour Chicken Dinner Recipe
- Pumpkin Bread With Coconut Flour 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).