Carrot Cake Squares offer a delightful twist on the classic round layer cake, combining the same rich flavors in a convenient, shareable form. They’re much easier to make since all you need is one baking pan, and you don’t have to be a frosting expert.

A slice of carrot cake square with decorative frosting on a white plate


Depending on your region, these may be called Carrot Cake Bars, while the full version is often referred to as Carrot Slab Cake. All I know is, if you’re feeding a crowd this is the cake you need. This is the same great recipe of mine since 2016, with a couple of recent updates to pictures and text.


Easter Carrot Cake


With it being Easter season and definitely carrot season, you can’t miss out on one of the easiest carrot cake recipes. This Easter dessert deserves a place on your table, loaded with freshly grated carrots, warm spices, and the classic nutty bite from toasted walnuts.

Ingredients

For the cake:

  • All-purpose flour 
  • Baking powder
  • Baking soda
  • Ground cinnamon
  • Grated nutmeg
  • Salt
  • Oil (vegetable oil or canola oil)
  • Granulated sugar
  • Light brown sugar
  • Large eggs
  • Vanilla extract
  • Grated carrots
  • Walnuts

For the frosting:

  • Cream cheese
  • Unsalted butter
  • Powdered/confectioners sugar
  • Vanilla extract
3 carrot cake slices on a white oblong plate


Nut-Free Carrot Cake


Can’t eat nuts or just not a fan? No problem, leave them out. If you’re not a fan of walnuts, try toasted pecans


Light or Dark Brown Sugar in Carrot Cake


You may notice some carrot cakes are darker in color than others. This is due to the use of light or dark brown sugar. I prefer light brown, which gives this cake its lighter color, allowing you to visibly see the grated carrots (see picture below).

A closeup of a carrot cake without frosting showing the specs of grated carrot.


Tips for the Best Carrot Cake

1. Use Freshly Grated Carrots

Pre-shredded store-bought carrots can be dry. Grate fresh carrots on a large box grater for the best texture and flavor.

2. Don’t Overmix the Batter

Overmixing can make the cake dense. Stir just until the dry ingredients are combined well with the wet ingredients. After using a hand or stand mixer, I like to switch to using a spatula to gently fold carrots and walnuts into the mixture.

3. Add Some Texture

Chopped nuts, raisins, or shredded coconut add a delicious crunch and extra flavor.

4. Spice it Right

A good balance of cinnamon and nutmeg give warmth and depth to your carrot cake.

5. Keep it Moist

Adding plain yogurt adds a little tang as well as  moisture, keeping the cake soft and tender without making it greasy and the need for a lot of vegetable oil.

6. Best Pan for Carrot Cake Squares

I like a classic glass (ovenproof) baking pan measuring 9 x 12 inches (23 x 33 cm). You can use any material, but just know that what it’s made from affects the baking time. Metal will bake faster than glass or ceramic.
You can also use two, 9-inch (23 cm) round cake tins. They will bake faster so cut the baking time short by about 10 minutes.

7. Have a Well Prepared Baking Dish

Generously grease the pan with butter. This makes for easier removal.

8. Bake Low and Slow

A moderate oven temperature (350°F/180°C) ensures even baking without drying out the cake.

9. Let it Cool Completely

Warm cake can cause frosting to melt—let it cool fully on a wire rack before adding.

10. Don’t overbake. 

45 minutes is the perfect time in my oven (using a glass pan). Your baking time may vary depending on your oven and the type of pan used (about 35-40 minutes). It’s ready when the top is not sticky, slightly firm, and when a toothpick inserted in the center comes out clean.

A carrot sheet cake piped with frosting and decorative mini carrots.


The Easiest Cream Cheese Frosting


When you make carrot cake, it’s almost mandatory to top it with cream cheese frosting. In typical fashion, I like to get fancy by piping the frosting and adding cute little sugar carrots for decoration. You don’t have to do either of these things. Simply spread the frosting on top of the cake as you like.


Make Ahead Carrot Cake


For convenience, you can make the cake a day or so ahead. Make the cake, cool it, and wrap it well. Store it at room temperature for up to 2 days. Make the frosting and refrigerate it until you’re ready to use. Allow it to come to room temperature before using.

