DessertsCakes & Bakes Triple-tested

Classic Carrot Cake

A moist, deeply spiced carrot cake with crushed pineapple, walnuts, and an absolutely essential layer of tangy cream cheese frosting.

Marcus Bennett
Marcus Bennett
Senior Food Editor · Updated June 21, 2026 · 8 min read
Classic Carrot Cake
Prep
25 min
Cook
35 min
Serves
12 slices
Level
Easy

This carrot cake is the recipe I bring to every potluck and the one people text me about asking for. It's old-school in the best way — moist, spiced, generous with the cream cheese frosting.

I get asked about this one constantly — at dinner parties, in the grocery store line, in the comments. It's the recipe my readers cook on repeat, the one I keep coming back to on the weeks when cooking feels like a chore. Every step here has been tested, tweaked and re-tested in a real home kitchen until it works reliably on a normal stove with normal ingredients.

The version below is the one I make at home. I've laid out exactly how I prep, the timing that actually works, the ingredient swaps I trust, and the small finishing touches that make it taste like you've been cooking for years. If you're new here, welcome — and if you're a regular, you already know I won't waste your scroll.

The Pitch

Why you'll love this recipe

  • Ready in 1 hr
    Active and inactive time combined — realistic for a weeknight.
  • Feeds 12 slices
    Scales up or down without losing texture or flavor.
  • Easy to make
    Beginner-friendly steps with clear timing and visual cues.
  • Triple-tested
    Cooked at least three times in a real home kitchen before publishing.
Deep Dive

The ingredients, explained

Most of what makes this recipe work is in the small choices at the grocery store. A few of these ingredients are worth slowing down for — here's what to look for and what to swap if you're in a pinch.

Carrots: Grate them yourself on the small holes of a box grater — pre-shredded carrots are too dry and chunky.

Pineapple: Drain it really well; press it in a sieve. Excess pineapple liquid waterlogs the cake.

Nuts: Toast them in a dry skillet for 5 minutes before adding for double the flavor.

Cream cheese: Full-fat block cream cheese (Philadelphia or store-brand). Whipped or tub cream cheese is too watery.

Printable Recipe Card

Classic Carrot Cake

A moist, deeply spiced carrot cake with crushed pineapple, walnuts, and an absolutely essential layer of tangy cream cheese frosting.

Prep
25 min
Cook
35 min
Servings
12 slices
Difficulty
Easy

Ingredients

  • 2 cups all-purpose flour
  • 2 teaspoons baking soda
  • 1/2 teaspoon fine sea salt
  • 2 teaspoons ground cinnamon
  • 1/2 teaspoon ground ginger
  • 1/2 teaspoon ground nutmeg
  • 1 cup neutral oil
  • 1 cup granulated sugar
  • 1 cup packed light brown sugar
  • 4 large eggs, room temperature
  • 2 teaspoons vanilla extract
  • 3 cups finely grated carrots (about 4 large carrots)
  • 1 cup crushed pineapple, drained well
  • 1 cup chopped walnuts or pecans
  • Frosting: 12 ounces cream cheese softened, 1/2 cup unsalted butter softened, 4 cups powdered sugar, 1 teaspoon vanilla, pinch of salt

Instructions

  1. 1Preheat the oven to 350°F. Grease two 9-inch round cake pans, line bottoms with parchment, and grease again.
  2. 2Whisk the flour, baking soda, salt, cinnamon, ginger, and nutmeg in a medium bowl.
  3. 3In a large bowl, whisk the oil with both sugars until well combined. Add the eggs one at a time, whisking after each. Whisk in the vanilla.
  4. 4Add the dry ingredients to the wet and stir with a spatula just until combined.
  5. 5Fold in the carrots, drained pineapple, and walnuts.
  6. 6Divide between the prepared pans. Bake for 32 to 38 minutes, until a toothpick comes out clean.
  7. 7Cool in pans for 15 minutes, then invert onto a rack and cool completely.
  8. 8Make the frosting: beat cream cheese and butter together until smooth. Add powdered sugar 1 cup at a time. Beat in vanilla and salt; whip on high for 2 minutes until light.
  9. 9Assemble: stack and frost the cooled cake. Refrigerate for 30 minutes for cleanest slices. Top with extra toasted walnuts.
Nutrition (per serving): 645 kcal · Protein 7 g · Carbs 82 g · Fat 33 g. Calculated automatically; treat as an estimate.

Marcus's Pro Tips

  • Grate your own carrots; pre-shredded is bone-dry.
  • Drain pineapple really thoroughly to avoid soggy cake.
  • Don't overmix once the flour is in — fold gently.
  • Cream cheese frosting needs cold butter and softened cream cheese; reverse and it'll split.
Make It Yours

Variations & swaps

This recipe is a strong foundation that takes well to riffing. Here are a few of the variations we've tested in the Saffron & Sage kitchen and signed off on.

With raisins

Fold in 1/2 cup golden raisins soaked in hot water for 10 minutes and drained.

Coconut carrot

Add 1 cup unsweetened shredded coconut to the batter.

Sheet cake version

Bake in a 9x13 pan for 35 to 40 minutes; frost in the pan.

On the Table

Serving & storing

How to serve

Serve classic carrot cake the way we do at home: in warm bowls or on a heated plate, with the toppings called for in the recipe card and a little extra of whatever finishing touch you love most. This recipe scales generously — a half-batch fits two comfortably, and a double-batch holds up well for company.

How to store

Leftovers keep in an airtight container in the fridge for 3 to 4 days. Reheat gently — most things in this category are happiest warmed on the stovetop with a splash of liquid rather than blasted in the microwave. See the FAQ below for freezing notes.

Reader Questions

Frequently asked

Can I make cupcakes instead?

Yes — fills about 24 cupcakes. Bake 22 to 25 minutes.

How do I store it?

Refrigerated for up to 5 days. Bring to room temp before serving.

Can I freeze it?

Unfrosted layers freeze for 2 months. Frosted cake freezes 1 month.

Can I skip the pineapple?

You can, but it adds moisture and a faint sweetness. Add 1/4 cup more grated carrot if skipping.

Editorial Standards

Reviewed & verified by

Marcus Bennett
Marcus Bennett
Contributor · Verified

Senior Food Editor

Marcus is a CIA-trained chef who edits every recipe for clarity, technique and accuracy before it goes live.

Recipe editing · Technique review