The Feast

Home cooking recipes for everyday dinners and easy entertaining

Frosted Carrot Cake Recipe with Cream Cheese Icing

· 5 min read · Baking and Desserts

Frosted carrot cake is a moist, dense spice cake loaded with grated carrots and topped with a tangy cream cheese frosting. It is a classic dessert often served at celebrations, but simple enough to bake for a weekend treat.

Ingredients for the Cake and Frosting

This recipe makes one 9x13 inch sheet cake or two 8-inch round layers. You will need standard pantry staples plus fresh carrots and cream cheese.

For the carrot cake

  • 2 cups (240g) all-purpose flour
  • 2 teaspoons baking soda
  • 1 teaspoon salt
  • 2 teaspoons ground cinnamon
  • 1/2 teaspoon ground nutmeg
  • 1 cup (200g) granulated sugar
  • 1 cup (200g) packed light brown sugar
  • 1 cup (240ml) vegetable oil or canola oil
  • 3 large eggs, room temperature
  • 2 teaspoons vanilla extract
  • 3 cups (about 360g) grated peeled carrots
  • 1/2 cup (60g) chopped pecans or walnuts (optional)

For the cream cheese frosting

  • 8 oz (225g) full-fat cream cheese, softened
  • 1/2 cup (115g) unsalted butter, softened
  • 1 teaspoon vanilla extract
  • 3 to 4 cups (360g-480g) powdered sugar

Mixing and Baking the Cake

Preheat the oven to 350°F (175°C). Grease and flour a 9x13 inch pan or two 8-inch round pans. Lining the bottom with parchment paper helps the layers release cleanly.

  1. Whisk the flour, baking soda, salt, cinnamon, and nutmeg together in a medium bowl until well combined.
  2. In a large bowl, whisk the granulated sugar, brown sugar, and oil until smooth and thick, about 1 minute. Add the eggs one at a time, whisking well after each addition, then stir in the vanilla.
  3. Pour the dry ingredients into the wet mixture. Stir with a spatula or wooden spoon just until no flour streaks remain. Do not overmix or the cake will be tough.
  4. Fold in the grated carrots and the nuts (if using) until they are evenly distributed throughout the batter.
  5. Pour the batter into the prepared pan(s), smoothing the top with a spatula. Bake at 350°F (175°C) for 35-45 minutes for a 9x13 pan or 30-35 minutes for round pans.

How to Tell the Cake is Fully Baked

Visual cues and a physical test are the most reliable ways to check for doneness. The edges should pull away slightly from the sides of the pan, and the top should spring back when pressed lightly with a finger.

Insert a wooden toothpick or a thin skewer into the center of the cake. It should come out clean or with just a few moist crumbs clinging to it. If wet batter appears on the pick, bake for another 3-5 minutes and test again. Cool the cake completely in the pan on a wire rack before frosting to prevent the icing from melting.

Making and Applying the Cream Cheese Frosting

Beat the softened cream cheese and butter together in a large bowl on medium speed until completely smooth and creamy, about 2 minutes. Scrape down the sides of the bowl to ensure no lumps remain.

Add the vanilla extract. Gradually add the powdered sugar, starting on low speed to avoid a cloud of sugar, then increase to medium speed. Beat until the frosting is light and fluffy. Add more powdered sugar if you prefer a stiffer, sweeter frosting, or a teaspoon of milk if it is too thick.

Spread the frosting over the completely cooled cake. For a layer cake, place one layer on a plate, spread about 3/4 cup of frosting over the top, then place the second layer on top. Frost the top and sides of the entire cake. Refrigerate the frosted cake for at least 30 minutes before slicing to help the icing set.

Serving and Pairing Ideas

Carrot cake is rich and sweet, so it pairs well with beverages that have some bitterness or acidity to cut through the sugar. Black coffee, espresso, or a strong cup of Earl Grey tea are classic choices.

For a dessert spread, serve small squares alongside fresh fruit like pineapple or mango, which complement the tropical notes often found in carrot cake variations. A scoop of vanilla ice cream or a dollop of unsweetened whipped cream balances the dense texture of the cake.

Equipment That Matters for This Recipe

A box grater is the standard tool for shredding carrots. Use the large holes to create shreds that provide moisture and texture. A food processor with a shredding disc can speed up this process, but ensure you do not puree the carrots into a pulp.

Stand mixers and hand mixers both work well for the frosting. If mixing by hand, use a sturdy whisk and plenty of elbow grease to eliminate lumps in the cream cheese. For the cake batter, a large mixing bowl and a wooden spoon are sufficient, as over-mixing with an electric mixer can develop the gluten in the flour, leading to a rubbery texture.

Safe Storage Times for Cake and Frosting

Because the frosting contains cream cheese and butter, this cake requires refrigeration. Store the frosted cake in an airtight container or cover the pan tightly with plastic wrap. It keeps safely in the refrigerator for up to 5 days.

For longer storage, freeze the cake. Wrap individual slices or the whole cake tightly in two layers of plastic wrap, then a layer of aluminum foil. Label the package with the date. Frozen carrot cake maintains best quality for about 3 months. Thaw frozen slices in the refrigerator overnight before serving.

Two Common Variations on the Classic Recipe

Carrot cake with pineapple

Drain one 8-ounce can of crushed pineapple and add it to the batter along with the carrots. This adds extra moisture and a subtle sweetness. You may need to bake the cake an extra 5-10 minutes due to the added liquid.

Carrot cake with raisins

Add 1/2 cup of raisins to the batter with the carrots for a chewy texture. Golden raisins offer a milder, sweeter flavor than dark raisins. If the raisins are dry, soak them in warm water for 10 minutes and drain them well before adding to keep them soft during baking.

In this article
  1. Ingredients for the Cake and Frosting
  2. Mixing and Baking the Cake
  3. How to Tell the Cake is Fully Baked
  4. Making and Applying the Cream Cheese Frosting
  5. Serving and Pairing Ideas
  6. Equipment That Matters for This Recipe
  7. Safe Storage Times for Cake and Frosting
  8. Two Common Variations on the Classic Recipe