This best carrot cake recipe is the kind of cake I love when I want something really moist without a complicated method. It has plenty of freshly grated carrots, warm cinnamon, ginger, and nutmeg, crunchy toasted pecans, and a thick layer of creamy cream cheese frosting on top.

If you're looking for a healthy carrot cake recipe, you can replace part of the oil with applesauce, while the carrots and pecans add plenty of texture to every slice. If you enjoy carrot cake, you should also try these carrot muffins. Keep reading to see how easy this carrot cake is to put together.
Jump to:
Video Instructions
Try This Carrot Cake
I really like the balance of flavors in this cake. The carrots keep it moist, the cinnamon, ginger, and nutmeg give it that familiar warm spice, and the toasted pecans add a little crunch.
Then there is the cream cheese frosting. It's creamy without taking over the cake, and I like finishing it with more toasted pecans on top.
Why You’ll Love It
- Really moist: Oil, brown sugar, and freshly grated carrots give the dessert its soft texture with lots of moisture in every bite.
- Warmly spiced: Cinnamon, ginger, and nutmeg add plenty of flavor without overpowering the carrots.
- Creamy frosting: The simple cream cheese frosting is smooth, rich, and easy to make, with no complicated cake layers.
- Great for making ahead: The cake can be made a day in advance and refrigerated overnight. I actually prefer it this way because the flavor is even better the next day.
Ingredients

- Carrots: Freshly grated carrots are important here. I wouldn't use the bags of pre-grated carrots from the store because they are harder and drier and won't give the cake the same texture.
- Oil: Vegetable oil or canola oil keeps the cake really moist. Olive or coconut oil can also be used, but they have stronger flavors that will change the taste of the finished cake. You can also replace ½ cup (120ml) of the oil with ½ cup (145g) applesauce if you want to reduce the amount of oil.
- Brown and white sugar: I prefer using both because the combination gives the cake its deep flavor and moist texture. You can use either light or dark brown sugar, but using only brown or only white sugar will change the taste and texture slightly, altering the right amount of sweetness.
- Cream cheese: Both brick-style and spreadable cream cheese work for the frosting. Brick-style cream cheese needs to be softened to room temperature, or you may end up with lumps, while spreadable cream cheese can be used straight from the refrigerator.
How to Make The Best Carrot Cake Recipe
1. Prepare the pecans for the cake and the topping by spreading the pecans on a baking sheet and then baking them for 7-8 minutes. Then remove them from the oven and set aside. Watch closely because they burn quickly.
2. Continue with the cake batter. In a large mixing bowl, whisk the flour, baking powder, baking soda, salt, cinnamon spices, ginger, and nutmeg to combine. Set aside.
3. In another large mixing bowl, whisk the eggs, oil, brown sugar, sugar, and pure vanilla extract to combine.

4. Then add the dry ingredients to the wet ingredients and whisk just until combined. The picture below shows what the consistency of the cake batter is. It is a smooth and thick-liquid batter.
5. Add grated carrots and one cup (110 grams) of the toasted pecans and stir into the batter. Set aside.

6. Line a baking pan with parchment paper with an overhang around the sides. Spray a bit of non-stick spray underneath the paper so it sticks to the pan.
7. Then fill the cake batter into the cake pans, spread evenly, and bake. Let cool.

8. After the cake has cooled, prepare the cream cheese frosting for the cake. In a large mixing bowl, using an electric mixer fitted with a whisk attachment, mix the butter on medium-high speed until soft and creamy, for about 2 minutes.
9. Then add the cream cheese and mix until soft, combined, and no lumps remain, for about 2 minutes. Add the sifted powdered sugar and vanilla and mix until creamy, about 1-2 minutes.

10. Spread the frosting on top of the cooled cake using a knife or spatula, and use the remaining frosting for the sides. Sprinkle with the remaining toasted pecans.

Recipe Tips
- Don't skip the parchment paper. This is a moist, sticky cake, and the parchment makes it much easier to remove from the pan in one piece. I also prefer a rectangular pan instead of 9-inch or 8-inch round pans for this recipe.
- Grate the carrots yourself rather than buying pre-grated carrots. Packaged shredded carrots tend to be too hard and dry for the texture you want here.
- Watch the pecans carefully while toasting them. They only need 7-8 minutes and can burn quickly.
- Make sure brick-style cream cheese is softened to room temperature before making the frosting so you don't end up with lumps.
- You can serve the cake immediately after frosting, but I like making it a day ahead and placing it in the fridge in an airtight container or plastic wrap overnight (before frosting). It tastes even better the following day.
What Can You Serve With This?

- Hot coffee or a latte.
- Black tea or chai.
- Fresh berries and raisins on the side.
- A scoop of vanilla ice cream.
- Fresh fruit for something lighter alongside the cake, like pineapple.
FAQs
Pre-grated carrots can be much harder and drier than freshly grated carrots, which can affect the finished texture. Grate fresh carrots at home for a moist cake with the intended texture.
Yes. The pecans can be replaced with walnuts. You can also leave the nuts out completely if you prefer a carrot cake without them.
Yes. Replace the all-purpose flour 1:1 with a gluten-free flour blend that contains xanthan gum.
You can replace ½ cup (120ml) of the oil with ½ cup (145g) applesauce if you want to reduce the amount of oil in the cake.
Recipe

