Carrot Cake · Two-Layer with Cream Cheese Frosting

Two-Layer Carrot Cake with Cream Cheese Frosting

Tender, warmly spiced layers packed with grated carrot and toasted nuts, filled and topped with tangy cream cheese frosting. The sides are left rustic, so there is no fussy decorating.

New, no ratings yet0 reviewsby Simmerbee Kitchen

Prep
40 min
Cook
32 min
Total
3 hr 30 min
Serves
one 9-inch two-layer cake
Level
Medium

Ingredients

  • Cake
  • 2 cups all-purpose flour, spooned and leveled (250 g)
    Swaps for all-purpose flour

    Instead of all-purpose flour

    • Gluten-free 1:1 baking flour: The same amount, a blend that includes xanthan gum. A little grittier and more crumbly, browns faster and dries out sooner.
    • Bread flour: The same amount. More gluten: chewier cookies and bread, tougher cakes.
    • Whole wheat flour: Up to half of the flour. Nuttier, darker and denser.

    All 4 swaps for all-purpose flour

    Cooking for an allergy? Check every label.

  • 2 tsp baking powder
    Swaps for baking powder

    Instead of baking powder

    • Baking soda + cream of tartar: ¼ tsp baking soda + ½ tsp cream of tartar for each 1 tsp baking powder. Rises the same if you don't let the batter sit.
    • Baking soda + buttermilk or yogurt: ¼ tsp baking soda for each 1 tsp baking powder, and swap ½ cup of the recipe's milk for buttermilk or thinned yogurt. Good rise with a light tang.
    • Self-rising flour: Use it for the flour and leave out the baking powder and salt. Each cup has about 1½ tsp baking powder and ¼ tsp salt built in, so it only fits recipes close to that ratio.

    More for baking powder

  • 1 tsp baking soda
    Swaps for baking soda

    Instead of baking soda

    • Baking powder: 3 tsp baking powder for each 1 tsp baking soda. It rises, but bakes come out paler and puffier, cookies spread less, and the extra powder can taste a little bitter.

    More for baking soda

  • 1 tsp kosher salt
    Swaps for kosher salt

    Instead of salt

    • Table salt or fine sea salt: About half as much as Diamond Crystal kosher, about ¾ as much as Morton kosher. The same saltiness when measured this way.
    • Salt by weight: 1 tsp is about 6 grams of table salt, 5 grams of Morton kosher, 3 grams of Diamond Crystal kosher. The most reliable way to swap, especially in baking and brines.

    More for salt

  • 2 tsp ground cinnamon
    Swaps for ground cinnamon

    Instead of cinnamon

    • Pumpkin pie spice or apple pie spice: The same amount. Mostly cinnamon, with ginger, nutmeg and allspice or cloves: a little spicier.
    • Ground allspice or nutmeg: About ¼ the amount. Much stronger and different, but warm in the same way.

    More for cinnamon

  • ½ tsp ground ginger
    Swaps for ground ginger

    Instead of ginger

    • Fresh ginger: 1 tbsp grated fresh for each ¼ tsp ground. Brighter and spicier.

    More for ginger

  • ¼ tsp ground nutmeg
    Swaps for ground nutmeg

    Instead of nutmeg

    • Ground mace: A little less. Made from the same fruit; slightly sharper.
    • Pumpkin pie spice or allspice: The same amount. Warmer and more cinnamon-forward.

    More for nutmeg

  • 4 large eggs, room temperature
    Swaps for eggs

    Instead of eggs

    • Flax egg: 1 tbsp ground flaxseed + 3 tbsp water for each egg. Binds well but gives less lift, so bakes are a little denser and flatter, with a mild nutty taste and brown flecks.
    • Chia egg: 1 tbsp chia seeds + 3 tbsp water for each egg. Works like a flax egg: good binding, little lift, slightly denser crumb.
    • Unsweetened applesauce: ¼ cup for each egg. Moister and denser, with a soft, slightly gummy crumb if you swap more than one egg.

    All 5 swaps for eggs

    Cooking for an allergy? Check every label.

  • 1 cup vegetable oil, 240 ml
    Swaps for vegetable oil

    Instead of vegetable oil

    • Another neutral oil: The same amount. No difference.
    • Melted butter: The same amount. Richer, buttery flavor; cakes are a little less moist and firmer once cool.
    • Light olive oil: The same amount. "Light" olive oil tastes mild.

    All 4 swaps for vegetable oil

  • 1 cup granulated sugar, 200 g
    Swaps for granulated sugar

    Instead of sugar

    • Less sugar: Up to ¼ less in cookies, muffins and quick breads. Less browning and spread, a drier, more cake-like texture, and bakes go stale sooner.
    • Brown sugar: The same amount, packed. Moister and chewier, with a caramel flavor and darker color.
    • Coconut sugar: The same amount. Darker and caramel-like, a little less sweet; cookies spread slightly less.

    All 4 swaps for sugar

  • 1 cup brown sugar, packed (213 g)
    Swaps for brown sugar

    Instead of brown sugar

    • White sugar + molasses: 1 cup granulated sugar + 1 tbsp molasses (light) or 2 tbsp (dark). The same as store-bought.
    • White sugar: The same amount. Crisper, paler cookies with less caramel flavor.
    • Light and dark brown sugar: The same amount, either way. Dark brown sugar tastes stronger and makes bakes a bit darker and moister.

    All 4 swaps for brown sugar

  • 2 tsp vanilla extract
    Swaps for vanilla extract

    Instead of vanilla extract

    • Vanilla bean paste: The same amount. Stronger, with visible vanilla seeds.
    • Vanilla bean: The seeds of 1 bean for each 1 tbsp extract. A deeper, floral flavor and visible seeds.
    • Alcohol-free vanilla: The same amount. Made with glycerin; a slightly milder taste.

    All 5 swaps for vanilla extract

  • 3 cups carrots, finely grated, about 5 medium (300 g)
  • ¾ cup walnuts, toasted and chopped (optional) ≈ 88 g
    Swaps for walnuts

    Instead of nuts

    • Another nut: The same amount. Pecans are sweeter and softer, walnuts slightly bitter, almonds firmer and milder.
    • Toasted pumpkin or sunflower seeds: The same amount. Smaller and crunchier, with an earthy taste.
    • Leave them out, or use chocolate chips or toasted oats: The same amount (or none). Leaving nuts out doesn't change how a batter bakes.

    More for nuts

    Cooking for an allergy? Check every label.

  • Cream cheese frosting
  • 8 oz cream cheese, softened but cool (226 g)
    Swaps for cream cheese

    Instead of cream cheese

    • Neufchâtel: The same amount. Lower in fat and a little softer.
    • Mascarpone: The same amount. Richer, milder and softer, with less tang.
    • Ricotta or cottage cheese, blended: The same amount, blended smooth. Lighter and a little grainy; not firm enough for cheesecake or frosting.

    All 4 swaps for cream cheese

  • ⅜ cup unsalted butter, softened (85 g)
    Swaps for unsalted butter

    Instead of butter

    • Salted butter: The same amount, with about ¼ tsp less salt per stick (½ cup) elsewhere in the recipe. Nothing noticeable once you cut the salt.
    • Plant-based butter sticks: The same amount. The closest swap.
    • Refined coconut oil: The same amount: solid when the butter is soft or cold, melted when it is melted. It is all fat, so bakes are a bit more tender and rich, with no butter flavor.

    All 4 swaps for butter

    Cooking for an allergy? Check every label.

  • 3 cups powdered sugar, 360 g
    Swaps for powdered sugar

    Instead of powdered sugar

    • Homemade powdered sugar: 1 cup granulated sugar + 1 tbsp cornstarch, blended. Slightly grainier in uncooked frosting; fine in glazes and for dusting.

    More for powdered sugar

  • 1 tsp vanilla extract
    Swaps for vanilla extract

    Instead of vanilla extract

    • Vanilla bean paste: The same amount. Stronger, with visible vanilla seeds.
    • Vanilla bean: The seeds of 1 bean for each 1 tbsp extract. A deeper, floral flavor and visible seeds.
    • Alcohol-free vanilla: The same amount. Made with glycerin; a slightly milder taste.

    All 5 swaps for vanilla extract

  • 1 pinch salt
    Swaps for salt

    Instead of salt

    • Kosher salt: About twice as much Diamond Crystal, or about 1¼ times as much Morton. The same saltiness when measured this way.
    • Salt by weight: 1 tsp is about 6 grams of table salt, 5 grams of Morton kosher, 3 grams of Diamond Crystal kosher. The most reliable way to swap, especially in baking and brines.

    More for salt

