This post may contain affiliate links. Please read my disclosure and privacy policy.

This Healthy Carrot Cake is made with coconut flour, for a naturally grain-free and gluten-free dessert. I love how moist and flavorful it is, while being naturally-sweetened and higher in protein.

healthy carrot cake with sweet potato frosting

What are the Benefits of Coconut Flour?

What I love about coconut flour is that it’s naturally gluten-free and high in fiber. In fact, it’s so high in fiber that it actually needs quite a few eggs to help give it lift and moisture.

That means this cake it higher in protein than traditional recipes, which should leave you feeling satisfied and without crazy blood sugar spikes. I also love that you don’t need to use very much of this type of flour to make an entire cake. A little bit goes a long way!

how to measure coconut flour

How to Measure Coconut Flour

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.

Coconut Flour Substitutions

When working with coconut flour, it’s important to note that traditional substitutions will not work with recipes that have been developed for this grain-free flour. Coconut flour can NOT be swapped for almond flour, oat flour, all-purpose flour, or any other flour. It’s just too different!

You also should not substitute a flax egg for any recipe that calls for coconut flour– the results will be very flat and mushy as a result, and not something you could serve to guests. I recommend looking for a different recipe that uses another type of flour in that case.

If you need an egg-free recipe, I recommend starting with my Vegan Carrot Cake Muffins, instead.

healthy carrot cake batter in a glass bowl

How to Make a Healthy Carrot Cake

This carrot cake recipe couldn’t be easier to make. You need just one bowl and about 10 minutes of prep time before it goes in the oven! This recipe is easiest to stir together when your ingredients are at room temperature, but it will work even if they are cold from the fridge.

For an impressive two-layer cake, you can spread this batter into two 6-inch or 7-inch pans. I’ve also baked this cake in a Bundt pan for a pretty presentation. Make sure you grease the pan very well if using a Bundt pan, or line the bottom of you pan with a square of parchment paper for guaranteed easy removal.

healthy carrot cake in two 6-inch pans

Healthy Sweet Potato Frosting

I like to frost this cake with my Vegan Cream Cheese Frosting, which is naturally sweetened and made with white sweet potatoes. I love how fluffy it looks, like real buttercream! (This one doesn’t fool my picky 5-year-old, who has tasted “real” buttercream, but that hasn’t stopped him from eating it.)

I use a double batch of this frosting to generously frost this two-layer carrot cake.

container of sweet potato frosting and it going on the cake

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.

carrot cake slice on a plate with frosting

healthy carrot cake with sweet potato frosting

Healthy Carrot Cake (Gluten-Free!)

4.36 from 42 votes
This healthy Carrot Cake is high in protein, made with gluten-free coconut flour. I love that it's grain-free and naturally-sweetened!
prep10 mins cook40 mins total50 mins


  • 1 cup coconut flour
  • 1 cup maple syrup (for a less sweet cake, you can use 3/4 cup)
  • 1/2 cup melted coconut oil
  • 8 eggs , at room temperature
  • 1 tablespoon cinnamon
  • 1 teaspoon ginger
  • 1/4 teaspoon nutmeg
  • 1/2 teaspoon salt
  • 1 tablespoon lemon juice
  • 1 teaspoon baking soda
  • 2 cups shredded carrots (about 4 carrots)
  • 1/3 cup diced pineapple (optional)
  • 1/4 cup raisins (optional)


  • Preheat the oven to 350F and generously grease a 9-inch pan, a bundt 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 until the center is firm, about 40 to 50 minutes. (If using a deep bundt pan, it takes about 50 to 60 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.



  • I have tried lowering the number of eggs in this recipe, by replacing 1 egg with 1/4 cup of mashed banana instead. The result is a slightly drier cake that doesn't hold together as well. You can get away with this swap if you need to reduce the recipe by 1 egg, but I don't recommend trying to lower it by much more or the cake won't hold together.
  • You can also reduce the maple syrup to 3/4 cup if you want a less-sweet cake. I assume honey would work similarly, if that's what you have on hand. (In fact, for honey I wouldn't use more than 3/4 cup because the flavor is stronger than maple syrup.)


