If you’ve been searching for that perfect dessert to wow your friends and family, look no further than this Moist Carrot Cake with Cream Cheese Frosting Recipe. Bursting with warm cinnamon and nutmeg spices, tender shredded carrots, and a luscious cream cheese frosting, this cake is the ultimate comfort food classic. Whether you’re baking for a special occasion or just because you crave something sweet and satisfying, this carrot cake promises a perfect balance of moist texture and rich flavor that feels like a big, delicious hug in every bite.

Ingredients You’ll Need
Each ingredient in this Moist Carrot Cake with Cream Cheese Frosting Recipe is simple but absolutely essential, working together to create that irresistible moistness, warm spice notes, and beautifully creamy frosting. From the sweet granular sugars to the fresh grated carrots, every component adds a special touch to the overall magic of this recipe.
- 2 cups all-purpose flour: Provides the perfect structure and crumb for a moist and tender cake.
- 2 teaspoons baking powder: Helps the cake rise beautifully to a light, airy texture.
- 1 teaspoon baking soda: Works with the acidic pineapple for a fluffy, tender crumb.
- 1 1/2 teaspoons ground cinnamon: Adds that warm, comforting spice flavor classic to carrot cake.
- 1/4 teaspoon ground nutmeg: Gives a subtle depth of spice that enhances the overall taste.
- 1/4 teaspoon salt: Balances sweetness and heightens all the other flavors.
- 4 large eggs: Bind the ingredients and contribute to a rich texture.
- 1 1/2 cups granulated sugar: Sweetens the cake without overwhelming the flavors.
- 1 cup packed brown sugar: Adds moisture and a subtle caramel undertone.
- 1 cup vegetable oil: Keeps the cake incredibly moist and tender.
- 2 teaspoons vanilla extract: Enhances sweetness and rounds out the flavors.
- 3 cups finely grated carrots: The star ingredient, providing natural sweetness and vibrant color.
- 1/2 cup crushed pineapple (optional): Adds extra moisture and a lovely tangy sweetness.
- 1/2 cup chopped walnuts or pecans (optional): Gives a wonderful crunch and nuttiness.
- 1/2 cup raisins (optional): Adds bursts of natural sweetness throughout the cake.
- 8 oz cream cheese, softened: The base of the silky, dreamy frosting.
- 1/2 cup unsalted butter, softened: Adds richness and smooth texture to the frosting.
- 4 cups powdered sugar: Sweetens and thickens the frosting to the perfect consistency.
- 1 teaspoon vanilla extract: Gives the frosting a fragrant sweetness.
- Pinch of salt: Balances the frosting’s sweetness.
How to Make Moist Carrot Cake with Cream Cheese Frosting Recipe
Step 1: Prepare Your Oven and Pans
Start by preheating your oven to 350°F (175°C). Grease and flour two 9-inch round cake pans, or line them with parchment paper for an easy release after baking. This step sets you up for perfectly shaped and easily removable cake layers.
Step 2: Mix Dry Ingredients
In a medium bowl, whisk together the all-purpose flour, baking powder, baking soda, ground cinnamon, nutmeg, and salt. This blend of spices and leavening agents ensures your cake will rise beautifully and carry that signature carrot cake warmth.
Step 3: Combine Wet Ingredients
In a large bowl, whisk the eggs with granulated sugar and brown sugar until the mixture is smooth and slightly fluffy, about 3 to 4 minutes. This aeration helps create a light texture in your final cake.
Step 4: Add Oil and Vanilla
Whisk in the vegetable oil and vanilla extract until fully combined. The oil is key to keeping your cake moist, while vanilla deepens the flavor profile.
Step 5: Incorporate Dry Ingredients
Slowly add the dry ingredient mixture to the wet ingredients, stirring gently until just combined. Be careful not to overmix here, as that can lead to a denser cake.
Step 6: Fold in Carrots and Optional Add-ins
Gently fold the finely grated carrots into the batter along with the optional crushed pineapple, nuts, and raisins if you’re using them. This thick, textured batter is packed with natural sweetness and delightful surprises.
Step 7: Bake Your Cake
Divide the batter evenly between the prepared pans and smooth the tops. Bake in your preheated oven for 30 to 35 minutes or until a toothpick inserted into the center comes out clean. Once done, allow the cakes to cool in the pans for about 10 minutes before transferring to wire racks to cool completely.
Step 8: Make the Cream Cheese Frosting
Beat the softened cream cheese and unsalted butter together in a medium bowl until smooth and creamy, about 3 to 4 minutes. Gradually add the powdered sugar, one cup at a time, continuing to beat until smooth and fluffy. Stir in the vanilla extract and a pinch of salt for balanced sweetness.
Step 9: Assemble and Frost
Once your cake layers are completely cooled, spread a generous layer of cream cheese frosting on top of the first layer. Place the second cake layer on top, then frost the entire outside of the cake with the remaining frosting. Optionally, top with extra chopped walnuts or shredded coconut for added texture and visual appeal.
How to Serve Moist Carrot Cake with Cream Cheese Frosting Recipe

