Xymic
Advertisement
Cakes & Cupcakes

Carrot Cake with Cream Cheese Frosting

Slice of carrot cake with thick cream cheese frosting
Moist, spiced carrot cake under tangy cream cheese frosting.

Carrot cake is the ultimate cosy cake — warmly spiced, incredibly moist, and topped with cream cheese frosting that cuts the sweetness just right. This is my tried-and-true version, packed with freshly grated carrot and a gentle blend of cinnamon and warm spices.

Freshly grated carrots are non-negotiable; the pre-shredded kind is too dry. Oil keeps it moist for days, and the frosting is the tangy, not-too-sweet kind that people scrape off the plate.

"The cream cheese frosting is the reason there are never leftovers."

For more everyday cakes, try my moist vanilla layer cake, or the bright lemon blueberry loaf.

Why this recipe works

Oil, brown sugar and grated carrot all add moisture, giving carrot cake its famously tender, damp crumb. The carrots also soften as they bake, melting into the cake. Warm spices and a little tang from the cream cheese frosting keep it from being one-note sweet.

What you'll need

A cosy line-up — grate the carrots fresh:

  • Carrots: grate them fresh and fine. Pre-shredded bags are too dry and coarse.
  • Oil: neutral oil for a moist crumb that keeps well.
  • Cream cheese: full-fat block cream cheese for a stable, tangy frosting.
Freshly grated carrots in a bowl
Freshly grated carrots — worth the effort.
Cream cheese frosting being spread
Tangy cream cheese frosting to finish.

Smart swaps: add ½ cup chopped walnuts or raisins if you like them. No block cream cheese? Mascarpone makes a lovely (milder) frosting. Use a gluten-free 1:1 flour for a GF version.

Carrot Cake with Cream Cheese Frosting

Moist spiced carrot cake with cream cheese frosting. Serves 12.

Prep
30 min
Cook
35 min
Cool
45 min
Makes
12 slices
Level
Medium
Scale:

Ingredients

  • 1 cup (240 ml) neutral oil
  • 1 cup (213 g) packed brown sugar
  • ½ cup (100 g) granulated sugar
  • 4 large eggs
  • 2 tsp vanilla extract
  • 2½ cups (300 g) all-purpose flour
  • 2 tsp baking soda
  • 1 tbsp ground cinnamon
  • 1 tsp mixed warm spice (nutmeg, ginger)
  • 3 cups (330 g) freshly grated carrots
  • For frosting: 8 oz (226 g) cream cheese + 3 cups (360 g) powdered sugar

Method

  1. Heat oven to 175°C / 350°F. Grease and line two 20cm (8-inch) round tins.
  2. Whisk the oil, both sugars, eggs and vanilla until smooth.
  3. Add the flour, baking soda, cinnamon and spice, mixing just until combined.
  4. Fold in the grated carrots (and nuts or raisins if using).
  5. Divide between the tins and bake 32–38 minutes, until a skewer comes out clean.
  6. Cool completely. Beat the cream cheese, softened butter, powdered sugar and vanilla until smooth.
  7. Fill and frost the cooled cake.
Advertisement

Step by step

Step 1 — Mix wet, then fold in carrots

Whisk the oil, sugars and eggs, add the dry ingredients, then fold in a generous pile of freshly grated carrot. That fresh carrot is what keeps it so moist.

Step 1 — Mix wet, then fold in carrots

Step 2 — Bake until just done

Bake until a skewer comes out clean. Let the layers cool completely — cream cheese frosting is soft and needs a cool cake.

Step 3 — Frost with cream cheese

Beat the frosting until smooth and spreadable, keeping it thick enough to hold. Fill, frost, and chill briefly to set.

Step 3 — Frost with cream cheese

Pro tips

  • Grate carrots fresh. Bagged pre-shredded carrots are too dry and give a coarse crumb.
  • Use block cream cheese. Full-fat block sets firm; spreadable tubs make runny frosting.
  • Do not over-mix the batter. Fold gently once the flour is in.
  • Cool fully before frosting. Cream cheese frosting slides off a warm cake.
  • Chill to set. A short chill firms the frosting for clean slices.

Storage & make-ahead

Because of the cream cheese frosting, store this cake in the fridge, covered, for up to 5 days; bring slices to room temperature before eating for the best flavour. Unfrosted layers freeze well for up to 3 months. The flavour actually improves on day two as the spices settle.

Variations & substitutions

  • Nutty: add ½ cup chopped toasted walnuts or pecans.
  • With raisins: fold in ½ cup raisins soaked in warm water.
  • Sheet cake: bake in a 23x33cm tin for 30–35 minutes.
  • Smaller cake: use the ½x scaler for a single layer.

Frequently asked questions

Can I use pre-shredded carrots?

I do not recommend it — they are dry and coarse. Freshly grated carrots make a much moister cake.

Why is my frosting runny?

Usually spreadable-tub cream cheese or warm cake. Use full-fat block cream cheese and frost a fully cooled cake.

Can I add nuts or raisins?

Absolutely — ½ cup of either folds in nicely. Toast nuts first for more flavour.

How should I store it?

In the fridge, because of the cream cheese frosting. Let slices warm up a little before serving.

Final thoughts: this carrot cake is cosy, crowd-pleasing, and somehow always the first to disappear. Bake it for the next gathering and tell me if you are team nuts or team no-nuts over on the contact page.

Nutrition: roughly 450 kcal per 1 slice. This is an estimate only, generated from the ingredients listed — actual values vary with brands and size. See the full disclaimer.

For tips on stable cream cheese frosting, King Arthur Baking is a reliable guide.

Aisha Mushtaq

About Aisha

I'm a self-taught home cook who writes recipes the honest way — refined until they genuinely work, with no shortcuts and no fake awards. More recipes by Aisha →

Advertisement