My All-Time Favorite Carrot Cake Recipe
I have made my share of different carrot cake recipes over the years, but none can hold a candle to this one; it is the gold standard as far as I’m concerned. The cake is subtly spiced, super moist, and packed with tons of extras like pineapple, coconut, raisins, and pecans. Last but not least, it’s filled and frosted with my all-time favorite cream cheese frosting. It’s a winner on every level and the best carrot cake recipe you’ll ever try, guaranteed. Make it for Easter, Thanksgiving, or anytime you need a special cake!

Carrot cake is, in my mind, one of the most absolutely underrated cakes out there. Most people love chocolate or yellow cake, while others go nuts over white or red velvet. It's understandable, they're delicious… but my gosh, carrot cake is just SO GOOD.
I've always been a fan of carrot cake, but on a weekend trip to the Outer Banks back when my husband and I were dating, we ate at the Outer Banks Brewing Station and for dessert had the most enormous, most delicious piece of carrot cake to ever grace my plate. I've been officially obsessed from that moment on.
While carrot cake is typically served for spring occasions like Easter and Mother’s Day, I argue that it deserves a permanent place on any dessert rotation for family dinners, holidays, birthdays, or special occasions.
Let’s dive in!

How to prep the carrots
Since this is a carrot cake, let’s take a moment to discuss how to prepare the star of the recipe – the carrots!
We are using peeled, grated carrots and since we need 3 cups of grated carrot, you’ll need about 6 medium carrots to get that yield. Of course, the size of the carrots will play in role in how many you ultimately use, but a general rule of thumb:
2 medium carrots = 1 cup grated carrots.
In order to grate the carrots, use the large holes on a standard box grater. You could also use a shredding disc for a food processor and follow the instructions in the manual for shredding carrots.
Important Note: Do NOT use store-bought shredded/grated carrots. While a shortcut is tempting, these are drier and harder than freshly shredded carrots; they will not impart the necessary moisture into the cake and will result in a less-than-desirable texture.

Making carrot cake from scratch
Making carrot cake is super simple (you only need two bowls, a whisk, and spatula – no mixer required!), and now that we’ve got the carrots out of the way, let’s walk through the next steps!
Save This Recipe
- Whisk dry ingredients together in a medium bowl.
- Whisk wet ingredients + sugars together in a large bowl, ensuring everything is thoroughly combined.
- Add dry ingredients to wet ingredients and fold together with a spatula.
- Fold in those add-ins! Stir in the carrots, pineapple, coconut, raisins, and pecans.
- Divide between the cake pans and bake.
- Make the cream cheese frosting, then assemble the cake! All done!

Carrot cake FAQ
Answering some of the most common carrot cake questions:
Is carrot cake better with oil or butter?
This cake is made exclusively with oil, which is a key ingredient in keeping it nice and moist. For that reason, I do not recommend substituting butter in this particular cake. You can use canola oil, but I do not recommend using olive oil or other strong-tasting oils.
Can you adjust the seasonings?
Yes, absolutely! I only use cinnamon in this cake, so it’s subtly spiced, which I feel pairs wonderfully with the other ingredients, but you can decrease the amount if you’d like. You can also increase the amount or add in other warm spices like ginger, nutmeg, and cloves.
Can you omit any of the add-ins like pineapple, coconut, raisins, and pecans?
Yes, you can. I strongly advise keeping the pineapple because it does add moisture, but it’s not absolutely necessary. You can omit any of the add-ins in the cake without making any other adjustments to the batter, but the cake may bake more quickly so start checking for doneness sooner.
Can this recipe be converted to cupcakes, a sheet cake, or other size cake pans?
Yes, all of these will work:
- 8-inch round pans: Prepare as directed below but bake for 27 to 35 minutes.
- 9×13-inch pan: Bake in a greased 9×13-inch pan until a toothpick inserted in the center comes out clean, 45 to 50 minutes.
- Bundt pan: Generously grease a 10 to 12-cup Bundt pan and bake for 60 to 75 minutes.
- Cupcakes: Fill standard muffin cups two-thirds full and bake for 20 to 22 minutes.
What type of frosting should be used?
Cream cheese frosting, of course!! It’s the go-to standard for all carrot cakes, however, if you are really averse to it, here are a few other options:
How to decorate and serve carrot cake?
The beauty of carrot cake is that there is so much substance to the cake that it lends itself to a very minimalist or rustic decorating vibe. I don’t typically do any piping on a carrot cake, but instead will use one of these ideas:
- Do a “spiral” design on the top of the cake with chopped pecans pressed into the sides (shown in these photos).
- Flip that and do a spiral or ribbed design on the sides and press chopped pecans around the top outer edge.
- You can also save some frosting and tint it orange and green and pipe little carrots on the top of the cake.

