
Prep Time: 20 mins | Cook Time: 35 mins | Total Time: 55 mins | Servings: 10–12 slices
I made this carrot cake recipe for my sister’s birthday two years ago and she literally asked me to make it again the very next week. That never happens in my house. It’s the kind of cake that stops people mid-conversation and makes them ask “wait, what IS this?”
What makes this carrot cake recipe so special is the texture — it’s incredibly moist, almost fudgy in the middle, with warm spices running through every single bite. And that cream cheese frosting on top is tangy, sweet, and smooth in a way that store-bought frosting could never compete with.
The best part is you don’t need a stand mixer or any fancy equipment. One bowl, a grater, and a whisk is all you need. Let’s get into it.
INGREDIENTS FOR CARROT CAKE RECIPE
I always grate the carrots fresh — never use pre-shredded carrots from a bag. Freshly grated carrots release more moisture into the batter and that’s exactly what gives this carrot cake recipe its legendary moistness.
For the cake:
- 2 cups all-purpose flour
- 2 tsp baking soda
- 1½ tsp cinnamon
- ½ tsp nutmeg
- ½ tsp ground ginger
- ½ tsp salt
- 1½ cups granulated sugar
- 4 large eggs, room temperature
- 1 cup vegetable oil
- 2 tsp vanilla extract
- 3 cups freshly grated carrots (about 4 medium carrots)
- ½ cup crushed pineapple, drained (secret ingredient!)
- ½ cup chopped walnuts or pecans (optional)
- ½ cup raisins (optional)
For the cream cheese frosting:
- 225g (8 oz) full-fat cream cheese, softened
- ½ cup (115g) unsalted butter, softened
- 3 cups powdered sugar, sifted
- 1 tsp vanilla extract
- Pinch of salt

STEP-BY-STEP INSTRUCTIONS
Don’t overmix the batter once you add the flour — this is the most important rule for a moist carrot cake recipe. Overmixing develops too much gluten and makes the cake dense and tough instead of soft and tender.
Step 1 — Preheat your oven to 350°F (175°C). Grease two 9-inch round cake pans and line the bottoms with parchment paper. This makes removing the cakes so much easier later.
Step 2 — In a large bowl, whisk together flour, baking soda, cinnamon, nutmeg, ginger, and salt. Set aside.
Step 3 — In another large bowl, whisk the eggs, sugar, oil, and vanilla extract together until well combined and slightly pale. This takes about 1–2 minutes by hand.

Step 4 — Add the grated carrots and drained crushed pineapple to the wet mixture and stir to combine. The batter will look very wet at this point — that’s completely normal and exactly what you want.
Step 5 — Pour the dry ingredients into the wet ingredients and fold gently with a spatula until just combined. Do not overmix — a few streaks of flour are perfectly fine. Fold in walnuts and raisins if using.
Step 6 — Divide the batter evenly between the two prepared cake pans. Bake at 350°F for 30–35 minutes until a toothpick inserted in the center comes out clean.

Step 7 — Remove from oven and let the cakes cool in the pans for 10 minutes. Then turn them out onto a wire rack and let them cool completely before frosting. Never frost a warm cake — the frosting will melt and slide right off.
Step 8 — While the cakes cool, make the cream cheese frosting. Beat the softened cream cheese and butter together until completely smooth and fluffy. Add sifted powdered sugar one cup at a time, mixing well after each addition. Add vanilla and a pinch of salt. Mix until silky and smooth.
Step 9 — Place one cake layer on your serving plate. Spread a generous layer of cream cheese frosting on top. Place the second layer on top and frost the top and sides of the entire cake. Decorate with chopped walnuts on top if desired.

WHAT TO SERVE WITH
Hot Cup of Tea or Coffee A warm mug of chai tea or a strong black coffee alongside a slice of this carrot cake recipe is an absolute match made in heaven. The spices in the cake pair beautifully with both.
Vanilla Ice Cream A scoop of good vanilla ice cream beside a warm slice of carrot cake is pure dessert magic. The cold creamy ice cream against the warm spiced cake is a combination that never gets old.
Fresh Berries on the Side A small handful of fresh strawberries or raspberries on the plate adds a lovely tartness that cuts through the sweetness of the cream cheese frosting beautifully.
Whipped Cream A simple dollop of lightly sweetened whipped cream on the side keeps things light and elegant. Perfect if you’re serving this carrot cake recipe at a dinner party or celebration.
Warm Caramel Drizzle Drizzle a little warm salted caramel sauce over each slice just before serving for an extra indulgent dessert experience. It works incredibly well with the cream cheese frosting and spiced cake.

