Moist Carrot Cake Recipe (With Cream Cheese Frosting)

I’ve always believed that the best desserts are the ones that bring people together, and this Moist Carrot Cake does exactly that. I first baked it for a family gathering when I wanted something classic instead of a rich chocolate cake. The warm spices, freshly grated carrots, and smooth cream cheese frosting were an instant hit, and everyone came back for another slice. Since then, it has become one of my favorite recipes whenever I want a homemade cake that never disappoints.

What I love most about this Carrot Cake is how soft and flavorful it stays without being complicated to make. The simple ingredients create a perfectly tender crumb, while the creamy frosting adds just the right finishing touch. Whether you’re celebrating a special occasion or baking just because you’re craving something sweet, this recipe delivers a delicious result every time.

A freshly baked Moist Carrot Cake decorated with creamy frosting and crunchy walnuts for an easy homemade dessert.

Why You’ll Love This Moist Carrot Cake

  • Incredibly soft and moist: Freshly grated carrots add natural moisture, giving this cake a tender crumb that stays soft for days without drying out.
  • Easy for any baker: You don’t need special equipment or advanced baking skills. With simple pantry staples and clear steps, this recipe comes together with ease.
  • Perfectly balanced flavor: Warm cinnamon and a touch of vanilla complement the sweetness of the carrots, creating a classic homemade taste that isn’t overly sweet.
  • Rich cream cheese frosting: The smooth, tangy frosting adds the perfect finishing touch and pairs beautifully with every bite of this Moist Carrot Cake.
  • Ideal for every celebration: Whether you’re baking for Easter, birthdays, family dinners, holidays, or simply craving a homemade dessert, this cake always fits the occasion.
  • Easy to customize: Stir in chopped walnuts, pecans, raisins, or even shredded coconut to add extra texture and make the recipe your own.
  • Make-ahead friendly: Bake the cake layers a day in advance and frost before serving. The flavor becomes even better after the cake has had time to rest.
  • A recipe everyone loves: This Moist Carrot Cake has a comforting homemade flavor that makes it a favorite for both kids and adults, making it a dessert you’ll want to bake again and again.

Ingredients You’ll Need

For the Cake

  • ½ cup raisins (optional): These add little pockets of sweetness throughout the cake. If raisins aren’t your favorite, simply leave them out without changing anything else.
  • 2 cups all-purpose flour (250g): Flour provides the structure of the cake. For the softest crumb, spoon the flour into your measuring cup and level it off instead of scooping directly from the bag.
  • 2 teaspoons baking soda: This is the main leavening agent, helping the cake rise beautifully while creating its signature golden color and tender texture.
  • 2 teaspoons ground cinnamon: The star spice in carrot cake, giving every bite a warm, cozy flavor that pairs perfectly with the carrots.
  • ¼ teaspoon ground ginger (optional): Adds a delicate hint of spice that complements the cinnamon without overpowering the cake.
  • ½ teaspoon ground nutmeg: Just a small amount deepens the flavor and gives the cake a richer, homemade taste.
  • ¼ teaspoon ground cloves: Cloves are very strong, so a little is all you need to add warmth and complexity.
  • ½ teaspoon salt: Balances the sweetness and enhances the flavors of the spices, vanilla, and carrots.
  • ½ cup vegetable oil (120ml): Oil is the secret to a truly Moist Carrot Cake because it keeps every slice soft and tender long after baking.
  • 1¾ cups packed brown sugar: Brown sugar sweetens the cake while adding moisture and a subtle caramel flavor that white sugar can’t provide.
  • 3 large eggs, room temperature: Eggs bind the ingredients together and help create a light, fluffy crumb. Room-temperature eggs blend more evenly into the batter.
  • 2 teaspoons pure vanilla extract: Adds a smooth, rich flavor that brings all of the warm spices together.
  • ¾ cup buttermilk (180ml): Buttermilk makes the cake extra tender and adds a slight tang that balances the sweetness. If you don’t have any, combine ¾ cup milk with 2 teaspoons lemon juice and let it rest for 5 minutes.
  • 2½ cups finely shredded carrots: Freshly grated carrots provide natural sweetness, moisture, and the soft texture that makes this cake so irresistible. Avoid pre-shredded carrots because they tend to be dry and coarse.
  • ¾ cup chopped walnuts or pecans (optional): These add a satisfying crunch and nutty flavor. Toast them for a few minutes before adding them to the batter for even better flavor.
  • ½ cup crushed pineapple, well drained (optional): Pineapple adds extra moisture and a touch of natural sweetness. Make sure it’s well drained so the batter doesn’t become too wet.