Make-ahead, storage, and freezing tips
Carrot cake is a wonderful candidate for making ahead, so it’s a perfect choice when you don’t want to be baking and frosting a cake at the last minute!
- Storage: Leftover cake should be stored in an airtight container (or wrapped tightly in plastic wrap) in the refrigerator for up to 5 days.
- Make-Ahead: The cake layers can be baked, cooled, and wrapped in plastic wrap up to 2 days before frosting and assembling. The entire cake can be assembled and refrigerated for up to 1 day before serving.
- Freezing Instructions: The cake layers can be baked, cooled, wrapped in plastic wrap, and placed into a freezer zip-top resealable bag and frozen for up to 3 months before thawing in the refrigerator overnight and proceeding with the recipe. The entire cake can be wrapped in plastic wrap, then aluminum foil, and frozen for up to 1 month; thaw in the refrigerator overnight.
If you like carrot cake, you’ll love these:
- Hummingbird Cake
- Carrot-Zucchini Bars with Cream Cheese Icing
- Apple Cupcakes with Cinnamon-Cream Cheese Frosting
- 158 Easter Recipes

Carrot Cake Recipe
I highly, highly recommend this cake for any dessert-worthy occasion. Made completely from scratch and incredibly versatile, meaning that you can create the exact carrot cake that you will love. Make it and enjoy it sometime soon!
If you make this recipe and love it, remember to stop back and give it a 5-star rating - it helps others find the recipe! ❤️️

Carrot Cake Recipe
Ingredients
For the Carrot Cake
- 2½ cups (300 g) all-purpose flour
- 1¼ teaspoons (1.25 teaspoons) baking powder
- 1 teaspoon baking soda
- ½ teaspoon (0.5 teaspoon) salt
- 2 teaspoons ground cinnamon
- 4 eggs
- 1½ cups (298 g) granulated sugar
- ½ cup (107 g) light brown sugar
- 1½ cups (297 g) vegetable oil
- 2 teaspoons vanilla extract
- 3 cups (297 g) peeled grated carrots
- 8 ounce (227 g) can crushed pineapple, drained
- 1 cup (114 g) finely chopped pecans
- 1 cup (149 g) raisins
- ½ cup (43 g) sweetened shredded coconut
For the Cream Cheese Frosting
- 1 cup (227 g) unsalted butter, at room temperature
- 4 cups (454 g) powdered sugar
- 2 teaspoons (1.5 teaspoon) vanilla extract
- ½ teaspoon (0.5 teaspoon) salt
- 16 ounces (454 g) cream cheese, chilled and cut into 16 pieces
To Garnish
- Chopped pecans
Instructions
- Make the Carrot Cake: Preheat oven to 350 degrees F. Grease three 9-inch cake pans, line the bottoms with a round of parchment, grease the parchment, then flour the pans and tap out the excess. Set aside.
- In a medium bowl, whisk together the flour, baking powder, baking soda, salt, and cinnamon.
- In a large bowl, whisk together the eggs, sugars, vegetable oil, and vanilla extract until thoroughly combined and there are no lumps of brown sugar. Add the flour mixture and, with a rubber spatula, gently stir until mostly combined. Add the carrots, pineapple, pecans, raisins and coconut and fold together until thoroughly combined.
- Divide the batter evenly between the three prepared cake pans and bake until a toothpick inserted in the center comes out with clean, 22 to 28 minutes. Cool the cakes in the pans for 10 minutes, then turn out onto wire racks to cool completely.
- Make the Cream Cheese Frosting: Using an electric mixer, beat the butter, powdered sugar, vanilla, and salt on low speed until smooth, then mix for an additional 2 minutes, scraping down the bowl as needed.
- Increase the speed to medium-low and add the cream cheese one piece at a time and mix until smooth, then mix for an additional 2 minutes.
- Assemble the Carrot Cake: Place one cake layer on a serving platter and spread with 1 cup of the cream cheese frosting. Top with a second cake layer and again spread with 1 cup of the cream cheese frosting. Place the final cake layer on top, top-side-down (so the bottom of the cake is actually facing up), then frost the top and sides with the remaining cream cheese frosting and garnish the sides with chopped pecans, if desired. Serve immediately or refrigerate, covered, until ready to serve. The cake can be made up to 1 day in advance and leftovers can be stored in the refrigerator, in an airtight container for up to 1 week.
Notes
- Equipment: Three 9-inch round cake pans / Box grater
- Vegetable Oil: Do not use butter in place of vegetable oil, but you can use canola oil or another neutral-flavored oil.
- Add-in Substitutions: You can omit the coconut, pecans and/or the raisins in the cake without making any other adjustments to the batter, but the cake may bake more quickly so start checking for doneness sooner.
- 8-inch round pans: Prepare as directed but bake for 27 to 35 minutes.
- 9x13-inch pan: Bake in a greased 9x13-inch pan until a toothpick inserted in the center comes out clean, 45 to 50 minutes.
- Bundt pan: Generously grease a 10 to 12-cup Bundt pan and bake for 60 to 75 minutes.
- Cupcakes: Fill standard muffin cups two-thirds full and bake for 20 to 22 minutes.
- Storage: Leftover cake should be stored in an airtight container (or wrapped tightly in plastic wrap) in the refrigerator for up to 5 days.
- Make-Ahead: The cake layers can be baked, cooled, and wrapped in plastic wrap up to 2 days before frosting and assembling. The entire cake can be assembled and refrigerated for up to 1 day before serving.
- Freezing Instructions: The cake layers can be baked, cooled, wrapped in plastic wrap, and placed into a freezer zip-top resealable bag, and frozen for up to 3 months before thawing in the refrigerator overnight and proceeding with the recipe. The entire cake can be wrapped in plastic wrap, then aluminum foil, and frozen for up to 1 month; thaw in the refrigerator overnight.
Did you make this recipe?
Leave a review below, then snap a picture and tag @thebrowneyedbaker on Instagram so I can see it!
Photography by Dee Frances