Pretty piped cream cheese frosting on top of carrot cake with a decorative sugar carrot


Slicing Carrot Cake Squares


This cake serves 12. That is individual squares that are 3 x 3-Inch (7.5 x 7.5 cm). You can slice the cake to serve your purpose and make it feed more people by cutting smaller squares.

Decorative Mini Carrots

You can purchase these from either Amazon or Etsy.

An overhead showing the decorative piping of the frosting


Storing Carrot Cake


Carrot cake stays moist longer than most cakes. Store it in an airtight container in the fridge for up to five days.


More Easter Dessert Ideas


Now that we’ve covered some delicious carrot cake options, why not keep the Easter dessert vibe going?


If you’ve made these Carrot Cake Squares or any other recipe, leave a star rating in the recipe card. You can also leave a comment or question below.

Yield: 12

Carrot Cake Squares

A square of carrot cake topped with cream cheese frosting and a decorative carrot

Moist carrot cake with nutty walnuts, topped with a delicious cream cheese frosting and cut into individual servings.

Prep Time 10 minutes
Cook Time 45 minutes
Total Time 55 minutes

Ingredients

  • For the cake:
  • 2 cups (260 grams) all-purpose/plain flour
  • 2 teaspoons baking powder
  • 1 teaspoon baking soda
  • 1 teaspoon ground cinnamon
  • ¼ teaspoon freshly grated nutmeg
  • ½ teaspoon salt
  • ½ cup (180 ml) vegetable or canola oil changed to 1/2 cup
  • ½ cup (150 grams) granulated/caster sugar
  • ¼ cup (50 grams) light brown sugar
  • 4 large eggs, room temperature
  • ½ cup (110 grams) plain, full fat yogurt
  • 1 ½ teaspoons good vanilla extract
  • 4 cups (400 grams) about 4 large carrots changed to 4 cups
  • 1 cup (120 grams) toasted/roasted walnut pieces
  • For the frosting: *see note
  • 1 cup/8 ounces (225 grams) cream cheese, softened
  • ½ cup (113 grams) unsalted butter, softened
  • 2 cups (225 grams) powdered/confectioners sugar
  • 1 ½ teaspoons vanilla extract

Instructions

  1. For the cake:
  2. Preheat oven to 350°F/177°C with the rack in the center.
  3. Butter a 9 x 12- inch (23 x 33 cm) glass baking dish. You can also use two, 9-inch (23 cm) round cake tins. They will bake faster so cut the baking time short by about 10 minutes.
  1. To a mixing bowl, sift the flour, baking powder, baking soda, cinnamon, nutmeg and salt.
  2. To a separate bowl whisk the oil and sugars together until smooth, then whisk in the eggs one at at time until well mixed. Whisk in the yogurt and vanilla until combined.
  3. With the whisk on low, the flour mix in small batches mix well in between additions. Scraping the sides of the bowl, as needed. Stir in the carrots and walnuts.
  4. Pour the batter into the prepared pan and bake for 45 minutes or when a toothpick is inserted in the center it comes out clean. If you are using a metal pan, baking time will be less.
  5. Cool on a cooling rack in the pan for 15 minutes, then loosen the edges with a pairing knife and turn out onto the cooling rack to cool completely.
  6. For the frosting:
  7. While the cake is cooling, add the cream cheese, butter and to a stand mixer or bowl (with hand mixer) and beat on slow to mix. Continuing beating while adding powdered sugar a little at at time until smooth and creamy, scraping the sides of the bowl as needed.
  8. Spread the frosting (or pipe) onto the cooled cake and slice into 12, 3-inch (7.5 cm) squares.

Notes

If you are making 2 round cakes, you may need more frosting.

Nutrition Information

Yield

12

Serving Size

1

Amount Per Serving Calories 519Total Fat 31gSaturated Fat 11gTrans Fat 0gUnsaturated Fat 19gCholesterol 88mgSodium 301mgCarbohydrates 54gFiber 3gSugar 34gProtein 8g

This nutrition calculation is provided by Nutronix that is only a guideline and not intended for any particular diet.