Carrot Cake Traybake – A Moist, Crowd-Pleasing Classic

This website contains affiliate links. As an Amazon Associate, I earn from qualifying purchases.

Contents

Carrot cake has a way of feeling both cozy and a little special, and this traybake version makes it incredibly practical. It’s tender, gently spiced, and topped with a tangy cream cheese frosting that keeps every bite balanced. The best part?

You bake it in one pan, slice it into neat squares, and you’re ready to serve a crowd. No fussing with layers or fancy tools. Just a simple bake that tastes like home.

Why This Recipe Works

This carrot cake traybake leans on a few smart techniques to ensure great texture and flavor every time.

  • Oil instead of butter: Using neutral oil keeps the cake moist for days and makes mixing simple—no creaming required.
  • Brown sugar for depth: It adds a light molasses note and extra moisture, making the crumb softer.
  • Finely grated carrots: Small shreds melt into the batter, delivering sweetness and structure without stringy bits.
  • Balanced spices: Cinnamon and a hint of nutmeg or ginger bring warmth without overwhelming the carrot flavor.
  • Traybake format: Even baking, easy slicing, and a generous frosting-to-cake ratio.

Recipe Card

Carrot Cake Traybake

Cook Time 37 minutes

Ingredients
  

For the Cake

  • 2 cups (250 g) all-purpose flour
  • 1 1/2 tsp baking powder
  • 1 tsp baking soda
  • 1 1/2 tsp ground cinnamon
  • 1/4 tsp ground nutmeg or ginger (optional)
  • 1/2 tsp fine salt
  • 1 cup (200 g) granulated sugar
  • 1/2 cup (100 g) light brown sugar, packed
  • 3 large eggs, room temperature
  • 3/4 cup (180 ml) neutral oil (vegetable, canola, or light olive)
  • 1/2 cup (120 ml) plain yogurt or buttermilk
  • 2 tsp vanilla extract
  • 2 1/2 cups (about 275–300 g) finely grated carrots, lightly packed
  • 1/2 cup (60 g) chopped walnuts or pecans (optional)
  • 1/2 cup (80 g) raisins or golden sultanas (optional)
  • Zest of 1 orange (optional but lovely)

For the Cream Cheese Frosting

  • 8 oz (225 g) cream cheese, cold but pliable
  • 1/2 cup (115 g) unsalted butter, softened
  • 2 1/2–3 cups (300–360 g) powdered sugar, sifted
  • 1 tsp vanilla extract
  • Pinch of salt
  • 1–2 tbsp fresh orange juice or milk (as needed for consistency)

Instructions
 

  • Prep the pan and oven: Heat the oven to 350°F (175°C). Line a 9×13-inch (23×33 cm) baking pan with parchment, leaving overhang for easy lifting. Lightly grease the sides.
  • Mix the dry ingredients: In a large bowl, whisk flour, baking powder, baking soda, cinnamon, nutmeg or ginger (if using), and salt until evenly combined.
  • Whisk the wet ingredients: In another bowl, whisk granulated sugar, brown sugar, and eggs until smooth and slightly thickened, about 30–45 seconds. Add oil, yogurt or buttermilk, and vanilla. Whisk until fully combined.
  • Combine: Pour the wet mixture into the dry. Fold gently with a spatula until just a few streaks of flour remain.
  • Add the carrots and extras: Fold in the grated carrots, nuts, raisins, and orange zest, if using. Mix until evenly distributed and no dry spots remain. Do not overmix.
  • Bake: Spread the batter in the prepared pan and smooth the top. Bake for 28–35 minutes, or until a toothpick inserted in the center comes out clean or with a few moist crumbs.
  • Cool completely: Place the pan on a rack and let the cake cool fully in the pan. This sets the crumb and prevents the frosting from melting.
  • Make the frosting: Beat the cream cheese and butter together until smooth and creamy, 1–2 minutes. Add vanilla and salt. Gradually mix in powdered sugar, scraping the bowl as needed. Add orange juice or milk, a teaspoon at a time, until you reach a soft, spreadable consistency.
  • Frost: Spread the frosting over the cooled cake. If you like, sprinkle with chopped nuts or a dusting of cinnamon.
  • Slice and serve: Lift the cake out using the parchment overhang and cut into squares. For tidy slices, chill the frosted cake for 20–30 minutes first.

