Moist Carrot Cake

5 from 8 votes

I may receive compensation in the form of payment or products to supplement my posts, but all opinions remain my own. Read our disclosure policy.

This moist carrot cake with cream cheese frosting will be your new go-to recipe. It’s tender and soft with a delicious carrot cake flavor and can be made with or without pineapple for the perfect carrot cake recipe! A slice of moist carrot cake with cream cheese frosting - the perfect, easy carrot cake recipe.

If you’re looking for a carrot cake recipe that’s tender, easy to make, and never boring – then this moist carrot cake recipe is just for you! I’ve tested and retested so many carrot cake recipes over the years, and this carrot cake is my new go-to.

So I figured I’d share it just in time for Easter.

Moist Carrot Cake Recipe

I actually shared a carrot cake recipe here on Just So Tasty a few years ago, and as much as I love the flavor of that carrot cake recipe – it’s a little fussy. So I wanted a new, easier carrot cake recipe that’s just as delicious, even more moist and simpler to make. My original carrot cake used both pureed carrots and grated carrots which was a bit of a pain, and the bake time was ridiculously long.

The batter for this moist carrot cake recipe can be made in just 4 steps:

  1. Whisk together the dry ingredients: flour, cinnamon, nutmeg, ground cloves, baking soda & salt.
  2. Beat together the wet ingredients: oil, brown sugar, eggs, vanilla extract, and milk
  3. Mix the dry ingredients in the wet ingredients.
  4. Fold in the grated carrot and walnuts.

A bowl of carrot cake batter, before the grated carrots and walnuts are folded in. Then pour the batter into the greased and floured cake pan, and bake for about 35 minutes.

Cream Cheese Frosting for Carrot Cake

This carrot cake recipe is topped with a simple, easy cream cheese frosting. It’s made with butter, cream cheese, powdered sugar, a little salt, and fresh lemon juice. I like adding a little lemon juice because it adds a little bit more tanginess that tastes delicious with carrot cake. The only real “tips” for making cream cheese frosting are:

  • Make sure your butter and cream cheese are softened to room temperature before getting started
  • Use full-fat, brick-style cream cheese
  • Avoid over mixing the frosting – this can actually make it lose its thick and creamy texture.
  • If your frosting seems too sweet, you can add in 1 tablespoons of cream or milk. Be aware though – this can make the frosting thinner.

Carrot Cake with Pineapple

If you’d like to make carrot cake with pineapple, drain one 20 oz can of crushed pineapple. Fold in the drained pineapple with the grated carrots and walnuts. When adding pineapple, I typically reduce the sugar by 1/4 cup since the pineapple adds extra sweetness.

How to Make Carrot Cake with Different Pan SizesA 9x13 inch pan of carrot cake with cream cheese frosting.

This carrot cake recipe is designed for a 9×13 inch pan. But it can be easily adapted for other pan shapes & sizes.

  • 8×8 or 9×9 Inch Pan: Divide all the ingredients by 1/2. The bake time will be about the same. Just ensure that the sides of your pan are at least 2 inches tall to ensure the cake doesn’t overflow.
  • Carrot Layer Cake: To make a layer cake, grease and flour two 9-inch round cake pans. Divide the batter evenly between the pans, and bake for about 35-45 minutes.
  • Carrot Cake Cupcakes: To turn this carrot cake recipe into cupcakes, you’ll get 24 cupcakes. Line 2 muffin pans, and divide the batter evenly between them. The bake time will be about 15-18 minutes. You may need to double the frosting recipe for making cupcakes if you like a lot of frosting.
  • Carrot Cake Bundt Cake: For a 10-inch bundt cake, the bake time will be about 45-55 minutes. Make sure to grease and flour the pan very well to avoid sticking.

A slice of moist, tender carrot cake with a bite taken out of it on a white plate.

For more classic sheet cakes, try these other flavors:

A slice of moist, tender carrot cake with a bite taken out of it on a white plate.
5 from 8 votes

Moist Carrot Cake

This moist carrot cake with cream cheese frosting will be your new go-to recipe. It’s tender and soft with a delicious carrot cake flavor and can be made with or without pineapple for the perfect carrot cake recipe! 
Prep: 20 minutes
Cook: 35 minutes
Cooling: 45 minutes
Total: 55 minutes
Servings: 15 slices
Want to save this recipe?
Just enter your email and get it sent to your inbox! Plus you'll get new recipes from us every week!
Please enable JavaScript in your browser to complete this form.


