The Feast

Home cooking recipes for everyday dinners and easy entertaining

Carrot Cake with Raisins and Walnuts: The Classic Ratio

· 5 min read · Baking and Desserts

The classic carrot cake ratio is 2 cups flour, 2 cups sugar, 1 cup oil, 4 large eggs, 3 cups grated carrots, 1 cup chopped walnuts, and 1 cup raisins. This yields a moist, dense cake with about 12 servings. The raisins add sweetness and chew, while walnuts provide crunch and a slight bitterness that balances the spice.

How Much Raisins and Walnuts to Use

Use equal parts raisins and walnuts: 1 cup each for a standard 9x13-inch cake or two 9-inch rounds. If you prefer one over the other, you can adjust to 1.5 cups of your favorite and 0.5 cup of the other, but keep the total at 2 cups to avoid overwhelming the batter. For a lighter texture, chop walnuts into small pieces (about 1/4 inch) so they distribute evenly without sinking.

Raisins should be plump and moist. If they are dry, soak them in hot water for 10 minutes, then drain and pat dry before adding. Toss both raisins and walnuts with 1 tablespoon of flour from the recipe before folding them into the batter—this prevents them from sinking to the bottom during baking.

Should You Toast the Walnuts?

Toasting walnuts before adding them intensifies their flavor and keeps them crunchier in the finished cake. Spread chopped walnuts on a baking sheet and toast at 350°F (175°C) for 5–7 minutes, stirring once, until fragrant. Let them cool completely before folding into the batter. If you skip toasting, the walnuts will still work, but they will be softer and less nutty.

Do not toast raisins—they will dry out and become hard. If you want a deeper raisin flavor, soak them in orange juice or rum instead of water for 30 minutes, then drain well.

How to Grate Carrots for the Best Texture

Use the fine holes of a box grater (about 1/16 inch) for a moist, evenly distributed carrot throughout the cake. Coarse shreds (1/4 inch) give a chunkier texture but can create air pockets. Peel the carrots first; unpeeled carrots add bitterness and a gritty texture. You need about 3 cups of grated carrots, which is roughly 4–5 medium carrots (about 1 pound).

After grating, pat the carrots dry with a clean kitchen towel to remove excess moisture. This prevents the cake from becoming soggy. Do not squeeze them dry—just blot lightly.

Baking Temperature and Time

Bake carrot cake at 350°F (175°C) for 30–35 minutes for 9-inch round pans, or 40–45 minutes for a 9x13-inch pan. The cake is done when a toothpick inserted into the center comes out clean or with a few moist crumbs, not wet batter. The internal temperature should read 200–205°F (93–96°C) on an instant-read thermometer.

Cool the cakes in their pans for 10 minutes, then turn them out onto a wire rack to cool completely before frosting. If you frost a warm cake, the frosting will melt and slide off.

Best Cream Cheese Frosting for This Cake

The classic pairing is cream cheese frosting: 8 oz (226 g) cream cheese, 1/2 cup (1 stick) unsalted butter, both at room temperature, beaten together until smooth. Add 4 cups (480 g) powdered sugar, 1 teaspoon vanilla extract, and a pinch of salt. Beat on low speed until combined, then increase to medium for 2 minutes until fluffy.

For a stiffer frosting that pipes well, use cold cream cheese and beat it alone first, then add butter. If the frosting is too soft, refrigerate it for 15 minutes before spreading. This recipe makes enough to frost a 9x13-inch cake or a two-layer 9-inch cake.

How to Store Carrot Cake with Raisins and Walnuts

Frosted carrot cake keeps in the refrigerator for up to 5 days in an airtight container. The cream cheese frosting must be refrigerated. Unfrosted cake layers can be wrapped tightly in plastic wrap and stored at room temperature for 2 days, or frozen for up to 3 months.

To freeze frosted cake, place it in the freezer unwrapped for 1 hour until the frosting hardens, then wrap in plastic wrap and foil. Thaw in the refrigerator overnight before serving. Bring slices to room temperature for 30 minutes before eating for the best flavor and texture.

Common Problems and Fixes

ProblemCauseFix
Raisins sink to the bottomRaisins are too heavy or wetToss with flour before adding; pat dry after soaking
Walnuts sinkWalnuts are too large or uncoatedChop into small pieces; toast and cool; toss with flour
Cake is dense and gummyOvermixing the batterMix just until flour disappears; fold in carrots and nuts by hand
Cake is dryOverbaked or too many carrotsCheck at minimum time; measure carrots by volume, not weight
Cake sticks to panInsufficient greasingGrease with butter and dust with flour, or line with parchment paper

Can You Substitute Raisins or Walnuts?

Yes, but the texture and flavor will change. Substitute raisins with dried cranberries, chopped dates, or dried cherries—use the same amount. For walnuts, use pecans, almonds, or hazelnuts. Pecans are the closest substitute in texture and sweetness. If you have a nut allergy, omit the walnuts and add 1/2 cup more raisins or 1/2 cup unsweetened shredded coconut.

If you want to reduce sugar, use 1.5 cups sugar instead of 2, but note that the cake will be less moist. You can also replace half the oil with unsweetened applesauce, but the cake will be slightly denser.

How to Adjust for High Altitude (Above 3,000 ft)

At altitudes above 3,000 feet (900 m), reduce the sugar by 2 tablespoons, increase the flour by 2 tablespoons, and increase the baking temperature by 25°F (about 14°C). Reduce the baking time by 5–8 minutes. This compensates for lower air pressure, which causes cakes to rise faster and set more slowly.

Also, reduce the oil by 1 tablespoon to prevent a greasy crumb. Check for doneness earlier than the recipe states—start testing at the minimum time.

How to Make It Ahead of Time

Carrot cake actually tastes better the next day because the flavors meld. Bake the cake layers up to 2 days ahead, wrap them tightly in plastic wrap, and store at room temperature. Frost the cake no more than 24 hours before serving to keep the frosting fresh.

If you need to assemble the cake more than a day ahead, use a thin layer of frosting between layers and a crumb coat (a thin layer over the whole cake), then refrigerate. Add the final layer of frosting on the day of serving.

In this article
  1. How Much Raisins and Walnuts to Use
  2. Should You Toast the Walnuts?
  3. How to Grate Carrots for the Best Texture
  4. Baking Temperature and Time
  5. Best Cream Cheese Frosting for This Cake
  6. How to Store Carrot Cake with Raisins and Walnuts
  7. Common Problems and Fixes
  8. Can You Substitute Raisins or Walnuts?
  9. How to Adjust for High Altitude (Above 3,000 ft)
  10. How to Make It Ahead of Time