Carrot cake has long held a special place in my heart, with its tender crumb and delightful hint of spice. When I set out to make my Carrot Cake Squares, I was aiming for something that captures the lusciousness of traditional carrot cake while being a bit easier and quicker to serve. These squares boast a soft texture, a rich cream cheese frosting, and just the right amount of crunch from toasted walnuts. Each bite evokes memories of cozy gatherings and celebrations, making them the perfect sweet ending to any meal.

This recipe strikes an ideal balance between sweet and spiced, showcasing the flavor of fresh carrots complemented by warm cinnamon and nutmeg. With just a few ingredients and simple steps, you can create an impressive dessert that’s sure to please. Whether you’re serving it at a birthday party, holiday gathering, or just for a quiet afternoon treat, these Carrot Cake Squares are here to steal the show. I can’t wait for you to give them a try!
Why You’ll Love This Recipe
- Simple & Quick: Whip these up in just an hour, with only 10 minutes of prep.
- Irresistible Flavor: The warm spices and sweet carrots create a delightfully moist treat.
- Eye-Catching Appeal: These squares are beautifully frosted and make for a stunning dessert centerpiece.
- Flexible Serving: Perfect for any occasion, whether served as dessert, a snack, or even breakfast!
- Diet-Friendly Options: Easily adapt to gluten-free by substituting the flour.
Ingredients You’ll Need
- 2 cups all-purpose flour: This is the base for our squares, providing structure. You can use whole wheat flour for a wholesome twist.
- 2 teaspoons baking powder: Helps the cake rise, creating the perfect soft texture.
- 1 teaspoon baking soda: Works with the acids in the yogurt to add lift.
- 1 teaspoon ground cinnamon: Adds warmth and depth; ensure it’s fresh for best flavor.
- ¼ teaspoon freshly grated nutmeg: A little goes a long way in enhancing the spice profile. Pre-ground nutmeg is fine, but fresh nutmeg has a richer flavor.
- ½ teaspoon salt: Balances the sweetness of the cake.
- ½ cup vegetable or canola oil: Keeps the squares moist and tender. You could substitute with melted coconut oil if desired.
- ½ cup granulated sugar: Adds sweetness and helps create a slight crispness on the edges.
- ¼ cup light brown sugar: For a hint of caramel flavor and added moisture.
- 4 large eggs, room temperature: Provides structure and richness. Room-temperature eggs incorporate better.
- ½ cup plain, full-fat yogurt: Adds moisture and contributes to the cake’s softness. Greek yogurt works well, too!
- 1 ½ teaspoons pure vanilla extract: Enhances all the flavors in the cake.
- 4 cups about 4 large carrots, grated: Fresh, vibrant carrots are key to this recipe; they bring natural sweetness and moisture.
- 1 cup toasted walnut pieces: Adds crunch and depth of flavor. You can replace them with pecans or omit them for a nut-free version.
- 1 cup cream cheese, softened: The base for our creamy frosting. Make sure it’s at room temperature for smooth mixing.
- ½ cup unsalted butter, softened: Creates a creamy consistency for the frosting. Soften it by letting it sit at room temperature for about 30 minutes.
- 2 cups powdered sugar: Sweetens the frosting and gives it that delightful texture.
- 1 ½ teaspoons vanilla extract: A must for added richness in the frosting.
How to Make Carrot Cake Squares
- Preheat your oven: Set it to 350°F (177°C) and prepare your baking dish. Use a 9 x 12-inch glass dish, or two 9-inch round cake pans if you prefer! Note that round pans will cook faster, so keep an eye on them.
- Sift the dry ingredients: In a mixing bowl, sift together 2 cups all-purpose flour, 2 teaspoons baking powder, 1 teaspoon baking soda, 1 teaspoon ground cinnamon, ¼ teaspoon nutmeg, and ½ teaspoon salt. This ensures even distribution and removes any lumps.
- Mix wet ingredients: In another bowl, whisk together ½ cup vegetable oil and ½ cup granulated sugar along with ¼ cup light brown sugar until smooth. Gradually whisk in 4 large eggs, one at a time, until well blended. Then stir in ½ cup yogurt and 1 ½ teaspoons vanilla extract.
- Combine wet and dry: Slowly incorporate the flour mixture into the wet ingredients, whisking gently. Be careful not to overmix; stop when no dry flour bits remain. Stir in the 4 cups of grated carrots and 1 cup of toasted walnuts until evenly distributed.
- Pour and bake: Transfer the batter to the prepared dish, smoothing the top. Bake for about 45 minutes. When finished, a toothpick should come out clean from the center. If using a metal pan, check around the 35-minute mark.
- Cool: Allow the cake to cool in the pan for 15 minutes before loosening the edges with a paring knife. Then carefully turn it out onto a cooling rack to cool completely.
- Make the frosting: In a stand mixer, beat together 1 cup softened cream cheese and ½ cup softened unsalted butter on low until mixed. Gradually add 2 cups powdered sugar, mixing until creamy. Add in 1 ½ teaspoons vanilla extract and mix until smooth.
- Frost and serve: Once the cake is completely cool, spread or pipe the cream cheese frosting over the top. Slice into 12 squares, each about 3 inches.
Storing & Reheating
To store your Carrot Cake Squares, keep them covered at room temperature for up to 2 days. If you’d like to extend their freshness, transfer them to an airtight container and refrigerate for up to a week. They also freeze beautifully for up to 3 months; just wrap them tightly in plastic wrap and foil. To enjoy, thaw the squares overnight in the fridge and let them come to room temperature before serving. Just a quick note: the cake might lose a bit of moisture after freezing, but a pop in the microwave for 10-15 seconds will freshen it up nicely!
Chef’s Helpful Tips
- To avoid a dry cake, measure your flour correctly. Fluff it up, spoon it into your measuring cup, and level it off with a knife.
- Make sure all your ingredients are at room temperature—especially the eggs and butter. This helps the batter combine more easily and creates a lighter texture.
- If you’re short on time, shredding the carrots in a food processor speeds up the preparation.
- Feel free to customize! Try adding raisins or swapping walnuts for pecans if you prefer; the flavors will still shine.
- For that extra touch of flavor, consider adding a pinch of ginger or some citrus zest to the batter.
The flavor combination of spiced carrots with creamy frosting makes these squares truly irresistible. I encourage you to play around with different nuts, add-ins, or even spices to find your perfect mix. Baking is all about creativity, after all, and these Carrot Cake Squares are a canvas waiting for your unique touch. Enjoy every bite!