For the Cream Cheese Frosting

  • ½ cup unsalted butter (112g), softened: Softened butter creates a rich, creamy frosting that spreads smoothly over the cake.
  • 8 ounces (226g) full-fat brick cream cheese, softened: Brick-style cream cheese provides the thick, stable consistency needed for a frosting that holds its shape.
  • 1 teaspoon fresh lemon juice: A splash of lemon juice brightens the frosting and balances its richness.
  • ¼ teaspoon salt: Enhances the cream cheese flavor while keeping the frosting from tasting overly sweet.
  • 2–3 cups powdered sugar, sifted (220–330g): Start with 2 cups, then add more if needed until the frosting reaches your preferred consistency.
  • ½ cup chopped walnuts (optional): Sprinkle them over the finished cake for extra crunch and a beautiful bakery-style presentation.
Moist Carrot Cake with rich cream cheese frosting and chopped walnuts, sliced and ready to serve.

How to Make Carrot Cake (Step-by-Step)

1. Prepare the Pan and Oven

Preheat your oven to 350°F (175°C) and position the oven rack in the center. Lightly grease a 9×13-inch baking pan, then line the bottom with parchment paper. The parchment makes it much easier to lift the cake out or serve neat slices after baking.

2. Combine the Dry Ingredients

In a medium bowl, whisk together the all-purpose flour, baking soda, cinnamon, ground ginger, nutmeg, cloves, and salt until the spices are evenly distributed. Whisking the dry ingredients first helps prevent pockets of baking soda or spices in the finished cake.

3. Mix the Wet Ingredients

In a large mixing bowl, whisk together the vegetable oil and packed brown sugar until smooth and well blended. Add the eggs, one at a time, whisking well after each addition so they fully incorporate into the mixture. Stir in the vanilla extract until everything is smooth and fragrant.

4. Add the Buttermilk

Pour in the buttermilk and whisk until completely combined. The batter will look thinner than a typical cake batter, but that’s exactly what you want. The buttermilk adds moisture while helping create a soft, tender crumb.

5. Fold Everything Together

Gradually add the dry ingredients to the wet ingredients. Using a rubber spatula, gently fold the mixture together just until you no longer see streaks of flour. Resist the urge to keep mixing, as overworking the batter can develop too much gluten and make the cake heavier instead of light and tender.

6. Stir in the Remaining Ingredients

Fold in the freshly shredded carrots, followed by the raisins, chopped walnuts or pecans, and well-drained crushed pineapple, if using. Mix gently until everything is evenly distributed throughout the batter without overmixing.

7. Bake Until Perfectly Done

Pour the batter into the prepared baking pan and smooth the top with a spatula so it bakes evenly. Bake for 33–38 minutes, or until the top is lightly golden and a toothpick inserted into the center comes out clean or with a few moist crumbs attached. Avoid opening the oven door too early, as this can cause the cake to sink.

8. Cool Completely

Transfer the pan to a wire cooling rack and let the cake cool for about 45 minutes, or until completely cool. Spreading frosting over a warm cake will cause it to melt and slide off, so be patient before decorating.

9. Prepare the Cream Cheese Frosting

In a large bowl, beat the softened butter and brick-style cream cheese together for about 2 minutes until smooth and creamy. Add the fresh lemon juice and salt, then mix again until fully combined. Scrape down the sides of the bowl as needed to keep the frosting silky smooth.

10. Frost and Decorate

Gradually add the sifted powdered sugar, one cup at a time, beating on low speed until the frosting becomes thick, light, and fluffy. Spread it evenly over the cooled cake using an offset spatula or the back of a spoon. Finish with a sprinkle of chopped walnuts for extra crunch and an attractive bakery-style finish before slicing and serving.

Homemade Moist Carrot Cake featuring soft layers, warm spices, and smooth cream cheese frosting.

Expert Tips for the Best Results

These simple tips will help you achieve a soft, flavorful cake with a perfectly smooth frosting every time.

  • Grate the carrots yourself: Freshly grated carrots create a softer, more tender crumb because they release more moisture while baking. Pre-shredded carrots are usually thicker and drier, so they don’t blend into the batter as well.
  • Use room-temperature ingredients: Let the eggs, buttermilk, butter, and cream cheese sit at room temperature before you begin. They combine more easily, creating a smoother batter and a creamier frosting.
  • Drain the pineapple well: If you’re adding crushed pineapple, press out as much liquid as possible before folding it into the batter. Too much moisture can affect the cake’s texture and increase the baking time.
  • Don’t overmix the batter: Once the dry ingredients are added, gently fold everything together just until combined. Overmixing develops the gluten in the flour, which can make the cake dense instead of soft and tender.
  • Choose brick-style cream cheese: Full-fat brick cream cheese creates a thick, stable frosting that spreads beautifully. Soft tub-style cream cheese contains more moisture and may result in a runny frosting.
  • Toast the nuts first: If you’re using walnuts or pecans, toast them for about 5–7 minutes at 350°F (175°C) before adding them to the batter. This simple step brings out a deeper, richer flavor and adds extra crunch.
  • Cool the cake completely before frosting: Even a slightly warm cake can cause the frosting to melt and slide off. Waiting until the cake is fully cooled gives you the cleanest finish.
  • For neater slices, chill before serving: Refrigerate the frosted cake for 15–20 minutes before cutting. The frosting firms up slightly, making each slice cleaner and more professional-looking.
  • The flavor improves overnight: If you have time, make the cake a day ahead. Resting overnight allows the spices to blend together, resulting in an even richer homemade flavor the next day.

