My easy Carrot Cake Squares bring none of the fuss of a classic layer cake. You get all that same spiced, nostalgic flavor and cream cheese frosting in every bite. Since they bake up in a single pan, they’re incredibly easy to slice and share – making them the perfect “grab-and-go” treat for a spring brunch or an after dinner treat.

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 a carrot slab cake or carrot sheet cake All I know is, if you’re feeding a crowd, this is the ultimate riff on a classic carrot cake. I’ve been sharing this reader-favorite recipe since 2016, and I’ve recently updated it with fresh photos and a new video to make it even easier to follow!


While spring is officially carrot season, Easter and carrot cake go hand-in-hand like nothing else. However, because fresh carrots are available year-round, this versatile carrot cake recipe isn’t just for the springtime. It’s a fantastic, spiced alternative to pumpkin pie for Thanksgiving, and its rich, festive flavor makes it a crowd-favorite for Christmas dinner, too.

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


Can I make this carrot cake without nuts?


If you have an allergy or simply aren’t a fan of nuts in carrot cake, you can easily leave them out! This recipe is perfectly moist and flavorful without them. However, if you want that classic crunch but dislike walnuts, I highly recommend using toasted pecans as a delicious alternative.

3 carrot cake slices on a white oblong plate


Using light or dark brown sugar



You may notice some carrot cakes are darker in color than others. This is usually due to the choice of light or dark brown sugar. I personally prefer light brown sugar for this recipe; it gives this cake a gorgeous golden hue that allows the vibrant grated carrots to really stand out (as you can see in the photos below!).

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


Tips for the making 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 a thick layer of cream cheese frosting. In typical fashion, I like to get a little fancy by piping the frosting and adding cute sugar carrots for decoration. However, you don’t have to be a pro to make this look great! You can simply spread the frosting over the cake using an offset spatula or a butter knife for a rustic, homemade look.


Make ahead carrot cake



For convenience, you can easily make this carrot cake a day or two in advance. Once the cake is baked and completely cooled, wrap it tightly in plastic wrap and store it at room temperature for up to 2 days. You can also prepare the cream cheese frosting ahead of time; just keep it in the refrigerator until you’re ready to decorate. Be sure to let the frosting come to room temperature and give it a quick stir before spreading to ensure it’s perfectly creamy.

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


Slicing Carrot Cake Squares



This recipe serves 12 generous 3 x 3-inch (7.5 x 7.5 cm) squares. However, one of the best things about a slab cake is how easily you can customize the portions. If you’re feeding a larger crowd at a brunch or party, you can easily slice the cake into smaller 2-inch (5 x 5 cm) squares to serve up to 24 people. For the cleanest cuts, I recommend wiping your knife with a warm, damp cloth between every slice!

Decorative Mini Carrots


To get that professional bakery look, I love topping these squares with decorative sugar carrots. They add the perfect festive touch for Easter! You can easily find these online through Amazon or Etsy, or even at your local craft store in the baking aisle.

An overhead showing the decorative piping of the frosting


Storing leftovers



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


More Easter Dessert Ideas



Now that you’ve mastered these carrot cake squares, why not keep the festive spirit going? Here are a few more of my favorite Easter dessert ideas to brighten up your spring table:

A square of carrot cake topped with cream cheese frosting and a decorative carrot
5 from 16 reviews

Carrot Cake Squares

The best easy carrot cake squares made with a moist, spiced sponge and crunchy walnuts. Topped with a thick layer of homemade cream cheese frosting, these slab-style bars are the perfect shareable dessert for Easter or any spring gathering.

Video

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
  • ½ 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) 4 large carrots
  • 1 cup (120 grams) toasted/roasted walnut pieces

For the frosting (If you are making 2 round cakes, you may need more frosting):

  • 1 cup (8 ounces/225 grams) cream cheese, softened
  • ½ cup (113 grams) unsalted butter, softened
  • 2 cup (225 grams) powdered/confectioners sugar
  • 1 ½ teaspoons vanilla extract

Instructions
 

Make the cake:

  • Preheat oven to 350°F/177°C with the rack in the center.
  • 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.
  • To a mixing bowl, sift the flour, baking powder, baking soda, cinnamon, nutmeg and salt.
  • 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.
  • 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.
  • 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.
  • 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.

Make the frosting:

  • 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.
  • Spread the frosting (or pipe) onto the cooled cake and slice into 12, 3-inch (7.5 cm) squares.

Notes

 
 
Serving: 1, Calories: 519kcal, Carbohydrates: 54g, Protein: 8g, Fat: 31g, Saturated Fat: 11g, Polyunsaturated Fat: 19g, Cholesterol: 88mg, Sodium: 301mg, Fiber: 3g, Sugar: 34g
Did you make this recipe?Please let us know by leaving a star rating and review!