Keeping It Fresh

  • Short-term storage: Because of the cream cheese frosting, cover and refrigerate the traybake. It stays moist for 4–5 days.

    Bring to room temperature before serving for the best texture.

  • Freezing: Freeze unfrosted cake squares well wrapped for up to 3 months. Thaw at room temperature and frost fresh. You can also freeze fully frosted slices; freeze on a tray first, then wrap to prevent smearing.
  • Prevent dryness: Keep the cake covered.

    Exposure to air is the fastest route to a dry crumb.

Health Benefits

  • Carrots bring nutrients: They provide beta-carotene (vitamin A), fiber, and antioxidants.
  • Walnuts or pecans add healthy fats: If you include nuts, you’ll get some omega-3s and a bit of protein.
  • Less refined sweetness: Brown sugar adds flavor, so you can keep total sugar moderate while still getting a satisfying taste.
  • Portion control is simple: The traybake format makes it easy to cut smaller squares for a lighter treat.

Common Mistakes to Avoid

  • Overmixing the batter: This develops gluten and leads to a tough, dense cake. Fold gently until just combined.
  • Using coarsely grated carrots: Large shreds can create wet pockets. Finely grate for even moisture and a tender crumb.
  • Frosting a warm cake: The frosting will melt and slide.

    Always cool completely.

  • Skipping salt in the frosting: A pinch balances sweetness and brightens the tang of cream cheese.
  • Overbaking: Check early. Pull the cake when the center springs back lightly and the tester shows just a few moist crumbs.

Variations You Can Try

  • Pineapple twist: Fold in 1/2 cup well-drained, crushed pineapple for extra moisture and a tropical note. Reduce yogurt by 2 tablespoons to balance.
  • Coconut carrot: Add 1/2 cup unsweetened shredded coconut and a touch of coconut extract to the frosting.
  • Maple cream cheese frosting: Swap 2–3 tablespoons of powdered sugar for pure maple syrup.

    Add slowly and adjust thickness.

  • Gluten-free: Use a 1:1 gluten-free all-purpose blend with xanthan gum. Let the batter rest 5–10 minutes before baking to hydrate.
  • No-nut version: Skip nuts and add extra raisins or a handful of chopped dates for chew.
  • Spice-forward: Add 1/4 tsp each of cardamom and allspice for a warmer profile.

FAQ

Can I make this ahead?

Yes. Bake the cake a day in advance, cool completely, and wrap tightly.

Frost the day you plan to serve. You can also fully assemble it and refrigerate overnight; just let it sit out for 20–30 minutes before slicing.

Do I have to use yogurt or buttermilk?

They help with tenderness and a gentle tang. If you don’t have either, use milk plus 1 teaspoon vinegar or lemon juice, or substitute sour cream thinned with a splash of milk.

What’s the best oil for this cake?

Use a neutral oil like vegetable or canola.

Light olive oil also works and won’t overpower the flavor.

How do I prevent raisins from sinking?

Toss raisins with a teaspoon of flour before folding into the batter. A thicker batter and fine carrot shreds also help keep add-ins suspended.

Can I bake this as cupcakes?

Yes. Line a 12-cup muffin tin and fill each about 3/4 full.

Bake at the same temperature for 18–22 minutes, or until a tester comes out clean.

How do I know when the cake is done?

The edges should look set and lightly pull from the sides, the top should spring back when touched, and a toothpick should come out clean or with moist crumbs—no wet batter.

Is the frosting too sweet?

You control it. Start with less powdered sugar, taste, and add more to reach your preferred sweetness. A pinch of salt and a splash of orange juice keep it balanced.

Can I halve the recipe?

Yes.

Bake in an 8-inch square pan and start checking at 22–25 minutes. You’ll likely have leftover frosting; freeze or refrigerate it for later.

Wrapping Up

This carrot cake traybake gives you everything you love about the classic—moist crumb, warm spice, and creamy frosting—without the hassle. It’s practical for birthdays, office treats, or a simple weekend bake that lasts all week.

Keep the ingredients simple, avoid overmixing, and let the frosting shine. Slice, share, and watch it disappear.

This website contains affiliate links. As an Amazon Associate, I earn from qualifying purchases.

Please leave a comment! I love to hear from my readers.

Your comment will not show up straight away – so please be patient! I need to manually approve it (to avoid spam bots). 

Refresh the page to see new comments.

Recipe Rating




Join The Mailing List and Get My 10 Go-To Easy Dessert Recipes

Perfect for busy days, cosy weekends, and everything in between.

No spam. Just simple, feel-good recipes. Unsubscribe anytime.

Join The Mailing List and Get My 10 Go-To Easy Dessert Recipes

Perfect for busy days, cosy weekends, and everything in between.

No spam. Just simple, feel-good recipes. Unsubscribe anytime.