STORAGE & SERVING TIPS
Room Temperature: Because of the cream cheese frosting, this carrot cake recipe should not sit at room temperature for more than 2 hours. Cream cheese needs to stay chilled to stay safe and fresh.
Fridge: Store the frosted cake covered in the fridge for up to 5 days. The flavor actually deepens and gets even better on day 2 and 3 as the spices settle in. Bring to room temperature for 30 minutes before serving for the best texture.
Freezer: You can freeze the unfrosted cake layers individually. Wrap each layer tightly in plastic wrap then in foil and freeze for up to 3 months. Thaw overnight in the fridge, then frost and serve.
Make Ahead Tip: Bake the cake layers a day ahead and store them wrapped in the fridge. Make the frosting fresh on the day you plan to serve. This is the best way to split up the work without any stress.
COMMON MISTAKES
1. Using pre-shredded carrots Bagged pre-shredded carrots are too dry and thick. They don’t release enough moisture into the batter and the pieces are too large, giving you an uneven texture. Always grate fresh carrots yourself using the fine or medium side of the grater.
2. Skipping the pineapple I know it sounds strange but that crushed pineapple is the secret weapon in this carrot cake recipe. It adds moisture and a subtle sweetness without making the cake taste like pineapple at all. Don’t skip it — trust the process.
3. Overmixing the batter Once the flour goes in, mix as little as possible. Overmixing activates gluten and turns a potentially light, tender cake into something dense and rubbery. Fold gently and stop as soon as you no longer see dry flour.
4. Frosting a warm cake This is a very common mistake. If the cake is even slightly warm, the cream cheese frosting will melt, slide off, and become a complete mess. Be patient and wait for a fully cooled cake before frosting.
5. Using low-fat cream cheese for the frosting Low-fat or spreadable cream cheese has too much water content and makes runny, unstable frosting that won’t hold its shape. Always use full-fat block cream cheese for the best results with this carrot cake recipe.
VARIATIONS
Single Layer Sheet Cake Pour all the batter into a greased 9×13 inch baking pan and bake for 35–40 minutes. Frost the top only once cooled. This is the easiest version of this carrot cake recipe — great for potlucks and casual gatherings.
Carrot Cake Cupcakes Divide the batter into lined cupcake trays filling each about ¾ full. Bake at 350°F for 18–22 minutes. Pipe cream cheese frosting on top for the most adorable individual servings — perfect for parties and kids.
Spiced Carrot Cake with Orange Frosting Add 1 tsp of orange zest to the batter and swap the vanilla in the frosting for fresh orange juice and zest. The citrus lift makes this carrot cake recipe feel bright, fresh, and extra special for Easter or spring celebrations.
Gluten-Free Carrot Cake Replace all-purpose flour with a 1:1 gluten-free flour blend. Everything else stays exactly the same. The texture is slightly denser but still wonderfully moist and full of that same great spiced flavor everyone loves.

CONCLUSION
If you make this carrot cake recipe I truly hope it becomes your new family favorite just like it has in mine — leave a comment below and tell me how it turned out! And please save this to your Pinterest boards so you always have it when you need a show-stopping dessert. Happy baking! 🥕🎂
RECIPE CARD
Moist Carrot Cake Recipe With Cream Cheese Frosting Prep Time: 20 mins | Cook Time: 35 mins | Total Time: 55 mins | Servings: 10–12 slices
Ingredients:
Cake:
- 2 cups all-purpose flour
- 2 tsp baking soda
- 1½ tsp cinnamon
- ½ tsp nutmeg
- ½ tsp ground ginger
- ½ tsp salt
- 1½ cups granulated sugar
- 4 large eggs
- 1 cup vegetable oil
- 2 tsp vanilla extract
- 3 cups freshly grated carrots
- ½ cup crushed pineapple, drained
- ½ cup walnuts (optional)
- ½ cup raisins (optional)
Cream Cheese Frosting:
- 225g full-fat cream cheese, softened
- ½ cup unsalted butter, softened
- 3 cups powdered sugar, sifted
- 1 tsp vanilla extract
- Pinch of salt
Equipment:
- Two 9-inch round cake pans
- Parchment paper
- Large mixing bowls
- Box grater
- Wire cooling rack
- Spatula or offset spatula
Instructions:
- Preheat oven to 350°F. Grease and line two 9-inch pans.
- Whisk all dry ingredients together in a large bowl.
- Whisk eggs, sugar, oil and vanilla in another bowl until combined.
- Stir in grated carrots and drained pineapple.
- Fold dry ingredients into wet until just combined. Don’t overmix.
- Fold in walnuts and raisins if using.
- Divide into pans. Bake 30–35 mins until toothpick comes out clean.
- Cool in pans 10 mins then transfer to wire rack. Cool completely.
- Beat cream cheese and butter until fluffy. Add powdered sugar, vanilla, salt.
- Frost cooled cake. Decorate with walnuts. Slice and serve.
Notes:
- Always grate carrots fresh — never use pre-shredded
- Don’t skip the crushed pineapple — it’s the secret to moistness
- Full-fat cream cheese only for frosting — no substitutes
- Cake tastes even better on day 2
- Unfrosted layers freeze well for up to 3 months