If you've ever wondered how to make carrot cake at home, you don't need complicated ingredients or professional baking skills. A good carrot cake is all about getting the right balance of sweetness, moisture, warm spices, and a soft crumb.
This easy homemade carrot cake is made with freshly grated carrots, cinnamon, walnuts, and a simple cream cheese frosting. The carrots add natural moisture and sweetness, while the cinnamon and vanilla give the cake that familiar warm flavor.
It's perfect for birthdays, afternoon tea, weekend baking, or simply when you're craving a homemade dessert.
Ingredients You'll Need
For the Carrot Cake
- 2 cups finely grated carrots
- 1½ cups all-purpose flour
- ¾ cup brown sugar
- ¼ cup granulated sugar
- 2 large eggs
- ½ cup neutral-flavored oil
- 1 teaspoon vanilla extract
- 1½ teaspoons ground cinnamon
- ½ teaspoon ground nutmeg
- 1 teaspoon baking powder
- ½ teaspoon baking soda
- ¼ teaspoon salt
- ½ cup chopped walnuts
- ¼ cup raisins, optional
For the Cream Cheese Frosting
- 115 g cream cheese, softened
- ¼ cup unsalted butter, softened
- 1 cup powdered sugar
- 1 teaspoon vanilla extract
For Garnishing
- Chopped walnuts
- A little cinnamon
- Optional carrot curls or grated carrot
How to Make Carrot Cake at Home
Step 1: Prepare the Carrots
Wash, peel, and finely grate the carrots.
For the best texture, use the smaller side of a box grater. Avoid squeezing out the moisture from the carrots because that natural moisture helps keep the cake soft.
Set the grated carrots aside.
Step 2: Prepare the Oven and Cake Pan
Preheat your oven to 180°C (350°F).
Grease a 9-inch round cake pan and line the bottom with parchment paper.
You can also use an 8-inch square pan if you prefer a different shape.
Step 3: Mix the Dry Ingredients
In a large bowl, whisk together:
- All-purpose flour
- Cinnamon
- Nutmeg
- Baking powder
- Baking soda
- Salt
Mix until evenly combined and set aside.
Step 4: Mix the Wet Ingredients
In another large bowl, whisk the eggs, brown sugar, granulated sugar, oil, and vanilla extract until smooth.
You don't need an electric mixer for this recipe. A regular whisk works perfectly.
Step 5: Combine the Batter
Gradually add the dry ingredients to the wet mixture.
Gently fold everything together until just combined.
Add the grated carrots, chopped walnuts, and raisins if using.
Be careful not to overmix the batter. Overmixing can make the finished cake dense instead of soft and tender.
Step 6: Bake the Cake
Pour the batter into the prepared cake pan and spread it evenly.
Bake for approximately 30–40 minutes, or until a toothpick inserted into the center comes out clean or with a few moist crumbs attached.
The exact baking time can vary depending on your oven and the size of the pan.
Step 7: Let It Cool Completely
Remove the cake from the oven and allow it to cool in the pan for about 10–15 minutes.
Transfer it to a wire rack and let it cool completely before adding the frosting.
Don't frost a warm cake because the frosting can melt and become runny.
How to Make Cream Cheese Frosting
Add the softened cream cheese and butter to a bowl.
Beat until smooth and creamy.
Gradually add the powdered sugar and continue mixing until the frosting becomes smooth.
Add vanilla extract and mix once more.
If the frosting seems too soft, refrigerate it for 15–20 minutes before spreading it over the cake.
How to Assemble the Carrot Cake
Once the cake has cooled completely, place it on a serving plate.
Spread the cream cheese frosting evenly over the top.
For a simple homemade look, leave the sides unfrosted.
Finish with chopped walnuts and a light sprinkle of cinnamon.
For a layered carrot cake, cut the cake horizontally into two layers and spread frosting between the layers before covering the top.