This post may contain affiliate links. Please read my disclosure and privacy policy.
When I set out to create a healthy carrot cake, I figured coconut flour would be a great choice, since many carrot cakes already include coconut. It’s one of the rare times when people expect to taste a hint of coconut, along with tender carrots and plenty of spice.
But this ratio of ingredients wasn’t easy to land on. I think I tested this cake over 10 times before I felt like it was delicious enough to share. Luckily, I love taste-testing carrot cake.
I mention this because people are always surprised by how little coconut flour a recipe requires and how many eggs it calls for. These are not typos! If you’re nervous about it, I’d recommend making half the batch and baking these as 6 cupcakes. They bake quickly, so you’ll have an easily portioned treat to taste-test before committing to a full cake.
⭐⭐⭐⭐⭐ Featured Review
“This is the best recipe for carrot cake, hands down! I’ve made this recipe twice, but into cupcakes rather than the cake, and I received so many compliments! Thank you for sharing such an incredibly decadent and delicious recipe using coconut flour and maple syrup as the sweetener – IT WAS PERFECT!!!” – Colleen

How to Make Carrot Cake with Coconut Flour
Step 1:
Preheat the oven to 350ºF and prepare a cake pan. You can use one 8-inch pan or two 6-inch pans for a two-layer cake. Lightly grease the pan with oil, then press a piece of parchment paper into the bottom to guarantee easy removal.
In a large bowl, add the coconut flour, maple syrup, eggs, coconut oil, cinnamon, ginger, nutmeg, salt, baking soda, and lemon juice. (The acid reacts with the baking soda to help the cake rise.)
Note: To properly measure coconut flour, dip the measuring cup into the bag of flour, then use the back of a knife to level-off the top. Don’t use a heaping measure, as it will result in a dry cake.

Step 2:
Once the batter looks smooth, with no clumps, fold in the shredded carrots, pineapple, and raisins. (The pineapple and raisins are optional, FYI. Carrot cake is easy to customize!)
You can also add chopped walnuts or pecans, if you like. Keep in mind that if any of your ingredients are cold from the fridge, like the eggs or shredded carrots, the batter might thicken from the chill. Coconut oil thickens when cold, but don’t worry, it will still bake just fine in the oven.

Step 3:
Transfer the batter to the prepared pan(s) and smooth it out evenly. Bake at 350ºF until the center feels firm to the touch, about 40 to 45 minutes.
Let the cake cool for at least 15 minutes in the pan. Then you can transfer it to a wire rack to finish cooling completely.

Frosting & Serving Tips
As soon as the cake is fully cool, you can add your favorite frosting on top, if you like.
In these photos, I used my Vegan Cream Cheese Frosting, which is dairy-free and made with white sweet potatoes. If you don’t need a dairy-free option, try my Healthy Cream Cheese Frosting, which is made with cream cheese and no powdered sugar.
Alternatively, you can drizzle this cake with my Maple Pecan Glaze or Cashew Frosting, or simply dust it with a little powdered sugar, if you like.


Coconut Flour Carrot Cake (Gluten-Free!)
Ingredients
- 1 cup coconut flour
- 1 cup maple syrup (for a less sweet cake, you can use 3/4 cup)
- ½ cup melted coconut oil
- 8 eggs , at room temperature
- 1 tablespoon cinnamon
- 1 teaspoon ginger
- ¼ teaspoon nutmeg
- ½ teaspoon salt
- 1 tablespoon lemon juice
- 1 teaspoon baking soda
- 2 cups shredded carrots (about 4 carrots)
- ⅓ cup diced pineapple (optional)
- ¼ cup raisins (optional)
Frosting Options:
Instructions
- Preheat the oven to 350ºF and generously grease an 8-inch pan or two 6-inch pans. (Tip: Add a square of parchment paper on the bottom for easier removal later.)
- To prepare the cake, combine the coconut flour, maple syrup, coconut oil, eggs, cinnamon, ginger, nutmeg, salt, lemon juice and baking soda, and whisk well to create a uniform batter. If any of your ingredients are cold the mixture will be thicker than traditional cake batter, but don't worry, it will still bake just fine! Once the batter is uniform, stir in the shredded carrots, pineapple, and raisins (if using them).
- Pour the batter into your prepared pan(s) and bake at 350ºF until the center is firm, about 40 to 45 minutes.
- Allow the cake to cool in the pan for 20 minutes, then transfer to a wire rack to cool completely before frosting. For best shelf-life, store the cake covered in the fridge for up to one week.
Video
Notes
Nutrition
More Recipes To Try
- Coconut Flour Pancakes
- Brownies with Coconut Flour
- Vanilla Coconut Flour Cake
- Coconut Flour Cookies
- Banana Bread with Coconut Flour
If you try this carrot cake recipe, please leave a comment and star rating below to let me know how you like it.












Can I use butter instead of coconut oil?
Hmm…this did not turn out as I’d hoped when I made it. Not very flavorful compared to traditional carrot cake, turned out plenty moist but just very lacking in sweetness, sort of bland tasting. Glaze was good though.
I tried the carrot cake with pineapple it is so delicious!!!! It turned out a little dry any tips to make it a little more moist? Thank you for sharing 🙂
I just made this cake today and it was AWESOME! The recipe is a keeper! I would even maybe use 1/4 cup or more less maple syrup next time than called for and I’m sure it would still be soooooo good! Thank you so much for this recipe!
I made this cake last week. It came out delicious! The maple pecan frosting was even better 🙂 thank you for your recipes! I’ve made SO many great things from your site and have recommended your site many times. I’ll be making the grain free stuffing for Thanksgiving, and peanut butter pie and spaghetti squash casserole for Christmas. I made the casserole last year (very tasty), can’t wait to try the pie!
Hi! I love, love, love your site and recipes! I plan to use this recipe for a Thanksgiving dessert. Do you have any suggests as to the spice or spices I could use to take the place of the cinnamon? Cinnamon gives my husband hives; otherwise I’d go ahead and add it in.:)
Thank you,
Renae
yum! this looks amazing!
Is the ginger called for in the recipe fresh ginger or powder?
oh my gosh this look so good. I love that it is gluten, dairy and refined sugar free. Definitely have to make this!
This looks delish, thank you for sharing! I have been trying to figure out a pumpkin cake… Do you think I could sub pureed pumpkin for the carrots? Thank you!
I would just double this recipe and bake it in a bundt pan: https://detoxinista.com/2014/09/paleo-pumpkin-spice-muffins-nut-free/