Different pan? Written for 2 × 9-inch round; rescale the amounts for an 8x8, 9x13, round, loaf or sheet pan.

Cooking for a crowd? Pans, timing and salt for 12 to 50.

Missing something? Tap Swaps next to an ingredient, or see all substitutions.

Steps

Kid helper. A child can do steps 3, 4, 5, 6, 7, 11, 12, 13 and 14: no knife, no heat. Steps marked “Grown-up” use a knife, a sharp tool or heat. Cooking with kids

  1. Heat the oven to 350°F (175°C). Grease two 9-inch round cake pans and
    line (how to line a pan) Line a pan Cover the bottom (and sometimes sides) of a pan with parchment or foil so food doesn't stick and lifts out easily. 1. For a sheet pan, tear parchment the size of the pan and lay it flat.2. For a round cake pan, trace the bottom on parchment, cut the circle out and press it in.3. For brownies and bars, leave two long sides hanging over to make handles (a "sling").4. A little grease under the paper holds it in place. Done when: The paper lies flat with no folds where the batter could run under it. How to line a baking pan with parchment: mistakes to avoid
    the bottoms with parchment circles.
    350°FGrown-up: heat
  2. Peel the carrots and
    grate (how to grate) Grate Rub food over sharp holes to shred it into fine or coarse bits. 1. Set a box grater on a plate or board, or hold a rasp grater over the bowl.2. Hold the food firmly and press it down the grater in long strokes.3. Turn the food as you go so you always grate a flat face.4. Stop when the piece gets small; save the last nub for snacking or the stockpot. Done when: You have even shreds. Cold cheese and cold butter grate cleanest; fresh ginger grates best peeled and frozen. Safety: Stop while there is still a good handle of food left, and use a cut glove if you grate a lot.How to grate cheese, ginger and vegetables: mistakes to avoid
    them on the small holes of a box grater.
    Grown-up: sharp tool
  3. In a medium bowl,
    whisk (how to whisk) Whisk Beat ingredients with a whisk to mix them smoothly or to add air. 1. Use a bowl big enough to whisk without splashing; set it on a damp towel to stop it spinning.2. Hold the whisk loosely and move it in quick circles or side to side, touching the bottom.3. For lumpy mixtures, add liquid a little at a time and whisk after each.4. For sauces on the stove, keep the whisk moving across the whole bottom of the pan. Done when: The mixture is even with no lumps or streaks of egg. How to whisk: mistakes to avoid
    the flour, baking powder, baking soda, salt, cinnamon, ginger and nutmeg.
    Kid step
  4. In a large bowl, whisk the eggs, oil, both sugars and vanilla until smooth.
    Kid step
  5. Add the flour mixture and stir with a spatula until just combined.
    Kid step
  6. Fold (how to fold) Fold Combine a light mixture (whipped cream, beaten whites) or chunky add-ins into a batter gently, so it stays airy. 1. Put the lighter mixture on top of the heavier one, or add the flour or chips.2. Cut a rubber spatula straight down through the middle to the bottom of the bowl.3. Sweep it across the bottom and up the side, then turn it over on top.4. Turn the bowl a quarter turn and repeat.5. Stop as soon as no streaks remain. Done when: There are no dry streaks or white blobs, and the mixture still looks light and puffy. Safety: Batters with raw eggs or flour aren't safe to eat raw.How to fold ingredients into a batter: mistakes to avoid
    in the carrots and the walnuts, if using.
    Kid step
  7. Divide the batter evenly between the pans.
    Kid step
  8. Bake until the tops spring back and
    a toothpick (how to toothpick test) Toothpick test A quick way to tell if a cake, quick bread or brownie is baked through. 1. Near the end of the baking time, open the oven and pull out the rack.2. Poke a toothpick or thin skewer into the center (the last place to set).3. Pull it straight out and look at it.4. If wet batter clings, bake a few minutes more and test again. Done when: Clean, or with a few moist crumbs for brownies and fudgy cakes. Wet, shiny batter means not yet. How to test a cake with a toothpick: mistakes to avoid
    in the center comes out clean.
    350°F⏱ Bake: 32 minGrown-up: heat
  9. Cool in the pans on a rack.
    ⏱ Cool in pans: 15 minGrown-up: heat
  10. Turn the layers out, peel off the parchment and let them cool completely.
    ⏱ Cool layers: 1 hr 30 minGrown-up: heat
  11. For the frosting,
    beat (how to beat) Beat Mix hard and fast, by hand or with a mixer, to blend ingredients fully and add air. 1. Use a mixer on the speed the recipe gives, or a fork or whisk for a few eggs.2. Add eggs one at a time, beating until each disappears before the next.3. Stop and scrape the bowl and beaters now and then.4. Mix on low once flour goes in, just until combined. Done when: The mixture is smooth and even, with no streaks of yolk or white. Safety: Turn the mixer off before you scrape the bowl or reach in.How to beat eggs and batters: mistakes to avoid
    the cream cheese and butter on medium until smooth with no lumps.
    Kid step
  12. Add the powdered sugar, vanilla and salt and beat on low, then medium, just until fluffy. Overbeating makes it runny.
    Kid step
  13. Set one layer on a plate and spread about 1 cup of frosting over it. Top with the second layer.
    Kid step
  14. Spread the rest of the frosting over the top, letting a little spill over the edge, and leave the sides rustic.
    Kid step
  15. Chill the cake so the frosting firms up before slicing.
    ⏱ Chill: 30 minGrown-up: knife