Garnishes
A simple sprinkle of chopped toasted walnuts or pecans perfectly complements the creamy frosting and moist cake. For an added touch, try some shredded coconut or a light dusting of cinnamon on top for a warm, inviting finish.
Side Dishes
This carrot cake shines on its own but pairing it with a cup of strong black coffee or a creamy chai tea elevates the experience. A scoop of vanilla ice cream or a dollop of lightly sweetened whipped cream can also provide a delightful contrast in temperature and texture.
Creative Ways to Present
For special occasions, try layering the cake into mini individual servings in glass jars with extra frosting between layers and a sprinkle of nuts on top. You can also make carrot cake cupcakes using this batter for a fun, handheld twist that’s perfect for gatherings.
Make Ahead and Storage
Storing Leftovers
Keep your leftover carrot cake tightly covered in the refrigerator to preserve the freshness of the cream cheese frosting and the moist cake. Properly stored, it stays delicious for up to 4 days, though we bet it won’t last that long!
Freezing
You can freeze both the cake layers and the fully assembled cake without frosting. Wrap layers tightly in plastic wrap, then place in airtight containers or freezer bags for up to 3 months. Thaw overnight in the refrigerator before frosting or serving.
Reheating
Moist carrot cake is best enjoyed at room temperature. If refrigerated, let it sit out for 30 minutes before serving. Avoid microwaving the frosted cake as it can cause the frosting to melt and become overly soft, but warming unfrosted slices for a few seconds can freshen them up.
FAQs
Can I make this cake without nuts or raisins?
Absolutely! The nuts and raisins are optional and can be omitted if you prefer a nut-free or simpler cake. The texture might be a little less crunchy, but the moisture and flavor remain excellent.
Why does the recipe include pineapple?
The crushed pineapple adds extra moisture and a subtle tangy sweetness that keeps the cake incredibly tender. It’s optional, so if you’re not a fan or don’t have any, you can leave it out without sacrificing too much.
How thick should the frosting be?
The cream cheese frosting should be smooth, creamy, and thick enough to hold its shape when spread or piped. If it feels too thin, add a little more powdered sugar until you reach the right consistency.
Can I use a different oil for the cake?
Vegetable oil is recommended because it doesn’t impart strong flavors, but you could substitute with canola or light olive oil. Avoid strongly flavored oils like coconut or extra virgin olive oil as they may alter the taste.
What’s the best way to grate carrots for this recipe?
Use a fine grater or the small holes on a box grater to grate the carrots finely. This ensures they blend seamlessly into the batter, creating that signature moist texture without large chunks.
Final Thoughts
There’s nothing quite like the joy of baking a Moist Carrot Cake with Cream Cheese Frosting Recipe from scratch and watching it come together in all its tender, spiced glory. This cake is an all-time favorite that feels nostalgic yet special, perfect for celebrations or simply brightening an ordinary day. Give it a try and enjoy the smiles that follow with every moist, flavorful bite!
Print
Moist Carrot Cake with Cream Cheese Frosting Recipe
- Prep Time: 20 minutes
- Cook Time: 35 minutes
- Total Time: 1 hour 15 minutes
- Yield: 12 servings
- Category: Dessert
- Method: Baking
- Cuisine: American
- Diet: Vegetarian
Description
This Moist Carrot Cake with Cream Cheese Frosting is a classic dessert featuring a tender, spiced carrot cake layered with a rich and creamy cream cheese frosting. Made with grated carrots, warm spices, and optional additions like crushed pineapple, nuts, and raisins, this cake is perfect for celebrations or a comforting treat.
Ingredients
Cake Ingredients
- 2 cups all-purpose flour
- 2 teaspoons baking powder
- 1 teaspoon baking soda
- 1 1/2 teaspoons ground cinnamon
- 1/4 teaspoon ground nutmeg
- 1/4 teaspoon salt
- 4 large eggs
- 1 1/2 cups granulated sugar
- 1 cup packed brown sugar
- 1 cup vegetable oil
- 2 teaspoons vanilla extract
- 3 cups finely grated carrots (about 4 medium carrots)
- 1/2 cup crushed pineapple, drained (optional)
- 1/2 cup chopped walnuts or pecans (optional)
- 1/2 cup raisins (optional)
Frosting Ingredients
- 8 oz cream cheese, softened
- 1/2 cup unsalted butter, softened
- 4 cups powdered sugar
- 1 teaspoon vanilla extract
- Pinch of salt
Instructions
- Preheat the oven: Preheat your oven to 350°F (175°C). Prepare two 9-inch round cake pans by greasing and flouring them or lining them with parchment paper to prevent sticking.
- Mix dry ingredients: In a medium bowl, whisk together the all-purpose flour, baking powder, baking soda, ground cinnamon, ground nutmeg, and salt. Set this mixture aside.
- Whisk wet ingredients: In a large bowl, whisk the eggs, granulated sugar, and brown sugar together until the mixture is smooth and slightly fluffy, which should take about 3-4 minutes.
- Add oil and vanilla: Pour in the vegetable oil and vanilla extract to the egg and sugar mixture, whisking until everything is fully combined.
- Combine dry and wet ingredients: Slowly add the dry ingredient mixture to the wet ingredients, mixing gently until just combined. Avoid overmixing to keep the cake tender.
- Fold in add-ins: Stir in the finely grated carrots along with the crushed pineapple, chopped walnuts or pecans, and raisins if using. Expect the batter to be thick.
- Fill cake pans: Divide the batter evenly between the prepared cake pans and smooth the surfaces with a spatula.
- Bake the cakes: Place the pans in the oven and bake for 30-35 minutes or until a toothpick inserted in the center comes out clean. After baking, let the cakes cool in the pans for 10 minutes.
- Cool cakes: Transfer the cakes to a wire rack and allow them to cool completely before frosting.
- Prepare frosting: In a medium bowl, beat together the softened cream cheese and butter until smooth and creamy, about 3-4 minutes.
- Add powdered sugar: Gradually add powdered sugar, one cup at a time, beating continuously until the frosting is smooth and fluffy.
- Flavor the frosting: Stir in the vanilla extract and a pinch of salt to enhance flavor.
- Frost the cake: Once the cakes are completely cooled, spread a generous layer of frosting on top of one cake layer. Place the second layer on top and frost the top and sides evenly.
- Garnish: Optionally, garnish the cake with extra chopped walnuts or shredded coconut for added texture and visual appeal.
Notes
- You can omit the crushed pineapple, nuts, and raisins if you prefer a simpler cake.
- Be careful not to overmix the batter to keep the cake light and moist.
- For best results, allow the cake to cool completely before frosting to prevent the frosting from melting.
- Leftover cake can be stored covered in the refrigerator for up to 3 days.
- Bringing the cream cheese and butter to room temperature helps achieve a smooth frosting.

