This carrot cake is baked in a 10×15 inch rectangular pan, which gives you a generous, single-layer sheet cake that is perfect for a crowd. The batter is designed to fill the pan about two-thirds full, so it bakes up moist and tender without overflowing. With warm spices, crushed pineapple, and a classic cream cheese frosting, this recipe is both practical and delicious for birthdays, potlucks, or any celebration.
Ingredients
- 2 cups (250 g) all-purpose flour
- 2 teaspoons baking powder
- 1 ½ teaspoons baking soda
- 1 teaspoon salt
- 2 teaspoons ground cinnamon
- ½ teaspoon ground nutmeg
- ½ teaspoon ground ginger
- 1 cup (200 g) granulated sugar
- 1 cup (200 g) packed light brown sugar
- 1 cup (240 ml) vegetable oil
- 4 large eggs, at room temperature
- ½ cup (120 ml) buttermilk, at room temperature
- 2 teaspoons vanilla extract
- 3 cups (about 340 g) finely grated carrots (about 4-5 medium carrots)
- 1 cup (240 ml) crushed pineapple, well drained
- 1 cup (120 g) chopped walnuts or pecans (optional)
For the Cream Cheese Frosting
- 8 oz (226 g) cream cheese, softened
- ½ cup (1 stick, 113 g) unsalted butter, softened
- 4 cups (480 g) powdered sugar, sifted
- 1 teaspoon vanilla extract
- 1-2 tablespoons milk or cream, as needed
Instructions
- Preheat your oven to 350°F (175°C). Grease a 10×15 inch rectangular baking pan (about 2 inches deep) with butter or nonstick spray, then line the bottom with parchment paper for easy removal.
- In a medium bowl, whisk together the flour, baking powder, baking soda, salt, cinnamon, nutmeg, and ginger. Set aside.
- In a large bowl, whisk the granulated sugar, brown sugar, and oil until well combined. Add the eggs one at a time, whisking well after each addition. Stir in the buttermilk and vanilla extract.
- Add the dry ingredients to the wet mixture and stir with a spatula or wooden spoon until just combined—do not overmix.
- Fold in the grated carrots, drained pineapple, and nuts if using. The batter will be thick but pourable.
- Pour the batter into the prepared pan and spread it evenly with a spatula. The pan should be about two-thirds full.
- Bake for 30 to 38 minutes, or until a toothpick inserted into the center comes out with a few moist crumbs (not wet batter) and the top springs back when lightly pressed. The internal temperature should read about 200°F (93°C) in the center. Because ovens vary, start checking at 30 minutes.
- Let the cake cool completely in the pan on a wire rack, about 1 to 2 hours. Do not frost a warm cake.
- For the frosting: In a large bowl, beat the cream cheese and butter together until smooth and creamy. Add the powdered sugar gradually, beating on low speed until incorporated. Add vanilla and beat on medium speed until fluffy. If the frosting is too thick, add milk 1 tablespoon at a time until spreadable.
- Spread the frosting evenly over the cooled cake. Slice and serve.
Tips
- Drain the pineapple well: Press out excess juice with a spoon or paper towel. Too much moisture can make the cake dense and gummy.
- Grate your own carrots: Pre-shredded carrots are often dry and coarse. Freshly grated carrots (on the fine side of a box grater) give the best moisture and texture.
- Room temperature ingredients matter: Cold eggs and buttermilk can make the batter curdle. Set them out 30 minutes before mixing.
- Don’t overbake: Overbaking dries out the cake. The toothpick should have a few moist crumbs, not be completely clean.
Serving Suggestions
Serve this carrot cake at room temperature with a cup of coffee or tea. It’s a great dessert for spring gatherings, Easter, or a birthday party. You can also cut it into small squares for a brunch buffet. For an extra touch, sprinkle some chopped walnuts or a dusting of cinnamon on top of the frosting.
Variations
- Add raisins: Fold in ½ cup (80 g) of raisins along with the carrots for extra sweetness.
- Swap the nuts: Use pecans instead of walnuts, or omit them entirely for a nut-free version.
- Spice it up: Add ½ teaspoon of allspice or cardamom for a different flavor profile.
- Make it a layer cake: Bake the batter in two 9-inch round pans (about 25-30 minutes) and stack with frosting.
- Use a different frosting: Try a maple cream cheese frosting by replacing the vanilla with 1 tablespoon of maple syrup.
Storage and Reheating
Store the frosted cake covered in the refrigerator for up to 5 days. Because it has cream cheese frosting, it must be kept cold. Let it sit at room temperature for about 20 minutes before serving to soften the frosting. You can also freeze the unfrosted cake (well wrapped) for up to 3 months. Thaw overnight in the refrigerator, then bring to room temperature and frost. To reheat individual slices, microwave for 10-15 seconds until just warm, though it’s usually enjoyed at room temperature.
Related
Frequently Asked Questions
Can I use a glass pan instead of metal? Yes, but glass heats more slowly and stays hot longer. Lower the oven temperature by 25°F (15°C) and start checking for doneness about 5 minutes later. Also, watch the edges—they can brown faster.
Can I make this recipe without buttermilk? Yes, you can make a quick substitute: add 1 tablespoon of lemon juice or white vinegar to ½ cup of milk, let it sit for 5 minutes, and use that. Or use plain yogurt thinned with a little water.
Why did my cake sink in the middle? This can happen if the batter is overmixed (which develops too much gluten) or if the pan is too full. Make sure you use a 10×15 inch pan that is at least 2 inches deep, and don’t overmix the batter.
Can I use a different size pan? Yes, but the baking time will change. If you use a 9×13 inch pan, the batter will be deeper, so bake for about 40-50 minutes. If you use two 9-inch rounds, bake for 25-30 minutes. Always test with a toothpick.
Do I need to refrigerate the cake? Yes, because of the cream cheese frosting. It can sit out for up to 2 hours during serving, but after that, refrigerate it to keep it safe.
Can I use a dark nonstick pan? Yes, but dark pans absorb more heat and can cause over-browning. Lower the oven temperature by 25°F (15°C) and check for doneness a few minutes earlier.