Tap an underlined word for how to do it, or see all techniques.

Tips

  • Do not use pre-shredded bagged carrots. They are thick and dry and make a coarse cake.
  • Toast the walnuts in a 350°F oven for 8 minutes for the best flavor.
  • For 24 cupcakes, fill lined cups two-thirds full and bake 18 to 22 minutes.

Storage

Because of the cream cheese frosting, keep the cake covered in the fridge up to 5 days. Let slices sit out 20 minutes before serving.

Make ahead

Unfrosted layers freeze well wrapped up to 2 months. The frosted cake can be made 1 day ahead and refrigerated.

Quick answers

Can I freeze it?

Unfrosted layers freeze well wrapped up to 2 months.

Can I make it ahead?

The frosted cake can be made 1 day ahead and refrigerated.

What can I swap?

Cooking for an allergy? Check every label.

Answered from this recipe's own storage, make-ahead and swap notes.

Estimated nutrition per serving

Calories
640
Protein
6 g
Carbohydrates
84 g
Fiber
2 g
Sugars
65 g
Fat
32 g
Saturated fat
11 g
Sodium
450 mg

Whole recipe, 12 servings: about 7,690 calories.

Estimate from USDA FoodData Central; not medical or dietary advice. Based on 18 of 18 ingredients.

How we estimate