Ingredient Substitutions

Need to make a few changes? These simple swaps work well while still helping you create a delicious Moist Carrot Cake. Keep in mind that substitutions may slightly change the texture or flavor.

  • No buttermilk? Combine ¾ cup regular milk with 2 teaspoons fresh lemon juice and let it sit for about 5 minutes. This easy substitute adds the same tenderness and slight tang that makes Moist Carrot Cake so soft.
  • Swap the vegetable oil: Replace the ½ cup vegetable oil with the same amount of melted and cooled coconut oil. The cake will stay wonderfully moist with a subtle hint of coconut flavor.
  • Use pecans instead of walnuts: If you don’t have walnuts, chopped pecans make an excellent substitute. They add a buttery flavor and a slightly softer crunch without changing the overall texture.
  • Make it dairy-free: Use your favorite plant-based butter, dairy-free cream cheese, and replace the buttermilk with dairy-free milk mixed with 2 teaspoons lemon juice. Your Moist Carrot Cake will still have a tender crumb and creamy frosting.
  • Make it gluten-free: Substitute the all-purpose flour with an equal amount of a 1:1 gluten-free baking flour blend, such as Bob’s Red Mill or King Arthur Measure for Measure. The cake may be slightly denser but will remain soft and flavorful.
  • Make it egg-free: Replace the 3 large eggs with 3 flax eggs (1 tablespoon ground flaxseed mixed with 3 tablespoons water for each egg). Let the mixture rest for 5 minutes before using. The finished Moist Carrot Cake will have a slightly denser texture while still staying moist.
Thick slice of Moist Carrot Cake with a tender crumb, grated carrots, and tangy cream cheese frosting.

Storage Tips

  • Refrigerate: Since the cake is topped with cream cheese frosting, store your Moist Carrot Cake tightly covered in the refrigerator for up to 5 days. A cake carrier or an airtight container works best to prevent it from drying out or absorbing refrigerator odors. Before serving, let a slice rest at room temperature for 15–20 minutes so the frosting softens slightly and the cake returns to its best texture.
  • Freeze for Later: If you’re planning ahead, freeze the unfrosted cake layers instead of the fully decorated cake. Wrap each layer tightly in plastic wrap, then cover with aluminum foil to protect against freezer burn. Freeze for up to 3 months, then thaw overnight in the refrigerator before frosting and serving.
  • Refresh Before Serving: A chilled slice can taste just as delicious with a quick warm-up. Microwave an individual slice for 15–20 seconds to bring back its soft, tender crumb without melting the frosting too much.

More Cake Recipes to Try

Frequently Asked Questions

Can I use frozen shredded carrots instead of fresh?

Yes. Thaw the frozen carrots completely, then gently squeeze out the excess moisture with a clean kitchen towel or paper towels before adding them to the batter. This helps your Moist Carrot Cake bake evenly without becoming too wet.

Why did my cake turn out dense?

A dense cake is usually caused by using too much flour or overmixing the batter. For the best results, spoon the flour into the measuring cup instead of scooping directly from the bag, and fold the batter only until the ingredients are combined.

Can I leave out the walnuts and raisins?

Absolutely. The cake is still soft, moist, and full of flavor without either add-in. You can leave them out entirely or replace them with chopped pecans, shredded coconut, or simply enjoy the cake as is.

Can I make this recipe ahead of time?

Yes. Bake the cake, let it cool completely, then wrap the unfrosted layers tightly in plastic wrap followed by aluminum foil. Freeze for up to 3 months and thaw overnight in the refrigerator before frosting and serving. Making Moist Carrot Cake ahead of time is a great option for holidays and special occasions.

How long does homemade carrot cake last?

When stored in an airtight container in the refrigerator, it stays fresh for up to 5 days. In fact, many people find that the flavor becomes even better after a day as the spices have more time to develop.

What’s the difference between carrot cake and spice cake?

Both cakes use warm spices, but carrot cake contains freshly shredded carrots, which add natural sweetness and extra moisture. Spice cake relies entirely on spices for flavor and doesn’t include vegetables in the batter.

