Dinners

Carrot Cake Recipes From Scratch Without Nuts

Updated · By Patriot Kitchen

Total timeincludes chilling, rising or resting
2 hr 15 min
Prep
30 min
hands-on
Cook
45 min
oven or stovetop
Serves
12
as written

Jump to recipe Save

Time 2 hr 15 min · Serves 12 · The key step Grate carrots finely and drain excess moisture. This moist, spiced cake has warm cinnamon, tender crumb and no nuts, ideal for school treats, potlucks or allergy-safe desserts.

Ingredients

  • 2 cups (250 g) all-purpose flour
  • 2 teaspoons baking powder
  • 1 teaspoon baking soda
  • 1 teaspoon salt
  • 2 teaspoons ground cinnamon
  • 1/2 teaspoon ground nutmeg
  • 1/2 teaspoon ground ginger
  • 1 1/2 cups (300 g) granulated sugar
  • 1 cup (240 ml) vegetable oil or melted unsalted butter
  • 4 large eggs, room temperature
  • 2 teaspoons vanilla extract
  • 3 cups (300 g) finely grated carrots (about 4 medium carrots)
  • 1/2 cup (120 ml) unsweetened applesauce
  • 1/2 cup (80 g) raisins or shredded coconut (optional)

Cream Cheese Frosting

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

Instructions

  1. Preheat oven to 350°F (175°C). Grease two 9-inch (23 cm) round cake pans or a 9×13-inch (23×33 cm) baking pan. Line with parchment paper for easy removal.
  2. In a medium bowl, whisk together flour, baking powder, baking soda, salt, cinnamon, nutmeg and ginger. Set aside.
  3. In a large bowl, beat sugar and oil (or melted butter) with an electric mixer on medium speed for 1 minute until combined. Add eggs one at a time, beating well after each. Mix in vanilla.
  4. Add dry ingredients to wet ingredients in three parts, mixing on low speed just until combined after each addition. Do not overmix.
  5. In a separate bowl, combine grated carrots and applesauce. Squeeze out excess liquid using a clean kitchen towel or paper towels. Fold carrot mixture into batter along with raisins or coconut if using. Batter will be thick.
  6. Pour batter evenly into prepared pans. Smooth tops with a spatula.
  7. Bake at 350°F (175°C) for 30–35 minutes for round pans or 35–45 minutes for a 9×13-inch pan, until a toothpick inserted in the center comes out clean and edges pull from the pan.
  8. Cool cakes in pans for 15 minutes. Then invert onto wire racks, remove parchment, and cool completely before frosting—about 1 hour.
  9. For frosting, beat cream cheese and butter on medium speed until smooth and creamy, about 2 minutes. Gradually add powdered sugar, 1 cup at a time, mixing on low. Add vanilla and salt. Beat on high for 1 minute until fluffy.
  10. Once cakes are fully cooled, frost tops and sides of layer cake or spread evenly over sheet cake. Refrigerate for at least 30 minutes before slicing to set frosting.

Cooling and Frosting

Do not frost a warm cake—condensation forms under frosting, causing it to slide. Cool layers completely, about 1 hour at room temperature. If short on time, chill layers in the refrigerator for 20 minutes after cooling 15 minutes on the rack.

For a smooth finish, apply a thin crumb coat first: spread a small amount of frosting over the cake, then refrigerate for 15 minutes before adding the final layer.

Serving and Pairing

Serve at room temperature. This cake pairs well with black coffee, vanilla ice cream or a dollop of whipped cream. It holds well in lunchboxes if frosted, but refrigeration is required after 2 hours at room temperature.

For gatherings, slice into 2×2-inch squares. A 9×13-inch cake yields 12 servings; two 9-inch layers yield 12 wedges.

Mistakes and Fixes

Dense or greasy cake

Caused by overmixing batter or too much oil. Mix dry ingredients into wet ingredients just until combined. Use exact oil measure: 1 cup (240 ml). Substituting melted butter for oil adds structure but still requires exact volume.

Frosting too soft or runny

Occurs when butter or cream cheese is too warm or under-beaten. Both must be softened, not melted. Beat frosting at least 2 minutes after adding all sugar. If too soft, refrigerate for 15 minutes, then rewhip.

Sunken center

Caused by underbaking, opening the oven too early, or excess moisture in carrots. Grate carrots finely and squeeze out liquid. Bake until center is firm and toothpick comes out clean. Do not open oven door during first 25 minutes.

Storage

Refrigerate within 2 hours of baking. Store in an airtight container for up to 4 days. For longer storage, freeze unfrosted layers wrapped in plastic and foil for up to 3 months. Thaw in the refrigerator overnight before frosting.

Frosted cake can be frozen, but frosting may crack. Wrap tightly in plastic, then foil. Thaw in the refrigerator for 6 hours before serving at room temperature.

Do not leave frosted cake at room temperature longer than 2 hours (1 hour if above 90°F/32°C) due to dairy in frosting.

Swaps and Adjustments

For a dairy-free version, use plant-based butter and cream cheese. Check labels for nut-free certification if needed. Results may be slightly softer.

Replace raisins with chopped dried pineapple or apricots for texture without nuts. Omit applesauce and use 3/4 cup oil if preferred, but applesauce adds moisture and helps bind without extra fat.

Gluten-free: substitute 1:1 gluten-free flour blend. Add 1/2 teaspoon xanthan gum if not included in the blend. Texture will be slightly denser.

Flour and Egg Safety

This recipe uses raw eggs in frosting and raw flour in cake batter. To reduce risk, use pasteurized eggs for frosting and heat-treat flour for any unbaked batter or samples. Heat flour to 160°F (71°C) in a 350°F (175°C) oven for 5 minutes, cool completely before use. Pregnant people, young children, older adults and immune-compromised individuals should avoid raw flour and raw eggs.

Related

Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.

Spotted an error? Tell us and we will correct it (corrections policy).