Skip to main content
Zimt

Home baking recipes and cinnamon favourites

Carrot Cake Recipe – Moist, Spiced, Easy to Make

Carrot cake is a classic dessert that balances sweet, spice, and the earthy crunch of grated carrots. The grated vegetables keep the crumb wonderfully moist while the warm spices create a comforting flavor profile that works perfectly with a rich cream cheese frosting.

Ingredients

  • 1 ½ cups (190 g) all‑purpose flour
  • 1 tsp baking powder
  • ½ tsp baking soda
  • 1 ½ tsp ground cinnamon
  • ¼ tsp ground nutmeg
  • ¼ tsp ground ginger
  • ¼ tsp salt
  • ¾ cup (150 g) granulated sugar
  • ½ cup (100 g) packed light brown sugar
  • ¾ cup (170 ml) vegetable oil
  • 3 large eggs, room temperature
  • 2 cups (200 g) finely grated carrots (about 3 medium carrots)
  • ½ cup (50 g) chopped walnuts or pecans (optional)
  • ½ cup (80 g) raisins or dried pineapple chunks (optional)
  • 1 tsp vanilla extract
  • For the frosting:
    • 8 oz (225 g) cream cheese, softened
    • ¼ cup (60 g) unsalted butter, softened
    • 2 cups (250 g) powdered sugar, sifted
    • 1 tsp vanilla extract
    • Pinch of salt

Choosing the right carrots is essential; look for firm, bright orange carrots without cracks. The finer the grate, the more evenly the moisture distributes throughout the batter, resulting in a tender crumb. If you prefer a slightly sweeter cake, you can increase the brown sugar by ¼ cup without upsetting the balance of wet ingredients.

When using nuts or dried fruit, toast them lightly in a dry skillet for 3–4 minutes. This step deepens their flavor and reduces any residual moisture that could make the cake soggy. All ingredients should be measured with standard US measuring cups and spoons; weighing flour provides the most consistent results, but spoon‑and‑level works well for home bakers.

Instructions

  1. Preheat the oven to 350°F (175°C). Grease and line two 9‑inch (23 cm) round cake pans with parchment circles.
  2. In a medium bowl whisk together flour, baking powder, baking soda, cinnamon, nutmeg, ginger, and salt. Set aside.
  3. In a large bowl combine granulated sugar, brown sugar, and oil. Beat with a handheld mixer on medium speed for 1 minute until the mixture looks glossy.
  4. Add the eggs one at a time, beating well after each addition. Stir in vanilla extract.
  5. Gradually add the dry‑ingredient mixture to the wet mixture, mixing on low speed just until incorporated. Over‑mixing can develop gluten and make the cake dense.
  6. Fold in the grated carrots, toasted nuts, and dried fruit using a rubber spatula. The batter should be thick but pourable.
  7. Divide the batter evenly between the prepared pans, smoothing the tops with the spatula.
  8. Bake for 28–32 minutes, or until a toothpick inserted into the center comes out clean and the internal temperature reaches 200°F (93°C). Rotate the pans halfway through baking for even browning.
  9. Allow the cakes to cool in the pans for 10 minutes, then turn them out onto a wire rack to cool completely before frosting.
  10. For the frosting, beat the softened cream cheese and butter together until light and fluffy, about 2 minutes. Add powdered sugar one cup at a time, mixing on low until smooth. Finish with vanilla and a pinch of salt.
  11. Place one cake layer on a serving plate, spread a generous layer of frosting, then top with the second layer. Frost the top and sides evenly. Refrigerate for 30 minutes to set the frosting before slicing.

The key to a perfectly moist carrot cake is not to over‑bake. Begin checking the cake a few minutes before the minimum time; ovens can vary, and the visual cue of a golden‑brown crust combined with the temperature reading ensures doneness without drying out the crumb.

While the cake can be served at room temperature, chilling it briefly after frosting helps the buttercream hold its shape, especially if the cake will be sliced for a party. If you need to serve it warm, gently reheat individual slices in a microwave for 10–15 seconds; the frosting will soften but not melt completely.

