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




Hi Michelle,
I love this cake, minus the coconut! It might interest you to know that I used to bake for a NY style deli in Tucson, Arizona, and this is the exact recipe I used! I can’t tell you how many times I have baked this delicious cake. It was the most popular dessert on the menu. When I left the deli, I took the recipe with me. 😉
I was glad that Ahiam got the information of a Unique recipe and I will make this recipe and freeze it all. I am really thankful that I got important information.
I think this will be so delicious if you make it 2-3 times in a week.
Hi Dori
Is it possible to do this cake in one layer?
It’s too much batter for one round cake layer, but you could probably do a 9×13
What would the baking time be if you made this as a bundt cake?
Thank you!
Hi Jenna, Probably around 45-55 minutes if I had to guess (I haven’t made it that way yet).
Can I adapt this to 6in rounds? And what temp and time if yes
Hi Bethany, Yes, you’ll need to cut the recipe in half. Temperature should stay the same, time will just be trial and error, I’ve never made cakes that small so I can’t give an exact time.
What would the bake time be for two 9×2 inch round pans?
Hi Lorraine, Unfortunately I fear there would be too much batter for only two pans.
I made this cake exactly as directed and had sooo many people tell me it was THE BEST they had ever had!!!! Thank you once again-you are my “go to”!!!!!!
Thoughts on decorating the cake? What is the best method for covering the sides with nuts?
Hi Carolyn, Sometimes I use my fingers, or a really wide offset spatula.
I made this for my grandma’s 80th birthday, and she LOVED IT. She said it was the best carrot cake she has ever had. And I know it’s not just because her granddaughter made it for her, because she has never been one to not tell me when something falls flat.
The cake was moist, and they came out of the pan easy peasy, which was great! I didn’t have 3 small cake pans, so I made this cake with two large(ish) cake pans and it worked out great. The frosting really helped make the cake, and I did end up making 1.5 times the amount of frosting (because…cream cheese frosting).
Thanks for this great recipe!
Oh this looks wonderful! Carrot cake is my absolute favorite but I’m so bad at icing cakes so I’m going o try it in the trifle form for Thanksgiving. Yum! Question: I have never made a trifle (I think they look so fancy!) and am wondering how you serve it. Do you just scoop it out with a long spoon? Or do you cut it then scoop it out? Help!
Hi Christine, We just scoop with a big spoon! Enjoy! :)
Hi Michelle,
If I leave these ingredients out of the carrot cake (walnuts, coconut, raisins), will the cake still hold? I’m a little worried about that. I plan to make it into a 10 inch cake. Any advice on scaling it up?
Thanks
I just saw your response to comment #89. I guess there is no leaving them out. Thanks
if dessicated coconut is the only ingredient available, how many cups is needed for this recipe?
thanks!
Hi Meanne, You can substitute it 1:1, just be sure to use shredded, and not the powdery kind.
I made this cake for my husband’s bday and the flavor was great! I did omit the raisins and walnuts (unfortunately) because my kids don’t like them in cake. But it was still great. I plan to make it ‘as is’ sometime soon.
Hi! I’m going to be making a cake this coming weekend for my birthday. Looking for a stable base cake that will hold the weight (it’ll be a four-layer-tall, 8″ cake!). Do you think this cake won’t crumble when stacked? Thanks!
Hi Flora, This should be sturdy enough.
Hi! I made this last week for my birthday, and the only thing I changed was that I didn’t put any coconut in (I found out my coconut was expired but it was already 2AM and 2 late :< ). I got a sh*t ton of compliments on the cake! You were right, it is an out-of-this-world carrot cake! They were talking about it for hours! Thank you! :D
I’ve long been a fan of your site, but this is my first time commenting. I made this carrot cake for the second time for dessert on Easter Sunday (the first time was last Easter). I just wanted to say that this is not only the best recipe I’ve found for carrot cake, but is the best carrot cake I’ve ever tasted (seconded by my wife’s uncle). This is a great balance of chunky good stuff plus a significant spice flavor (not too much, but the spice is definitely there, unlike other recipes I’ve tried. And the texture is perfect….moist, toothy, but not at all heavy. I’ve made the Cooks Illustrated recipe in the past, but found this to be far better.
Michelle, great job with the site. You bring out everything that is enjoyable and exciting about cooking. I don’t think I could be as committed as you’ve been and you do such a great job with every part of the presentation (baking, writing, photography). You have such a knack for finding truly excellent recipes, and I always enjoy reading your site and find it very inspiring, so thanks!
Hi Mike, I’m so glad you enjoyed this carrot cake! Thank you for taking the time to leave a comment and for the sweet words.
Made this last night for an Easter potluck and it turned out Fabulously!! The rich icing balances out the less sweet cake, it’s the perfect combination. If I can offer one piece of advice on this cake-it’s to Make It ASAP! Yummmmmm… :)
I had my old trusty true carrot cake recipe that I’ve used for years but was trying to find a different recipe and turned to you :) I liked the ingredients in this so I tried it last night as cupcakes. I baked them at 350 for about 28 minutes, flipping them halfway (I have an older oven so I watched them like a hawk). I was able to get 24 beautifully moist and light cupcakes. I waited until this morning to frost and they were just perfect. I doubled the frosting recipe and had enough leftover to keep on the side for dipping other goodies into ;) And this frosting is just one of the yummiest I’ve ever tasted.
I made this cake in a 9×13 pan and if came out perfect. It is definitely one of the best carrot cakes I have tried. My niece couldn’t get enough of the frosting and kept licking it off the cake. She said this is the most amazing frosting !!
love Linzer Cookies with Raspberry Jam they are my weakness
Best carrot cake ever!
Have you ever used this recipe to bake cupcakes? If so, did you vary the cooking time and temperature? Thank you!
Hi Stef, I have not. If you do, I’d love to hear how they turn out!
I made these as cupcakes this weekend. Only change was I added 1 cup brown sugar, and 1 cup white. I also left out the coconut as I’m not a fan. Results? DELICIOUS!
I’ve made 5-6 of your recipes and I honestly think this might be my favorite.
Just wanted to say I made these into cupcakes for a coworker’s birthday and my coworkers said they were the best cupcakes they’ve ever eaten! I had enough left over to make individual trifle jars that were a _huge_ hit too!
Hi Michelle. Can I use Dessicated coconut instead of shredded coconut? Thanks!
Hi Aimee, Yes, I think that would work fine.
I made this in a 9 x 13 pan and it baked perfectly in the time designated– much easier for me to transport to school. I also used ginger and mace with the cinnamon and some whiskey-soaked currants (no raisins). My teammate loves carrot cake and this is my go to recipe, so thanks again. Try adding some powdered ginger to the frosting for a little heat…
After researching several Carrot Cake recipes I decided to try yours. I have made many of your other desserts and gotten rave reviews. It was my father-in-law’s bithday and was worried since this was my first attempt making carrot cake. It was Amazing! Thank You!
Dear Brown Eyed Baker,
Thank you for such a heavenly recipe. My mum and I tried it last Sunday and everybody loved it!
Shall be trying more of your recipes,
Thanks again from Malta :)
I decided to make this last week for my family’s Thanksgiving. I worked on really early on Thursday morning and when I took out for dessert, EVERYONE was floored! I rarely have time to bake and I’m SO happy I opted for your carrot cake recipe. Seriously, the guest could not stop gushing about it. I honestly started to wonder if they were pulling my leg or what, it was that good! Your recipe was PERFECT!! I followed it exactly and it turned out fantastic. So many people wanted the recipe and seconds! I just gave them the link to your website. This is the first recipe I have used from your site, I definitely plan on trying out some more. Thanks so much for sharing it with us, it really was a delicious cake!
I am deathly allergic to chocolate…like when I bake anything chocolate for the family, I wear surgical gloves ha! So… Carrot cake is one of my favorite things. The best carrot cake I have ever had was at J. ALexanders and I don’t think its the recipe so much, its the way they serve it. Right before the serve it, they heat it up so the cream cheese frosting is melting over the ginormous slice and the inside is hot and gooey….. Heat up your carrot cake- might sound odd BUT it is AMAZING!
Would this recipe hold up if I omitted the chunk (coconut, raisins, and nuts)? We’re more pure cake fans!
Hi Laura, Yes, you can omit those without issue! The bake time may be a little shorter.
I omitted the coconut and the raisins, but not the nuts. I’m sure you will be fine :)