Recipe FAQs
Can I make these carrot cake squares gluten-free?
Absolutely! You can substitute the all-purpose flour with a gluten-free flour blend. Make sure the blend includes xanthan gum for the best texture. Most brands will work wonderfully without any other adjustments.
How can I make the frosting dairy-free?
To prepare a dairy-free version of the frosting, swap the cream cheese and butter for alternatives. Vegan cream cheese works well, and you can use coconut oil or vegan butter for the base. Just be mindful that the consistency may differ slightly.
How do I prevent my cake from sticking to the pan?
To ensure easy removal, generously butter your baking dish and consider lining the bottom with parchment paper. This little step goes a long way in preventing sticking and helps maintain the lovely edges of your Carrot Cake Squares.
What can I substitute for yogurt in this recipe?
If you don’t have plain yogurt on hand, you can use applesauce or sour cream as alternatives. Both provide moisture and a bit of tanginess that will still deliver that deliciously soft texture you’re aiming for.
Print
Carrot Cake Squares
Carrot Cake Squares bring a delightful blend of flavors with fresh carrots and walnuts, all in an easy-to-make treat. Perfect for any occasion!
- Total Time: 1 hour 5 minutes
- Yield: 12 servings 1x
Ingredients
- 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) about 4 large carrots
- 1 cup (120 grams) toasted/roasted walnut pieces
- 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
- Preheat the 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 or use two 9-inch (23 cm) round cake tins, adjusting baking time.
- In a mixing bowl, sift together the flour, baking powder, baking soda, cinnamon, nutmeg, and salt.
- In a separate bowl, whisk the oil and sugars until smooth, then add the eggs one at a time, mixing well.
- Incorporate the yogurt and vanilla until combined.
- Gradually add the flour mixture in small batches, mixing well and scraping the bowl sides as needed. Stir in the carrots and walnuts.
- Pour the batter into the prepared pan and bake for 45 minutes or until a toothpick comes out clean.
- Cool in the pan for 15 minutes, loosen edges, and transfer to a cooling rack to cool completely.
Last Step:
Please leave a rating and comment letting us know how you liked this recipe! This helps our business to thrive and continue providing free, high-quality recipes for you.Notes
For quicker baking, use round cake tins instead of a rectangular pan.
Make sure the eggs are at room temperature for better mixing.
You can substitute walnuts with pecans or omit them for a nut-free version.
- Prep Time: 10 minutes
- Cook Time: 55 minutes
- Category: Dessert
- Method: Baking
- Cuisine: American
Nutrition
- Serving Size: 1 square
- Calories: 210
- Sugar: 16g
- Sodium: 180mg
- Fat: 10g
- Saturated Fat: 2g
- Unsaturated Fat: 8g
- Trans Fat: 0g
- Carbohydrates: 30g
- Fiber: 1g
- Protein: 3g
- Cholesterol: 50mg