Calories: 256kcal | Carbohydrates: 27g | Protein: 6g | Fat: 14g | Saturated Fat: 10g | Cholesterol: 124mg | Sodium: 268mg | Potassium: 171mg | Fiber: 4g | Sugar: 18g | Vitamin A: 3737IU | Vitamin C: 2mg | Calcium: 60mg | Iron: 1mg
Course: Dessert
Cuisine: American
Keyword: cake, paleo
Nutrition info above is for 1 of 12 slices, without the frosting or optional add-ins. This information is automatically calculated using generic ingredients, so for accurate results I recommend using the labels on your ingredients at home.

Additional Recipe Notes:

  • This recipe should make roughly 24 cupcakes, so feel free to reduce the ingredients by half if you don’t need that many. In my experience, coconut flour cupcakes need to bake for about 30 minutes, and I like using silicone baking cups to avoid any sticking.
  • For a fluffier frosting, you might want to try using Coconut Whipped Cream the way I did on these pretty Applesauce Cupcakes.

If you try this recipe, please leave a comment below letting me know how you like it. And if you make any modifications, I’d love to hear about those, too! We can all benefit from hearing about your experience.

Reader Feedback: What’s your favorite cake flavor?



Megan Gilmore leaning on her white countertop.

Megan Gilmore

Hi, I’m Megan. A former fast food junkie turned best-selling cookbook author. I create healthy recipes made with simple ingredients to make your life easier.

Read More

You May Also LIke

Leave a Review!

I love hearing from you! Submit your question or review below. Your email address will not be published. Required fields are marked*.

Recipe Rating

This site uses Akismet to reduce spam. Learn how your comment data is processed.


  1. I am curious about freezing this prepared, baked cake. Do coconut flour/carrot cakes freeze well? I prepared the cake 1 1/2 weeks before needed.
    Thank you

    1. In my experience cake freezes well as long as it’s tightly sealed in an airtight container or wrapped well. Hope this one is a hit!

    1. Hi Joe! My website and cookbooks tend to have different recipes, with only a little bit of overlap for the most crowd-pleasing options. You can check my books out at the library or your favorite book store if you want to see what the dessert section looks like!

  2. 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! For me though, it didn’t make 24 cupcakes but rather 12 – and I’m not mad! The first time I made it, it was for someone with a nut allergy and I followed it to a “T” adding pineapple and raisins as well. And I added 3/4 maple syrup which made it perfectly sweet. The following week, I made another batch this time adding chopped pecans, 1/8 tsp cloves and allspice and that was amazing too. Thank you for sharing such an incredibly decadent and delicious recipe using coconut flour and maple syrup as the sweetener – IT WAS PERFECT!!!

    I do hope you come up with a Red Velvet Cake too using coconut flour and natural sweeteners such as maple syrup. I am currently looking for one out there 🙂

  3. I made this with the vegan cream cheese frosting. The frosting is made with sweet potatoes and the orange hue looks amazing with the carrot cake. I ended up using Oat Flour Instead of coconut and it was so runny. I added extra flour to help. Is the batter super runny with the coconut flour? Once it baked, it turned out amazing! I will make this again for sure!

  4. Made this one w/ the white sweet potato frosting. Was a hit! BTW, if you want a White frosting look, use Stevia instead of maple syrup, otherwise it comes out off-white.

  5. This cake recipe is really quick and easy. I used vegetable oil instead of coconut oil to lessen the overpowering flavor of coconut. It would have tasted better with some added nuts. Thank you.

  6. Great cake and easy to make Keto. I substituted Lacanto sugar-free maple syrup for the syrup. I used homemade sugar-free peach jam between the layers and iced the top and sides. Very yummy.

  7. Hi I am trying to make a coconut flour carrot cake for someone who is allergic to most fruits, sugar and flours. Could I substitute the syrup for a xylotol/fructose mix or would that make the mixture too dry?

  8. Hi this recipe looks amazing. Thanks for sharing it. Can I replace the maple syrup with monk fruit sweetener or erythritol to make it keto friendly?