This post may contain affiliate links. Please read our disclosure policy.
This Carrot Cake is the kind people don’t just ask for the recipe — they ask if they can buy it for their holiday celebrations. It’s soft, ultra-moist, warmly spiced, and layered with a rich cream cheese frosting that finishes it perfectly.
If you’re looking for the best carrot cake recipe that turns out incredibly moist every time, this is it. It’s a fully loaded carrot cake with real depth of flavor and a texture that stays soft for days.
This isn’t one of those towering, perfectly polished layer cakes that looks too pretty to cut into. It has a more homemade look — just two layers, a slight settle in the center, and all the cozy charm of a cake made from scratch. But one bite in, and none of that matters. It’s hands-down one of the best-tasting carrot cakes you’ll ever make.
What makes this version so special is how every layer of flavor and texture is built with intention. A buttermilk-based batter keeps the crumb tender, while the real secret is the warm buttermilk glaze poured over the cake straight from the oven — it soaks in and creates an incredibly soft, bakery-style crumb you just don’t get from most recipes.
This cake is generously loaded with pineapple, coconut, raisins, and toasted walnuts, giving you a rich, balanced bite every time. It tastes like something you’d get from a bakery — but it’s completely doable in your own kitchen.
If you love classic homemade cake recipes with bakery-style results, be sure to try myHershey’s Chocolate Cake, Strawberry Cake, and Coconut Cake — they’re all reader favorites for a reason.
Why This Recipe Is So Delicious
This isn’t just a good carrot cake — it’s designed to deliver bakery-quality results in a real home kitchen, with the perfect balance of moisture, structure, and flavor.
- Ultra-moist (without being greasy): Oil, buttermilk, and crushed pineapple work together to create a soft, tender crumb that stays moist for days.
- The glaze makes it unforgettable: That warm buttermilk glaze soaks into the cake while it’s still hot, creating a melt-in-your-mouth texture that truly sets this recipe apart.
- Perfectly balanced spice: Cinnamon, nutmeg, ginger, and cloves add warmth and depth without overpowering the cake.
- Fully loaded for flavor and texture: Coconut, raisins, and toasted walnuts bring sweetness, contrast, and just the right amount of bite.
- Cream cheese frosting that complements, not overwhelms: Smooth, rich, and tangy — it balances the sweetness instead of making the cake feel heavy.
✨ Before You Begin
✨ Use freshly grated carrots. Pre-shredded carrots are too dry and thick — freshly grated carrots melt into the cake and create the best texture.
✨ Drain the pineapple well. Too much liquid will make the cake heavy instead of perfectly moist.
✨ Bring ingredients to room temperature. This helps everything mix smoothly and creates a more even crumb.
✨ Toast the walnuts. It’s a small step that adds a big boost of flavor.
✨ Don’t skip the glaze. This is the signature step that gives the cake its ultra-soft, bakery-style texture.
Ingredients + Key Notes
This is a fully loaded carrot cake with pineapple, coconut, raisins, and walnuts — but you can easily leave out any mix-ins you don’t love. This is just a quick glance at what you’ll need. For exact measurements and the full ingredient list, head down to the recipe card below.
-
All-purpose flour: Provides structure while keeping the crumb tender.
-
Baking powder: Gives lift without making the cake too airy.
-
Spices: Cinnamon, nutmeg, ginger, and cloves create that classic warm flavor.
-
Eggs: Add richness and structure.
-
Vegetable oil: Keeps the cake incredibly moist and soft.
-
Buttermilk: Adds tenderness and a slight tang that balances the sweetness.
-
Granulated + brown sugar: Creates both sweetness and deeper flavor.
-
Vanilla extract: Enhances all the flavors.
-
Crushed pineapple (well drained): Adds natural sweetness and moisture.
-
Finely grated carrots: The key to a soft, cohesive crumb.
-
Sweetened shredded coconut: Adds subtle sweetness and texture.
-
Raisins: Provide chewy texture and natural sweetness.
-
Toasted walnuts: Add crunch and a rich, nutty flavor.
🥣 How to Make Carrot Cake
Start by whisking together your dry ingredients, then combine the wet ingredients in a separate bowl until smooth and well blended. Stir the two together just until combined, then fold in the pineapple, carrots, coconut, raisins, and toasted walnuts. The batter will be thick and loaded — that’s exactly what you want for a rich, moist carrot cake.
Let the batter rest briefly, then divide it between your prepared pans and bake until the centers are set but still soft. While the cakes are baking, prepare the buttermilk glaze.
As soon as the cakes come out of the oven, poke holes across the surface and slowly pour the warm glaze over the top, letting it soak in completely. Once cooled, frost with the cream cheese frosting and chill briefly before slicing for clean, bakery-style layers.
For the fondant carrots you see in the photos, scroll down to the decorating section below — they’re completely optional, but such a cute touch for special occasions.
⭐ Pro Tips
⭐ The glaze is your secret weapon
Pouring the warm glaze over hot cake layers allows it to soak in deeply, creating that ultra-soft, bakery-style texture.
⭐ Finely grate your carrots
Smaller shreds blend into the batter better, giving you a more tender crumb.
⭐ Don’t overmix the batter
Mix just until combined to avoid a dense cake.
⭐ Bake until just set
This is a moist, heavy batter — underbaking can cause the center to sink.
⭐ Let the batter rest before baking
This simple step gives the flour time to hydrate, resulting in a smoother batter and a softer, more even crumb.
⭐ For thicker frosting and prettier swirls
Most of the time, I make this cake with just one batch of frosting, and it frosts beautifully. If I’m making it for a very special occasion, I’ll sometimes make extra frosting for a thicker finish, swirls on top, and fondant carrots. For that look, a double batch gives you plenty for a more generous coating. If you only want enough extra frosting for the swirls, make a half batch and add 1/2 cup confectioners’ sugar so it’s thick enough to hold its shape.
For the swirls on top, I used a Wilton 1M tip and a disposable decorating bag.
⭐ Chill before slicing
A short chill helps the frosting set and gives you clean, beautiful slices.
⭐ Even better the next day
This carrot cake is good the day you make it, but it’s even better the next day. Letting it rest overnight in the refrigerator allows the glaze to fully absorb and the flavors to deepen for the best overall texture and taste.
🔬 Cooking Science: Why This Cake Turns Out So Moist
This recipe layers multiple moisture-building techniques to create a cake that stays soft without becoming dense or oily.
Oil coats the flour proteins, limiting gluten development and keeping the crumb tender. Buttermilk adds both moisture and acidity, which helps soften the texture further. Crushed pineapple contributes natural sugars and moisture, while the buttermilk glaze soaks into the cake after baking, creating a deeply hydrated crumb.
Letting the batter rest before baking allows the flour to fully absorb the liquid, resulting in a smoother, more even texture.
It’s that balance of moisture, texture, and flavor that makes this carrot cake feel so special — and why it tastes even better after a little time in the fridge.
Storing + Reheating + Freezing + Make-Ahead Tips
Storing
Store covered in the refrigerator for up to 4 days. For the best flavor and texture, refrigerate the cake overnight before serving — this gives the glaze time to fully soak in and the flavors to deepen. Let slices sit at room temperature for 20–30 minutes before serving for the best texture.
Reheating
Let slices sit at room temperature for 20–30 minutes before serving for best texture.
Freezing
Wrap unfrosted cake layers tightly and freeze for up to 2 months.
Make-Ahead
Bake the layers a day in advance and frost before serving.
🥕 How to Make Fondant Carrots for Decorating
The little fondant carrots you see in the photos are completely optional, but they’re such a cute finishing touch for a special occasion cake. You only need about 8, so buy the smallest amount of fondant you can find — a small package is plenty.
What You’ll Need
Use orange and green fondant, or white fondant colored with orange and green gel food coloring. You’ll also need a tiny bit of water to attach the tops.
Make the Carrots
If you’re coloring white fondant, knead in a little gel color until evenly blended, keeping the fondant covered when you’re not using it so it doesn’t dry out.
For each carrot, pinch off a marble-sized piece of orange fondant, roll it into a short cylinder, taper one end to a point, and blunt the other end. Use the dull side of a butter knife to press shallow horizontal lines around the outside.
Make the Greens
Pinch off a tiny piece of green fondant and roll it into thin little ropes. Cut them into shorter pieces, gather about 5 together, and press one end so they hold. Curl the loose ends slightly to look like carrot tops.
Attach + Dry
Dab a tiny drop of water onto the base of the greens and press them onto the blunt end of the carrot. Let the finished carrots dry on parchment or wax paper until set.
Keep unused fondant covered while you work. Once the carrots are placed on the frosted cake, the side touching the frosting will soften a little, which is completely normal.
What to Serve With Carrot Cake
Fresh + Crisp Sides
Fresh berries or a light fruit salad add a refreshing contrast.
Comforting Pairings
Serve with coffee, espresso, or hot tea — the warm spices pair beautifully.
Sweet Finishes
Round out your dessert spread with lighter options like lemon desserts or fruit-based treats.
Frequently Asked Questions
◆ What makes this carrot cake so moist?
Oil, buttermilk, pineapple, and the warm buttermilk glaze all work together to create an incredibly soft, tender crumb.
◆ Do I have to use all the mix-ins?
No — you can leave out coconut, raisins, or nuts based on your preference.
◆ Can I use pre-shredded carrots?
It’s not recommended. They’re too dry and thick, which affects texture.
◆ Why did my cake sink in the middle?
This usually happens if the cake is underbaked. Make sure the center is set before removing it from the oven.
◆ Can I make carrot cake in a 9×13 pan instead of layers?
Yes! Bake at 350°F for about 35–45 minutes, or until a toothpick comes out with a few moist crumbs.
◆ Does carrot cake need to be refrigerated?
Yes, because of the cream cheese frosting.
Still have questions? Leave a comment below — I’m always happy to help! 💗
More Showstopper Cakes
Carrot Cake
Ingredients
- 2 cups all-purpose flour
- 2 teaspoons baking powder
- 3/4 teaspoon salt
- 2 teaspoons ground cinnamon
- 1/2 teaspoon ground nutmeg
- 1/4 teaspoon ground ginger
- 1/8 teaspoon ground cloves
- 3 large eggs at room temperature
- 3/4 cup neutral flavor vegetable oil
- 3/4 cup buttermilk
- 1 cup granulated sugar
- 1 cup brown sugar, firmly packed
- 1 tablespoon vanilla extract
- 1 (8-ounce) can crushed pineapple, well drained
- 2 cups finely grated carrots
- 1 cup sweetened shredded coconut, lightly packed
- 1 cup seedless raisins
- 1 cup walnuts, toasted + coarsely chopped
Buttermilk Glaze
- 1 cup sugar
- 1/2 teaspoon baking soda
- 1/2 cup buttermilk
- 1/4 cup unsalted butter
- 1 tablespoon light corn syrup
- 1 teaspoon vanilla extract
Frosting
- 1/3 cup unsalted butter, at room temperature
- 1 (8-ounce) pack cream cheese, at room temperature
- 1 teaspoon vanilla extract
- 2 -- 2 1/2 cups confectioners sugar
- 1 teaspoon orange juice
- 1 teaspoon grated orange zest
Garnish-Optional
- 2 cups walnuts, chopped
- fondant carrots
Instructions
For The Cake:
- Prep the pans. Preheat the oven to 350°F (177ºC). Butter two 9-inch round cake pans, line the bottoms with parchment paper, then lightly butter the parchment as well.
- Toast the walnuts. Spread the walnuts on a small baking sheet and toast for 7–8 minutes, or until fragrant. Let cool, then chop.
- Mix the dry ingredients. In a medium bowl, whisk together the flour (2 cups), baking powder (2 teaspoons), salt (3/4 teaspoon), cinnamon (2 teaspoons), nutmeg (1/2 teaspoon), ginger (1/4 teaspoon), and cloves (1/8 teaspoon). Set aside.
- Mix the wet ingredients. In a large bowl, beat the eggs (3). Add the oil (3/4 cup), buttermilk (3/4 cup), brown sugar (1 cup), granulated sugar (1 cup), and vanilla (1 tablespoon), then whisk until smooth and well combined.
- Combine the batter. Add the dry ingredients to the wet ingredients and stir just until combined. Fold in the drained pineapple (1 can), grated carrots (2 cups), coconut (1 cup), raisins (1 cup), and toasted walnuts (1 cup) until evenly distributed.
- Rest the batter. Let the batter sit for 10 minutes before baking. This gives the flour time to hydrate and helps create a better crumb.
- Bake the cake. Divide the batter evenly between the prepared pans and spread it gently into an even layer. Tap the pans gently on the counter once or twice to release any large air bubbles. (A gentle tap is better than a hard bang for this type of batter).Bake until a toothpick inserted in the center comes out with a few moist crumbs but no wet batter, for about 30–35 minutes. The centers should spring back lightly when touched.Don’t pull the cakes too early — because this is a moist, heavy batter, underbaking can cause the layers to sink in the middle as they cool.Rotate the pans halfway through baking for even browning.Let the cakes cool in the pans for about 10–15 minutes before turning out onto a rack.
Make Buttermilk Glaze:
- Make the glaze. While the cake bakes, add the sugar (1 cup), baking soda (1/2 teaspoon), buttermilk (1/2 cup), butter (1/4 cup), and corn syrup (1 tablespoon) to a large saucepan. Bring to a boil over medium heat. The mixture will foam up, so make sure your pan is big enough. Reduce the heat and simmer for 4–5 minutes, stirring occasionally, until the glaze turns a light caramel color. Remove from the heat and stir in the vanilla (1 teaspoon).
- Glaze the warm cake. When the cake comes out of the oven, use a fork or skewer to poke holes all over the top. Slowly pour the warm glaze evenly over the hot cake. Let the cake cool completely in the pan so the glaze has time to soak in.
Make The Frosting:
- Beat the frosting base. In a large bowl, beat the cream cheese (8 ounces) and butter (1/3 cup) together until completely smooth and fluffy, about 2 minutes.
- Add the flavorings. Beat in the vanilla (1 teaspoon), orange juice (1 teaspoon), orange zest (1 teaspoon), and a pinch of salt until combined.
- Add the powdered sugar. Gradually add the powdered sugar (2 --2 1/2 cups), beating on low speed until incorporated, then increase the speed and beat until smooth and creamy.
- Finish the frosting. Beat for another 30–60 seconds until the frosting is light, smooth, and spreadable.
- Frost the cake. Let the cakes cool completely before frosting. Spread the frosting evenly over the completely cooled cake. Chill for 2 hour minimum or best, overnight before slicing for the neatest pieces.
Fans Also Made:
Notes
- Frosting Note: Most of the time, one batch of frosting is all I use, and it frosts the cake perfectly. For very special occasions, I sometimes make extra frosting for a thicker finish, decorative swirls, and fondant carrots. A double batch works well for that. If you only want enough extra frosting for the swirls, make a half batch and add 1/2 cup confectioners’ sugar so it's thick enough to hold its shape. For the swirls on top, I used a Wilton 1M tip in a disposable decorating bag.
- Optional Fondant Carrot Decorations: The fondant carrots shown in the photos are completely optional. You’ll need a small amount of orange and green fondant (or white fondant with gel food coloring) and a tiny bit of water to attach the tops. For full step-by-step instructions, see the “How to Make Fondant Carrots for Decorating” section in the article.
- The glaze is your secret weapon. Pouring the warm glaze over hot cake layers allows it to soak in deeply, creating that ultra-soft, bakery-style texture.
- Finely grate your carrots. Smaller shreds blend into the batter better, giving you a more tender crumb.
- Don’t overmix the batter. Mix just until combined to avoid a dense cake.
- Bake until just set. This is a moist, heavy batter — underbaking can cause the center to sink.
- Let the batter rest before baking. This simple step gives the flour time to hydrate, resulting in a smoother batter and a softer, more even crumb.
- For thicker frosting and prettier swirls. Most of the time, I make this cake with just one batch of frosting, and it frosts beautifully. If I’m making it for a very special occasion, I’ll sometimes make extra frosting for a thicker finish, swirls on top, and fondant carrots. For that look, a double batch gives you plenty for a more generous coating. If you only want enough extra frosting for the swirls, make a half batch and add 1/2 cup confectioners’ sugar so it’s thick enough to hold its shape.
- For the swirls on top, I used a Wilton 1M tip and a disposable decorating bag.
- Chill before slicing. A short chill helps the frosting set and gives you clean, beautiful slices.
- Even better the next day. This carrot cake is good the day you make it, but it’s even better the next day. Letting it rest overnight in the refrigerator allows the glaze to fully absorb and the flavors to deepen for the best overall texture and taste.













Leave a Reply