This carrot snack cake is a single-layer, tender, and warmly spiced treat that comes together in one bowl and bakes in about 30 minutes. The real star is the brown butter frosting—nutty, rich, and not overly sweet—which takes this humble snack cake to a level that feels special enough for a birthday but simple enough for an afternoon coffee break. It works because the cake is moist from shredded carrots and oil, while the frosting’s deep caramel notes balance the earthy sweetness perfectly.
Ingredients
- 1 ½ cups (190g) all-purpose flour
- 1 teaspoon baking powder
- ½ teaspoon baking soda
- 1 teaspoon ground cinnamon
- ½ teaspoon ground ginger
- ¼ teaspoon ground nutmeg
- ½ teaspoon salt
- 2 large eggs, at room temperature
- ¾ cup (150g) granulated sugar
- ½ cup (120ml) neutral oil (such as canola or sunflower)
- 1 teaspoon vanilla extract
- 1 ½ cups (150g) finely grated carrots (about 2–3 medium carrots)
- ½ cup (60g) chopped walnuts or pecans (optional)
For the brown butter frosting:
- ½ cup (113g) unsalted butter
- 2 cups (240g) powdered sugar, sifted
- 2 tablespoons milk or heavy cream
- 1 teaspoon vanilla extract
- Pinch of salt
Instructions
- Preheat your oven to 350°F (175°C). Grease an 8x8-inch square baking pan or a 9-inch round cake pan, and line the bottom with parchment paper for easy removal.
- In a medium bowl, whisk together the flour, baking powder, baking soda, cinnamon, ginger, nutmeg, and salt. Set aside.
- In a large bowl, whisk the eggs and sugar together until pale and slightly thick, about 1 minute. Add the oil and vanilla, and whisk until combined.
- Pour the dry ingredients into the wet mixture and stir with a spatula until just combined—do not overmix.
- Fold in the grated carrots and nuts (if using) until evenly distributed.
- Pour the batter into the prepared pan and smooth the top. Bake for 28–32 minutes, or until a toothpick inserted into the center comes out clean (a few moist crumbs are okay). The cake should be golden brown and spring back lightly when touched.
- Let the cake cool in the pan on a wire rack for 10 minutes, then turn it out onto the rack to cool completely. The cake must be fully cool before frosting.
- While the cake cools, make the brown butter: In a small saucepan over medium heat, melt the butter. Continue cooking, swirling occasionally, until the butter turns a deep golden brown and smells nutty, about 5–7 minutes. Watch closely—it can go from brown to burnt quickly. Remove from heat and pour into a heatproof bowl, scraping all the browned bits. Let cool until just warm (not hot) but still liquid, about 15 minutes.
- In a mixing bowl, combine the brown butter, powdered sugar, milk, vanilla, and salt. Beat with an electric mixer on low speed until combined, then increase to medium and beat for 2–3 minutes until light and fluffy. If the frosting is too thick, add a teaspoon more milk; if too thin, add a little more powdered sugar.
- Spread the frosting over the cooled cake. Slice into squares or wedges and serve.
Tips
- Grate the carrots finely: Use the small holes on a box grater or a food processor. Coarse shreds can make the cake watery and uneven.
- Don’t overmix the batter: Stir just until the flour disappears. Overmixing develops gluten, making the cake tough.
- Brown butter watch: The butter will foam and then turn golden. Once you see brown specks at the bottom, remove it from the heat immediately—it continues to cook off the heat.
- Room-temperature eggs: Cold eggs can seize the batter. If you’re short on time, place eggs in a bowl of warm water for 5 minutes before using.
Serving Suggestions
Serve this cake slightly chilled or at room temperature. It pairs beautifully with a cup of black coffee, chai, or a glass of cold milk. For a more decadent dessert, add a scoop of vanilla ice cream or a drizzle of caramel sauce. It’s also great as a brunch item—cut into small squares and serve on a platter.
Variations
- Add raisins or dried cranberries: Fold in ½ cup of dried fruit along with the carrots for extra chewiness.
- Swap the spices: Use 1 teaspoon of pumpkin pie spice instead of the individual spices.
- Make it a layer cake: Double the recipe and bake in two 9-inch rounds. Increase baking time to 35–40 minutes.
- Skip the nuts: If you prefer a nut-free cake, simply omit them—no other changes needed.
- Use cream cheese frosting: If you’re not a fan of brown butter, substitute with a classic cream cheese frosting (8 oz cream cheese, ½ cup butter, 2 cups powdered sugar, 1 tsp vanilla).
Storage and Reheating
Store the frosted cake in an airtight container in the refrigerator for up to 5 days. The cake actually tastes better the next day as the flavors meld. Let it sit at room temperature for 15–20 minutes before serving to soften the frosting. You can also freeze the unfrosted cake for up to 3 months: wrap tightly in plastic wrap and then foil. Thaw overnight in the fridge, then bring to room temperature before frosting. To reheat individual slices, microwave for 10–15 seconds—but note the frosting will melt slightly, so it’s best to reheat only unfrosted pieces.
Frequently Asked Questions
Can I use whole wheat flour instead of all-purpose?
Yes, you can substitute up to half of the all-purpose flour with whole wheat flour. The cake will be slightly denser and nuttier in flavor. For a 100% whole wheat version, add 1 tablespoon of extra milk to keep the crumb moist.
Why did my brown butter frosting turn out grainy?
This usually happens if the brown butter was too hot when you added the powdered sugar, causing the sugar to melt and clump. Let the butter cool to just warm (about 80–90°F) before mixing. Also, sift the powdered sugar to avoid lumps.
Can I make this cake gluten-free?
Yes, use a 1:1 gluten-free all-purpose flour blend that contains xanthan gum. The texture will be slightly more tender, but it works well. Bake time may be similar—check with a toothpick.
Do I need to peel the carrots?
It’s best to peel them, as the skin can be tough and bitter. Grate them fresh—pre-shredded bagged carrots are often dry and won’t give the same moisture.
Can I reduce the sugar?
You can reduce the granulated sugar to ⅔ cup (130g) without major texture changes, but the cake will be less sweet. The frosting also needs the powdered sugar for structure, so don’t reduce that.
How do I know when the brown butter is done?
You’ll see the butter foam, then subside, and then turn a golden amber color with brown specks at the bottom. It will smell nutty and rich. This takes about 5–7 minutes over medium heat. Trust your nose—if it smells burnt, it’s overdone.