Tips

  • Ingredient substitutions: Use melted coconut oil instead of vegetable oil for a subtle coconut note. For a dairy‑free version, replace butter in the frosting with a plant‑based spread and use a vegan cream cheese.
  • Prevent raw‑flour hazards: Cook the flour briefly in the microwave (30 seconds) before measuring, or use heat‑treated flour to eliminate any potential E. coli risk.
  • Common mistakes: Adding too much flour creates a dry texture; spoon flour into the measuring cup and level it off. Over‑mixing the batter also leads to a tough crumb.
  • Enhancing flavor: Add a tablespoon of orange zest or a splash of orange liqueur to the batter for a bright citrus contrast that pairs beautifully with the spices.

When measuring the oil, use a liquid measuring cup placed on a flat surface and check at eye level to avoid adding too much liquid, which can cause the cake to collapse. If the batter looks excessively thick, add a tablespoon of milk or orange juice; the batter should flow slowly off the spoon.

Always bring eggs to room temperature before mixing; this prevents curdling when they meet the oil‑rich batter. A quick 15‑minute rest on the counter is sufficient, and it also helps the batter rise more evenly during baking.

Serving Suggestions

Carrot cake shines when paired with a cup of freshly brewed coffee or a glass of chilled chai tea, both of which complement the warm spices. For a festive presentation, garnish the top with a sprinkle of toasted walnuts, a drizzle of caramel sauce, or a few carrot ribbons made with a vegetable peeler.

If you’re serving a crowd, cut the cake into bite‑size squares and serve each piece with a dollop of whipped mascarpone. The extra creaminess balances the richness of the frosting and adds a luxurious mouthfeel that guests love.

Variations

A popular twist is the pineapple‑carrot cake, where you replace half of the grated carrots with crushed pineapple (drained). The added acidity brightens the flavor and adds extra moisture, reducing the need for additional oil.

For a gluten‑free version, substitute the all‑purpose flour with a 1:1 gluten‑free flour blend that contains xanthan gum. The texture remains tender, and the spices still dominate the flavor profile. You can also experiment with adding a handful of shredded coconut for a tropical flair.

Storage and Reheating

Store the unfrosted layers in an airtight container at room temperature for up to 2 days, or wrap tightly in plastic wrap and refrigerate for up to 5 days. Once frosted, keep the cake refrigerated; the cream cheese frosting is perishable and should not sit at room temperature for more than 2 hours.

When you’re ready to serve, remove the cake from the fridge and let it sit for 20–30 minutes to soften the frosting. To reheat a slice, place it on a microwave‑safe plate and warm for 10–15 seconds, or warm a whole slice in a preheated 300°F (150°C) oven for about 8 minutes, covered loosely with foil to prevent drying.

Frequently Asked Questions

Can I use whole‑wheat flour instead of all‑purpose?

Yes, you can substitute up to half of the all‑purpose flour with whole‑wheat flour. Because whole‑wheat absorbs more liquid, you may need to increase the oil by 1–2 tablespoons to maintain moisture.

Why does my frosting become runny?

Runny frosting usually means the cream cheese or butter was too warm or the powdered sugar was not measured correctly. Chill the cream cheese and butter before mixing, and add the powdered sugar gradually until the desired consistency is reached.

Do I need to grate the carrots finely?

Fine grating ensures even moisture distribution. If you prefer a chunkier texture, you can grate coarsely, but be aware that larger carrot pieces may create pockets that affect the cake’s uniformity.

How long can I freeze carrot cake?

Both unfrosted and frosted carrot cake freeze well. Wrap each layer tightly in plastic wrap, then foil, and store in a freezer‑safe bag for up to 3 months. Thaw overnight in the refrigerator before serving.

What internal temperature indicates doneness?

The cake is done when a thermometer inserted into the center reads 200°F (93°C). This temperature ensures the batter has set without over‑baking, preserving a moist crumb.

Can I make this cake in a single 9‑inch pan?

Yes, but you’ll need to increase the baking time by about 10‑12 minutes and keep an eye on the edges to prevent over‑browning. Using two pans yields a more even crumb and a classic layered presentation.

Read next