Here is how to make the old-fashioned carrot cake squares from the first page, step by step. See the full introduction and ingredient notes.
Ingredients
- 2 cups all-purpose flour
- 2 tsp baking soda
- 2 tsp ground cinnamon
- 1/2 tsp salt
- 4 large eggs
- 1 cup vegetable oil
- 1 1/2 cups sugar
- 1/2 cup brown sugar
- 1 tsp vanilla extract
- 3 cups finely grated carrots
- 1/2 cup chopped walnuts (optional)
For the for the frosting:
- 8 oz cream cheese, softened
- 1/4 cup butter, softened
- 2 cups powdered sugar
- 1 tsp vanilla extract
Instructions
- Heat the oven. Heat the oven to 350°F and grease a 9×13-inch baking pan.
- Mix the dry ingredients. Whisk the flour, baking soda, cinnamon and salt in a medium bowl.
- Mix the wet ingredients. In a large bowl, whisk the eggs, oil, sugar, brown sugar and vanilla until smooth.
- Combine. Stir the dry ingredients into the wet ingredients until just combined, then fold in the carrots and walnuts.
- Bake. Spread the batter in the pan and bake 30 to 35 minutes, until a toothpick inserted in the center comes out clean.
- Cool. Let the cake cool completely in the pan, about 1 hour.
- Make the frosting. Beat the cream cheese and butter until creamy, then beat in the powdered sugar and vanilla until fluffy.
- Frost and cut. Spread the frosting over the cooled cake and cut into 15 squares.
Tips for the Best Carrot Cake Squares
- Let the cream cheese and butter soften fully for a smooth frosting.
- Do not frost a warm cake, or the frosting will melt.
- Do not overmix the batter once the flour goes in.
- Chill the frosted cake for 30 minutes for clean cuts.
- Wipe the knife between cuts for neat squares.
- Squeeze extra liquid from very juicy carrots before adding them.
- Line the pan with parchment if you want to lift the whole cake out for a party platter.
Easy Variations
- Pineapple: fold in 1/2 cup well-drained crushed pineapple for extra moisture.
- Raisins: add 1/2 cup raisins with the carrots.
- Coconut: stir in 1/2 cup shredded coconut.
- Cupcakes: bake in lined muffin cups for 18 to 22 minutes.
- Orange frosting: add 1 teaspoon of orange zest to the frosting.
How to Serve Carrot Cake Squares
Serve the squares on a cake stand or platter with a cup of coffee or tea. For Easter or a spring party, top each square with a small piped carrot made from orange frosting.
At a potluck or bake sale, cut the cake right in the pan and cover it with foil. It travels well and stays moist all day.
For a birthday, add a few candles right into the squares, or sprinkle chopped walnuts and a little cinnamon over the frosting for a pretty, rustic finish that looks like it came from a bakery case.
Leftover squares make a lovely afternoon treat with a glass of cold milk, and they pack well in lunch boxes when wrapped in plastic wrap.
Make Ahead and Storage
Because of the cream cheese frosting, keep the cake covered in the fridge for up to 5 days. Let squares sit at room temperature for 15 minutes before serving for the best texture. Unfrosted cake freezes well for up to 3 months; wrap it tightly and thaw overnight before frosting.
Frequently Asked Questions
Can I use bagged shredded carrots?
You can, but chop them finer first. Freshly grated carrots make a moister cake.
Can I make it without nuts?
Yes. Just leave them out; nothing else needs to change.
Why did my cake sink in the middle?
It was likely underbaked. Bake until a toothpick comes out clean from the center.
Can I make it a day ahead?
Yes. Carrot cake tastes even better the next day once the flavors settle.
Can I use less sugar?
You can cut the sugar by about 1/4 cup, but the cake will be a little less moist.
Do I need a mixer for the frosting?
A hand mixer makes it fluffy and smooth, but you can beat it by hand with a sturdy spoon if the cream cheese and butter are very soft.
Bake a pan for the next celebration. Who knows, it might become your family’s favorite cake too.