Moist Carrot Cake

  • 2 cups all-purpose flour
  • 2 teaspoons baking soda
  • 2 teaspoons cinnamon
  • 1/2 teaspoon ground nutmeg
  • 1/4 teaspoon ground cloves
  • 1/2 teaspoon salt
  • 1/2 cup vegetable oil, or canola
  • 1 3/4 cups brown sugar, lightly packed
  • 3 large eggs
  • 2 teaspoons vanilla extract
  • 3/4 cup buttermilk, or use 3/4 cup milk and 2 teaspoons lemon juice
  • 2 1/2 cups grated carrot*
  • 3/4 cup chopped walnuts, or pecans

Cream Cheese Frosting

  • 1/2 cup unsalted butter
  • 8 oz cream cheese, full fat, brick-style
  • 1 teaspoon fresh lemon juice
  • 1/4 teaspoon salt
  • 11/2 - 2 cups powdered sugar, sifted
  • 1/2 cup chopped walnuts, optional


Moist Carrot Cake

  • Preheat the oven to 350F degrees. Grease and flour a 9x13 inch metal cake pan (ensure the sides are at least 2 inches tall).
  • In a large bowl whisk together the flour, baking soda, cinnamon, nutmeg, cloves & salt. 
  • In a separate large bowl beat together the oil, brown sugar, eggs & vanilla extract. Turn the mixer down to low speed and beat in the milk.
  • With the mixer on low, mix the flour into the oil mixture about 1/2 at a time.
  • Turn off the mixer and gently fold in the grated carrots and chopped nuts using a rubber spatula
  • Pour the batter into the prepared pan and bake for 35-40 minutes, or until a cake tester comes out clean. Cool fully.

Cream Cheese Frosting

  • In a large bowl beat the butter until soft.
  • Mix in the cream cheese.
  • Add in the salt and lemon juice, then mix in the powdered sugar about 1 cup at a time. I usually taste test the frosting after adding about 1 1/2 cups sugar to see if it's sweet enough for your liking. 
  • Frost the cooled cake, then optionally sprinkle the top with chopped walnuts. 


*Cake can be stored covered, at room temperature for up to 8 hours. Leftovers can be covered and stored in the fridge for up to 3 days. Unfrosted cake can be wrapped tightly and frozen. Thaw in the fridge overnight, then bring to room temperature before frosting. 
Like this recipe? Rate and comment below!




You Might Also Like

Leave a comment

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

Recipe Rating


  1. 5 stars
    Thanks for the recipe..Followed as is except added 1 tsp ginger, 1\2 tsp pepper and 3\4 cup roasted chopped pecans into the cake mix..added zest of half lemon to the icing

  2. I made this the 2nd time and we all really liked it. I really packed my carrots to get the amount the recipe called for. The cake didn’t raise like I thought it should and I baked it longer. Should I have not used as much carrots.

  3. 5 stars
    I have been a disaster with making a good carrot cake all my life until I found your recipe. It’s definitely a keeper. It’s delicious. Thank you for sharing recipe.

  4. 5 stars
    I just made my first carrot cake with this recipe. It turned out perfect. My wife threatened me not to lose it! I added a some raisins and about a tablespoon of coconut just because. Delish! Thanks Fiona

  5. 5 stars
    I have tried several different carrot cake recipes p: this by far is the best I have ever made. Only a half cup of oil most recipes use a cup or more I love the brown sugar instead of the white. The cake is delicious and most of all moist, so glad I picked this over all the rest .

  6. 5 stars
    First time making carrot cake and this was so tasty and yummy. My fiancé loves the cream cheese frosting!
    Thank you!

  7. 5 stars
    Thank you.its my first time to make and i was not disappointed.the recipe is procedure was very simple yet so yummy as i follow all measurements of the ingredients.

    1. You specifically mention using a metal baking pan. I was hoping to make this in a glass pyrex oblong dish. I know I will need to bake at a lower temperature. Was there any particular reason you specified a metal pan? This will be taken to a community dinner & someone else will be cutting the cake. I’m very particular about my pans & don’t like them to get scratched, so that’s the reason I wanted to do the baking in a glass dish.

      1. I always bake cakes in metal pans because metal heats up more quickly than glass. As well, because I test my recipes with metal, I simply specify so that people know. If you are baking in glass, you’ll want to decrease the temperature by 25 degrees (Fahrenheit) and add on probably 10-15 minutes to the bake time. I hope this helps!

  8. 5 stars
    Thank you!!! I have been looking and trying different recipes for a long time! This is simple but yet amazing! Made it for my son’s bday tomorrow after another recipe was a flop! So thankful!