We add up USDA FoodData Central values for each measured ingredient as written and divide by the recipe's 12 servings, so changing the servings or units here doesn't change a serving. Brands, swaps, trimming and cooking all change the real numbers.

Not counted: walnuts (optional).

Estimated cost

About $0.75 a serving

About $8.95 for the recipe as written (12 servings).

Estimate; prices vary by store and region. U.S. average prices for September 2026 from BLS Average Price Data and USDA ERS Purchase to Plate prices updated with the BLS Consumer Price Index. Priced: 9 of 18 ingredients, 98% by weight.

How we estimate

Each measured ingredient is weighed as in the nutrition estimate and priced at the U.S. average: BLS's average price where BLS publishes one, else USDA ERS's Purchase to Plate price for 2017-18 raised to September 2026 with the CPI for that food group. Whole packages, store brands, sales and regions all change the real cost: treat it as a ballpark.

  • cream cheese $2.35 ERS
  • vegetable oil $1.25 ERS
  • powdered sugar $1.25 ERS
  • carrots $1.10 ERS
  • brown sugar $0.75 ERS
  • eggs $0.75 BLS
  • unsalted butter $0.75 BLS
  • granulated sugar $0.45 BLS
  • all-purpose flour $0.30 BLS

Not priced (no official average price we can match, so not in the total): baking powder, baking soda, kosher salt, ground cinnamon, ground ginger, ground nutmeg, vanilla extract, salt.

Not counted: walnuts (optional, or to taste).

More dishes for less: cheap eats.

Keep this one

Sign in to save recipes into your own collections, log the days you cook them and keep private notes, like "use less sugar next time". Only you see them.

Sign in to saveNo password: we email you a code.

Gear for this recipe

As an Amazon Associate we earn from qualifying purchases. Brands are suggestions; any similar item works.

Cleanup score 2/5 (more cleanup): 5 things to wash, cake pans, bowl 1, bowl 2, box grater, hand mixer beaters.

More kitchen gear and our gear guides

Reviews (0)

No reviews yet. Made it? Tell us how it went.