You picked up a bag of carrots for a salad. The salad never happened. And now you have six carrots staring at you from the fridge.
This is your sign.
Carrot cake is one of those recipes that sounds intimidating but is shockingly forgiving. No fancy techniques. No stand mixer required. And the result? A moist, warmly spiced cake with cream cheese frosting so good you’ll be eating it straight off the spatula.
I’ve made this more times than I can count, and I’ve handed this recipe to people who’ve never baked anything in their lives. Every single time, it worked.
So let’s do this.
What You’ll Need
For the Cake:
- 2 cups (250g) all-purpose flour
- 2 tsp baking soda
- 1½ tsp ground cinnamon
- ½ tsp ground nutmeg
- ½ tsp ground ginger
- ½ tsp salt
- 1½ cups (300g) granulated sugar
- ¾ cup (180ml) vegetable oil (or melted coconut oil)
- 4 large eggs, room temperature
- 2 tsp pure vanilla extract
- 3 cups (300g) finely grated carrots (about 4 medium carrots)
- ½ cup (50g) chopped walnuts or pecans (optional but highly recommend)
For the Cream Cheese Frosting:
- 225g (8 oz) full-fat cream cheese, softened
- ½ cup (115g) unsalted butter, softened
- 2½ cups (300g) powdered sugar, sifted
- 1 tsp pure vanilla extract
- Pinch of salt
Tools You’ll Need
- Two 9-inch round cake pans (or one 9×13 baking dish)
- Large mixing bowl
- Medium mixing bowl
- Whisk
- Rubber spatula
- Box grater or food processor with grater attachment
- Electric hand mixer (for the frosting)
- Measuring cups and spoons
- Wire cooling rack
- Offset spatula or butter knife for frosting
Pro Tips
1. Grate the carrots yourself. Pre-shredded carrots from the store are too thick and dry. Freshly grated carrots are finer and release moisture into the batter as it bakes. That’s where all the magic happens.
2. Don’t skip room temperature eggs. Cold eggs straight from the fridge don’t incorporate as well. Just leave them on the counter for 30 minutes before you start and you’re good.
3. Do NOT overmix. Once you add the flour to the wet ingredients, mix only until just combined. Overmixing develops gluten and makes your cake dense and tough. A few streaks of flour are totally fine.
4. Let the cakes cool completely before frosting. This is non-negotiable. Frost a warm cake and you’ll end up with frosting soup. Patience here pays off.
5. The frosting thickens in the fridge. If your cream cheese frosting feels too soft after mixing, pop it in the fridge for 20 minutes. It’ll firm up and spread perfectly.
Substitutions & Variations
| Swap | What to Use Instead |
|---|---|
| Vegetable oil | Melted coconut oil or avocado oil |
| All-purpose flour | 1:1 gluten-free flour blend |
| Granulated sugar | Coconut sugar (slightly denser result) |
| Walnuts/pecans | Raisins, shredded coconut, or omit entirely |
| Cream cheese frosting | Vanilla buttercream or whipped cream |
| Two round pans | One 9×13 inch pan (bake for 40-45 minutes) |
Want to make it dairy-free? Use vegan cream cheese and vegan butter for the frosting. It works surprisingly well.
Make-Ahead Tips
- Bake the cake layers up to 2 days ahead. Wrap cooled cakes tightly in plastic wrap and store at room temperature.
- Make the frosting up to 3 days ahead. Store in an airtight container in the fridge. Let it come to room temperature and re-whip before using.
- Fully assembled cake can be refrigerated for up to 5 days covered.
The flavor actually deepens overnight. Day 2 slices hit different. 🍰
Nutritional Info (Per Slice, 12 Servings)
| Amount | |
|---|---|
| Calories | ~480 kcal |
| Carbohydrates | 58g |
| Fat | 25g |
| Protein | 5g |
| Fiber | 1.5g |
| Sugar | 42g |
Values are approximate and will vary based on ingredients used.
How to Make Carrot Cake
Step 1: Prep Your Pans & Preheat
Preheat your oven to 350°F (175°C). Grease two 9-inch round cake pans with butter or cooking spray, then line the bottoms with circles of parchment paper. This guarantees the cake comes out cleanly every single time.
Step 2: Mix the Dry Ingredients
In a medium bowl, whisk together the flour, baking soda, cinnamon, nutmeg, ginger, and salt. Set aside.
That’s it. Don’t overthink it.
Step 3: Mix the Wet Ingredients
In your large bowl, whisk together the sugar, oil, eggs, and vanilla until smooth and slightly thickened, about 1 minute.
The mixture should look like a pale yellow, cohesive liquid. If it looks a little oily, that’s perfectly fine.
Step 4: Combine
Add the dry ingredients to the wet ingredients and mix with a rubber spatula until just combined.
Fold in the grated carrots and walnuts (if using). The batter will be thick, which is exactly what you want.
Step 5: Bake
Divide the batter evenly between your two prepared pans. Tap each pan gently on the counter a couple of times to release any air bubbles.
Bake for 28-32 minutes, until a toothpick inserted into the center comes out clean (or with just a couple of moist crumbs).
Step 6: Cool
Let the cakes cool in their pans for 15 minutes, then turn them out onto a wire rack and let them cool completely. This takes about 1 hour.
Walk away. Make the frosting. Have a snack. Just don’t rush this.
Step 7: Make the Cream Cheese Frosting
Beat the softened cream cheese and butter together with a hand mixer on medium speed until smooth and fluffy, about 2 minutes.
Add the sifted powdered sugar, vanilla, and salt. Mix on low speed first (unless you want a powdered sugar cloud in your face), then increase to medium-high and beat for 2-3 minutes until light and creamy.
Step 8: Frost the Cake
Place one cake layer on your serving plate. Spread a generous layer of frosting on top.
Stack the second layer on top. Use the remaining frosting to cover the top and sides of the cake.
Don’t stress about it looking perfect. A slightly rustic cake is deeply charming.
Leftovers & Storage
- Room temperature: Keep covered for up to 2 days (if your kitchen isn’t too warm)
- Refrigerator: Store covered for up to 5 days. Bring slices to room temperature before eating for the best texture and flavor
- Freezer: Freeze unfrosted cake layers wrapped in plastic and foil for up to 3 months. Thaw overnight in the fridge
Pro tip: If freezing a frosted slice, freeze it uncovered for 1 hour first, then wrap it. The frosting won’t smear.
FAQ
Can I make this as cupcakes? Absolutely. Pour the batter into lined muffin tins, filling each about ⅔ full. Bake at 350°F for 18-22 minutes. This recipe makes about 24 cupcakes.
Do I have to use both cinnamon, nutmeg, AND ginger? Nope. If you only have cinnamon, use 2 teaspoons of that and skip the others. The cake will still taste great. The spice combination just adds more depth.
My frosting is too runny. What happened? This usually happens when the cream cheese or butter was too warm. Refrigerate the frosting for 20-30 minutes, then re-whip it. It’ll thicken up.
Can I add pineapple? Yes! Drained, crushed pineapple (about ½ cup) adds extra moisture and a subtle sweetness. Pat it very dry before adding or the batter gets too wet.
How do I know if my baking soda is still good? Drop a small amount in hot water. If it bubbles vigorously, it’s active. If nothing happens, it’s dead and your cake won’t rise properly.
Can I make this without eggs? For each egg, use a “flax egg” (1 tbsp ground flaxseed + 3 tbsp water, rested for 5 minutes). The texture will be slightly denser, but it works.