Why is my cream cheese frosting too runny?

This usually happens if the butter or cream cheese is too soft, or if tub-style cream cheese is used instead of brick-style. Chill the frosting for about 15–20 minutes, then beat it again until it becomes thick and spreadable for your Moist Carrot Cake.

Final Thoughts

If you’re looking for a dessert that’s simple to make yet always impressive, this Carrot Cake is a recipe worth keeping. With its tender crumb, warm spices, and rich cream cheese frosting, it’s the kind of homemade treat that’s perfect for everything from family dinners to holiday celebrations.

I hope you enjoy baking this Soft Carrot Cake as much as I do. If you give it a try, I’d love to hear how it turned out! Leave a comment below, share your favorite add-ins or decorating ideas, and don’t forget to rate the recipe. Happy baking!

A freshly baked Moist Carrot Cake decorated with creamy frosting and crunchy walnuts for an easy homemade dessert.

Moist Carrot Cake Recipe

Areeba
This Moist Carrot Cake is soft, tender, and perfectly spiced with cinnamon, nutmeg, and cloves. Freshly grated carrots, brown sugar, and buttermilk create an incredibly moist crumb, while a rich cream cheese frosting adds the perfect finishing touch. It's an easy homemade dessert that's perfect for birthdays, holidays, Easter, or any special occasion.
Prep Time 20 minutes
Cook Time 35 minutes
Cooling Time 45 minutes
Total Time 1 hour 40 minutes
Course Dessert
Cuisine American
Servings 15 slices

Ingredients
  

For the Cake

  • ½ cup raisins optional
  • 2 cups all-purpose flour 250g
  • 2 teaspoons baking soda
  • 2 teaspoons ground cinnamon
  • ¼ teaspoon ground ginger optional
  • ½ teaspoon ground nutmeg
  • ¼ teaspoon ground cloves
  • ½ teaspoon salt
  • ½ cup vegetable oil 120ml
  • cups packed brown sugar
  • 3 large eggs room temperature
  • 2 teaspoons pure vanilla extract
  • ¾ cup buttermilk 180ml
  • cups finely shredded carrots
  • ¾ cup chopped walnuts or pecans optional
  • ½ cup crushed pineapple well drained (optional)

For the Cream Cheese Frosting

  • ½ cup unsalted butter 112g, softened
  • 8 ounces 226g full-fat brick cream cheese, softened
  • 1 teaspoon fresh lemon juice
  • ¼ teaspoon salt
  • 2 –3 cups powdered sugar sifted (220–330g)
  • ½ cup chopped walnuts optional, for topping

Instructions
 

  • Preheat the oven to 350°F (175°C). Grease and line a 9×13-inch baking pan with parchment paper.
  • Whisk together the flour, baking soda, cinnamon, ginger, nutmeg, cloves, and salt.
  • In a separate bowl, whisk the oil and brown sugar until smooth. Add the eggs one at a time, then stir in the vanilla.
  • Mix in the buttermilk until fully combined.
  • Fold the dry ingredients into the wet ingredients just until combined.
  • Gently stir in the shredded carrots, raisins, nuts, and crushed pineapple, if using.
  • Spread the batter evenly into the prepared pan and bake for 33–38 minutes, or until a toothpick inserted in the center comes out clean.
  • Cool the cake in the pan for 45 minutes before frosting.
  • Beat the butter and cream cheese until smooth. Mix in the lemon juice and salt, then gradually add the powdered sugar until light and fluffy.
  • Frost the cooled cake, garnish with chopped walnuts if desired, slice, and serve.

Notes

  • Freshly grate the carrots for the softest texture.
  • Don’t overmix the batter to keep the cake light and tender.
  • Drain the crushed pineapple well before adding it to the batter.
  • Allow the cake to cool completely before frosting.
  • Store leftovers covered in the refrigerator for up to 5 days or freeze unfrosted cake layers for up to 3 months.
Keyword Moist Carrot Cake
Areeba - OvenlyDelight

About Areeba

Home Baker | Recipe Blogger | Mom

I am a passionate home baker and recipe blogger who loves creating simple, delicious baking recipes for busy moms. From soft cookies to fluffy muffins — everything is made with love! Pull up your apron and let's have some fun in the kitchen together!

Meet Areeba →

Recommended

Leave a Reply

Your email address will not be published. Required fields are marked *

Recipe Rating




Areeba - OvenlyDelight
hi there!

Welcome, I'm Areeba!

I love creating simple, delicious baking recipes for busy moms. From soft cookies to fluffy muffins — everything is made with love! Let's have fun in the kitchen together! 🧁

Meet Areeba →

Popular Recipes

Follow Us