Best Carrot Cake Recipe
Ingredients
Cake
- 2 cups pecans, chopped - divided
- 2 cups all-purpose flour, spooned and leveled
- 1 ½ teaspoon baking powder
- 1 teaspoon baking soda
- ½ teaspoon salt
- 2 teaspoon ground cinnamon
- ½ teaspoon ground ginger
- ¼ teaspoon nutmeg
- 4 large eggs
- 1 ¼ cups oil
- 1 ¼ cups packed light or dark brown sugar
- ½ cup white granulated sugar
- 1 teaspoon vanilla extract
- 3 cups grated carrots
Frosting
- ½ cup unsalted butter, room temperature
- 1 cup cream cheese, softened
- 2 cups powdered sugar, sifted
- 1 teaspoon vanilla extract
Instructions
- Preheat the oven to 300°F (150°C). Spread the pecans on a baking sheet and bake for 7-8 minutes. Then remove from the oven and set aside.
- Preheat the oven to 350°F (175°C).
- In a large mixing bowl, whisk the flour, baking powder, baking soda, salt, cinnamon, ginger, and nutmeg to combine. Set aside.
- In another large mixing bowl, whisk the eggs, oil, brown sugar, sugar, and vanilla to combine. Then add the dry ingredients and whisk just until combined. Add grated carrots and 1 cup (110g) of toasted pecans and fold into the batter. Set aside.
- Line a 9x13 inch (23x33cm) baking pan with parchment paper with an overhang around the sides. Spray a bit of non-stick spray underneath the paper that it sticks to the pan. Fill the cake batter into the pan and spread evenly. Bake for 40-45 minutes or until a toothpick inserted into the center comes out clean. Cover the cake loosely with foil after 20-30 minutes to prevent heavy browning, if necessary. Remove the cake from the oven and let cool for about 15 minutes. Then lift it out of the pan and transfer to a wire rack and let cool completely.
- In a large mixing bowl, using an electric mixer fitted with a whisk attachment, mix the butter on medium-high speed until soft and creamy, for about 2 minutes. Then add the cream cheese and mix until soft, combined, and no lumps remain, for about 2 minutes. Add the powdered sugar and vanilla and mix until creamy, about 1-2 minutes.
- Spread the frosting on top of the cooled cake and sprinkle with the remaining 1 cup (110g) of toasted pecans. Serve immediately or store in an airtight container in the fridge for up to 4 days. Freeze for up to 3 months.
Notes
Cooking Time and Temperature
Toast the pecans at 300°F (150°C) for 7-8 minutes, then bake the cake at 350°F (175°C) for 40-45 minutes.Taste & Texture
The cake is super moist and warmly spiced with tender carrots and crunchy toasted pecans, finished with smooth, creamy cream cheese frosting.Storage, Freezing & Reheating
- Refrigerator: Store the cake in an airtight container in the refrigerator for up to 4 days.
- Freezer: Freeze leftovers for up to 3 months and thaw them in the refrigerator overnight.
- Reheat: No reheating needed.
Serving Recommendations
- Serve chilled or after making it a day ahead and refrigerating it overnight.
- Pair a slice with coffee or tea for an easy dessert.
Recipe Variations and Substitutions
- Nuts: Substitute walnuts for the pecans, or leave the nuts out completely.
- Gluten-free: Replace the all-purpose flour 1:1 with a gluten-free flour blend containing xanthan gum.
- Spices: Replace the cinnamon, ginger, and nutmeg with 3 teaspoons of pumpkin pie spice.
- Oil: Vegetable or canola oil works best for a neutral flavor. Olive or coconut oil can also be used, but either will change the flavor. You can also replace ½ cup (120ml) oil with ½ cup (145g) applesauce.
- Brown sugar: Light or dark brown sugar works in this cake.
- Cream cheese: Use softened brick-style cream cheese or spreadable cream cheese straight from the refrigerator.
Proper Storage Tips
- Keep the finished cake in an airtight container in the refrigerator for up to 4 days.
- The cake can be made a day ahead and refrigerated overnight before serving.
- Freeze leftovers for up to 3 months and thaw them overnight in the refrigerator.
Pro Tips
- Grate fresh carrots yourself rather than using dry, pre-grated carrots.
- Use parchment paper with an overhang so the moist cake is easy to lift from the pan.
- Soften brick-style cream cheese before mixing to keep the frosting smooth and lump-free.
- Keep an eye on the pecans while they toast because they can burn quickly.
Video
You can find the video in the post above. If you don't see a video, please check your browser settings.






Ashmita Chetty
Hi Sabine, Can this be made gluten free by substituting the flour?
Sabine
Yes, Bob's Red Mill gluten-free 1:1 works well. I didn't try this recipe with other gluten-free blends though. I hope that helps.
Maria
This is wonderful easy to make carrot cake recipe. Just follow the instructions and enjoy.
Pecans are best freshly toasted, they add particular crunch and flavor. Depending on storage and where you live you might lose some of it on day 2 or 3 (if came lasts that long lol)
Thank you Sabine for yet another great recipe!