Love baking cakes? Browse 1,954 sweet and stunning recipes in The Cakes Cookbook — from everyday bakes to showstopping celebrations.
I’ve found the ultimate carrot cake that’s super moist, spiced just right, and loaded with fresh grated carrots and crunchy walnuts. I start by whisking cinnamon, nutmeg, ginger, baking soda, and powder together, then beat oil, granulated and brown sugars, eggs, vanilla, and optional Greek yogurt until smooth. I fold the dry mix in, pour into two greased 9‑inch pans and bake 30‑35 minutes at 350°F. The cream‑cheese frosting, with softened cheese, butter, powdered sugar, vanilla, and a splash of milk, finishes it perfectly, and if you keep going you’ll discover every tip for flawless layers.

Moist Carrot Cake With Walnuts

Ingredients
- 1 lb fresh carrots, grated
- 200 g walnuts, finely chopped (or ground)
- 2 cups all‑purpose flour
- 1 ½ tsp ground cinnamon
- ¾ tsp ground nutmeg
- ½ tsp ground ginger (or 1 tsp fresh grated ginger)
- ¼ tsp ground allspice (optional)
- 1 tsp baking soda
- ½ tsp baking powder
- ½ tsp salt
- 1 cup neutral‑flavored oil (vegetable, sunflower, or canola)
- 3 large eggs, room‑temperature
- 1 cup granulated sugar
- ½ cup light brown sugar
- 1 tsp vanilla extract
- ½ cup plain Greek yogurt or sour cream (optional, for extra moisture)
Cream Cheese Frosting
- 8 oz cream cheese, softened
- ¼ cup unsalted butter, softened
- 2 cups powdered sugar, sifted
- ½ tsp vanilla extract
- Pinch of salt
- 2 Tbsp milk or heavy cream (adjust for consistency)
- ¼ cup crushed walnuts, lightly toasted (optional)
Instructions
- Preheat the oven to 350 °F (177 °C). Grease two 9‑inch round cake pans and line the bottoms with parchment paper.
- In a large bowl whisk together flour, baking soda, baking powder, salt, cinnamon, nutmeg, ginger, and allspice until evenly combined.
- In a separate bowl beat the oil, granulated sugar, and brown sugar until smooth. Add the eggs one at a time, beating well after each addition, then stir in vanilla and yogurt (if using).
- Fold the dry ingredients into the wet mixture just until incorporated; over‑mixing will make the cake dense.
- Gently fold in the grated carrots and chopped walnuts, ensuring an even distribution without crushing the carrots.
- Divide the batter evenly between the prepared pans, smoothing the tops with a spatula.
- Bake for 30‑35 minutes, or until a toothpick inserted into the center comes out clean.
- Allow the cakes to cool in the pans for 12‑15 minutes, then turn them out onto a wire rack to cool completely.
- While the cakes cool, prepare the frosting: beat cream cheese and butter together until light and fluffy. Gradually add powdered sugar, vanilla, salt, and milk, beating until smooth and spreadable.
- Once the cakes are fully cooled, place one layer on a serving plate, spread a generous layer of frosting on top, then place the second layer. Cover the top and sides with the remaining frosting, smoothing with an offset spatula.
- Press the toasted crushed walnuts into the frosting on the sides for added texture and visual appeal.
Extra Tips
I find that using freshly grated carrots rather than pre‑shredded ones dramatically boosts the cake’s moisture, and keeping the eggs at room temperature helps them emulsify the oil and sugars more evenly, resulting in a tender crumb.
If you prefer a slightly lighter texture, replace half the walnuts with ground walnuts; this still gives the nutty flavor while preventing large pockets that can dry out.
For a glossy finish, lightly brush the cake layers with a simple syrup (equal parts sugar and water, boiled and cooled) before frosting, especially if you’re baking in a dry climate.
Finally, if the frosting feels too stiff on a warm day, stir in a teaspoon more milk or cream at a time until you reach a spreadable consistency without sacrificing stability.

Originated 19th‑century England
I love how the moist carrot cake with walnuts ties back to its roots in 19th‑century England, where the modern “carrot cake” term first appeared.
In 1827 A.B. Beauvilliers coined the name, and British cookbooks soon swapped steamed puddings for baked cakes with icing.
Ministry of Food promotions spread the recipe, cementing it as a beloved, sweet‑spiced dessert.