i made this yesterday for a friend, and it was DELISH! very moist. I didn’t use the nuts (she’s allergic) or the dried fruit, but i added in chocolate chips, as i am a firm believer that chocolate makes everything better =). will definitely make this again!
This cake is out of this world! It’s moist and flavorful, and the frosting…Oh the frosting! Perfection. Thank you!
This is my new keeper for a carrot cake recipe!!!!
I have had your blog bookmarked for a while now and I have made many of your recipes, but this one is hands down the best. It turned out amazing. One thing that I did was put the layers in the freezer for 45 minutes as soon as they came out of the pan. This kept them sooo moist and was super easy to frost. Thank you, thank you!
Thank you so much for posting how you got your cakes out of the pan easy! This is my first time making a cake so the more tips I can get the better :D
Trying out this recipe today for my moms birthday! :D Wish me luck.
It was a hit!! My mother told me that it was the best carrot cake that she has ever tasted! :D For a first time making a cake, I am pretty proud of myself. Thank you for this Recipe!
Do you think this would work as a cupcake recipe?
Hi Claire, I have not made these into cupcakes, but it never hurts to try, right? If you give it a go, I would start checking them around the 14-minute mark so you don’t over-bake them.
I just made this cake for a holiday/birthday dessert… it was incredible. I omitted the nuts (since the birthday person wasn’t a fan), but it still came out so well. Thanks for sharing a great recipe!
Michelle! Help! First, let me say that I just stumbled on your website and am SO thrilled that I did!! I’m beyond excited to start trying your recipes!… Now, for the help I need… On Thanksgiving, my brother-in-law challenged me to a “carrot cake bake off”! I, of course, excepted this challenge and then proceeded to talk all kinds of trash! I mean who does he think he is?!?…I am the baker in this family! LOL! Buuut… I’ve never made a carrot cake??! YIKES! I’m going to use your recipe of course! Any tips to ensure I will be victorious? :)
Oh man…I want some of this right now! Wow, it looks amazing!
I have 2 questions that may sound ridiculous (sorry!):
-Can this be made into a cupcake recipe? I ask because I love how carrot cake is so moist and I don’t want that to be lost if it’s in cupcake form.
-Is the coconut critical? I hate to say it but I’m not a huge coconut fan.
No questions are ridiculous! As far as cupcakes, I can’t give you a good answer because I haven’t tried it. You could give it a shot! Then report back :)
No you can leave the coconut out if you don’t like it; it’s not critical.
This is my first time on your blog and I will definitely be back to read more. I found you when I was searching for icing recipes for my Christmas cookies. I love the detail that you provided. Thanks so much.
Hi Cindy, welcome to the site! I hope you’ll enjoy the recipes!
This looks amazing.
Oh my, that looks absolutely amazing!!
There is no such thing as too much icing. ever. :)
I am a big carrot cake fan. In fact, that was the flavor we had for our wedding cake.
I need to try this, I love lots of “stuff” in my carrot cake also.
Wow looks delicious. Great idea – makes me want to dig right in
I sooooo miss cream cheese!
Ok… pass me a spoon and let me dig in! Carrot Cake (along with rice pudding and cheesecake) is one of my favorite desserts! Can never get enough.
This sounds absolutely heavenly! I love that you went for a non-conventional Thanksgiving dessert!
Delicious! It looks fabulous.
It looks super tasty, but I’m a sucker for anything with cream cheese frosting :)
This looks sooooo good!
Looks amazing! I’d love to try this carrot cake recipe.
I, too, love a chunky carrot cake!
Looks way too amazing!!
too delicious. reminds me of my swirl-together’s when lazy…
I made a carrot cake last weekend the night before a bake sale it was supposed to go to. I turned it out of my bundt pan, and a ring of cake was still stuck on the bottom! I gently pried it out and laid it on top the rest of the cake. With a smattering of frosting over top, no one ever found out!
Oooh I wonder if it’s a carrot cake thing ;-)
I think all cakes should be made this way! I love all the layers!
Carrot cake is my favorite by the way :)
Oh!!! It’s beautiful, and it seems to be delicious!!
At home, mum and me make some carrot muffins, but with the Betty Croker Mix, so it hasn’t worth.
We wanted to make something homemade (is the correct word???) and with the cheese frosting, like we eat in restaurants and cafés, so I’ll save this recipe. Perhaps we can try it when I go home this Christmas ;)
Thank you!!!
i LOVE carrot cake, but i never thought to make it for thanksgiving dessert, what a great idea!
Wow this looks amazingly delicious! I must try this recipe. What an eye pleaser on thanksgiving. LOVE IT and your Blog!