This rectangle chocolate strawberry cake recipe layers a cocoa-rich sheet base with a baked-in berry swirl, then crowns it with smooth chocolate frosting and a strawberry glaze drizzle for maximum flavor contrast and visual impact. I’ve built this cake around the tension between deep cocoa and bright strawberry—two flavors that seem opposite but actually amplify each other when balanced right. The swirl technique bakes the fruit directly into the crumb, so every slice delivers both textures at once. You get a sturdy, transportable sheet cake that looks restaurant-polished but comes together in one bowl and one pan.
Why You’ll Love This
- Ready in under 2 hours from start to finish, with minimal active time
- One-bowl cake base means fewer dishes and faster cleanup
- Swirl bakes into the cake—no piping skills required
- Holds its structure for 2–3 days, perfect for meal prep or event baking
- Scales easily from 9×13″ to half-sheet pan without formula changes
- Strawberry glaze adds shine and tang that cuts through rich chocolate
Ingredient Breakdown
Cocoa Cake Base
- 1¾ cups all-purpose flour
- ¾ cup unsweetened cocoa powder
- 1½ teaspoons baking soda
- ½ teaspoon salt
- 1 teaspoon espresso powder
- ½ cup (1 stick) unsalted butter, softened
- 1 cup granulated sugar
- 2 large eggs, room temperature
- 1 teaspoon vanilla extract
- ½ cup sour cream
- ½ cup hot water or brewed coffee
Strawberry Swirl
- ¾ cup fresh strawberries, finely diced
- 2 tablespoons granulated sugar
- 1 tablespoon fresh lemon juice
Chocolate Frosting
- ½ cup (1 stick) unsalted butter, softened
- ⅔ cup unsweetened cocoa powder
- 3 cups confectioners’ sugar
- ¼ cup heavy cream
- 1 teaspoon vanilla extract
- Pinch of salt
Strawberry Glaze & Finish
- ½ cup fresh strawberries, puréed
- 1 cup confectioners’ sugar
- 1 tablespoon fresh lemon juice
- Fresh strawberries for garnish (optional)
The espresso powder deepens cocoa without adding coffee flavor—it’s a secret move I use in every chocolate cake. Fresh strawberries work best for the swirl; frozen will release too much liquid and blur the batter.
Whirl Hook
The core twist here is baking the strawberry swirl directly into wet batter instead of marbling it after. This keeps the fruit’s flavor concentrated and prevents the acidity from toughening the crumb. Combined with espresso-spiked cocoa and a bright strawberry glaze finish, you get three distinct layers of chocolate-berry contrast—deep, fruity, and sharp all at once.
Flavor Spin
Cocoa and strawberry are bold partners, but they need a mediator. That’s where espresso powder comes in—it amplifies chocolate depth without adding coffee taste, which lets the strawberry brightness cut through without tasting acidic or thin. The sour cream in the batter adds tang that echoes the fruit, so the whole cake reads as intentional, not accidental.
Whirl Factor: Texture & Flavor Contrast
Texture: Tender, moist crumb (from sour cream and hot water) meets crisp frosting edges and glossy glaze drip.
Flavor: Deep, slightly bitter cocoa base plays against bright, tart strawberry swirl and smooth frosting, finished with a sharp glaze that cuts through richness.
Step-by-Step Instructions
- Preheat your oven to 350°F. Grease and line a 9×13″ baking pan with parchment paper, leaving a 1-inch overhang on two sides for easy removal.
- Whisk together flour, cocoa powder, baking soda, salt, and espresso powder in a medium bowl. Set aside.
- In a large bowl, cream softened butter and granulated sugar together for 2–3 minutes until light and fluffy, scraping the bowl halfway through.
- Add eggs one at a time, beating well after each addition. Stir in vanilla extract.
- Alternate adding the dry mixture and sour cream to the butter mixture in three additions, starting and ending with dry ingredients. Mix until just combined after each addition—do not overmix.
- Stir in hot water or brewed coffee until the batter is smooth and pourable. The batter will be thin; this is correct.
- Toss fresh strawberries with 2 tablespoons granulated sugar and 1 tablespoon lemon juice in a small bowl. Let sit for 2 minutes to release light juices.
- Pour half the batter into the prepared pan and spread level. Scatter the strawberry mixture evenly over the batter, then pour the remaining batter over top and spread gently to cover the fruit without stirring.
- Bake for 28–32 minutes, until a toothpick inserted in the center comes out with a few moist crumbs attached. The cake should pull slightly from the pan edges and the top should spring back when lightly touched.
- Cool in the pan for 15–20 minutes, then turn out onto a wire rack and cool completely, about 1 hour, before frosting.
- While the cake cools, prepare the chocolate frosting. Cream softened butter in a large bowl for 1 minute. Sift cocoa powder and confectioners’ sugar together, then add to the butter in two additions, alternating with heavy cream.
- Beat on medium speed for 2–3 minutes until fluffy and spreadable. Add vanilla extract and salt, then beat once more. Frosting should be thick but pipeable.
- Transfer the cooled cake to a serving platter or board. Spread frosting evenly over the top and sides using an offset spatula or the back of a spoon.
- Whisk together puréed strawberries, confectioners’ sugar, and lemon juice until smooth. Drizzle the glaze over the frosted cake in thin lines or a loose pattern.
- Garnish with fresh strawberries if desired. Let the glaze set for 10–15 minutes before slicing.
Visual Cooking Timeline
- 0:00 — Preheat oven to 350°F, prepare pan, gather all ingredients
- 0:08 — Whisk dry ingredients together, set aside
- 0:12 — Cream butter and sugar until fluffy
- 0:18 — Add eggs and vanilla, then alternate dry and sour cream into batter
- 0:22 — Stir in hot water, toss strawberries with sugar and lemon juice
- 0:25 — Pour half batter into pan, add strawberry swirl, top with remaining batter
- 0:28 — Bake 28–32 minutes until toothpick test passes
- 0:50 — Cool in pan 15–20 minutes, turn out onto rack
- 1:50 — Cake fully cooled, prepare frosting and glaze
- 2:05 — Frost cake, drizzle glaze, set 10–15 minutes before slicing
Spin Options: Flavor Variations
Raspberry Swirl Version
Swap fresh strawberries for fresh raspberries (¾ cup, left whole). Raspberries are more delicate, so handle them gently when scattering. The flavor will be slightly deeper and more floral. Glaze stays the same or use raspberry purée instead.
White Chocolate Frosting Remix
Replace the chocolate frosting with a white chocolate version: cream 4 oz white chocolate (melted and cooled slightly) with ½ cup softened butter, then beat in 2 cups confectioners’ sugar and 2 tablespoons heavy cream. This lightens the richness and lets the strawberry pop more. The contrast shifts from deep-to-bright to creamy-to-bright.
Dark Chocolate Ganache Top
Skip the frosting and instead pour a dark chocolate ganache (6 oz chopped dark chocolate mixed with ½ cup heavy cream, warmed and stirred until smooth) over the cooled cake. Let it drip down the sides naturally, then add the strawberry glaze drizzle on top. This version is more elegant and less sweet.
Whirl Finish: Serving & Storage
Serving
Slice with a hot, dry knife (wipe between cuts) for clean edges. The cake is sturdy enough to serve at room temperature or slightly chilled. A dollop of whipped cream or crème fraîche on the side brightens each slice.
Storage
Keep the frosted cake covered at room temperature for up to 2 days, or refrigerate in an airtight container for up to 4 days. The cake actually improves slightly on day two as flavors meld. Unfrosted cake layers wrap well and freeze for up to 3 months; thaw at room temperature before frosting.
Transport Tips
This cake is sturdy enough to travel. Use a cake box or a sheet pan covered tightly with plastic wrap. If you’re frosting before transport, refrigerate the cake for 30 minutes first so the frosting sets slightly. The glaze will stay put even if the cake shifts a little.
Quick Tips
- Don’t skip the espresso powder—it’s not a coffee flavor, it’s a cocoa amplifier that makes strawberry brightness pop.
- Use room-temperature eggs and sour cream so the batter emulsifies smoothly and rises evenly.
- If your strawberries are very large, dice them smaller so they distribute evenly and don’t sink.
- The batter will be thin after you add the hot water—that’s correct and essential for a moist crumb.
- Frosting too soft? Chill it for 10 minutes before spreading. Too stiff? Add cream one teaspoon at a time.
- For a half-sheet pan (18×13″), double all ingredients and bake 32–36 minutes; the cake will be shallower but just as tender.
Substitution Ideas
Butter → Oil: Replace butter with neutral oil (vegetable or canola) at a 3:4 ratio by weight. The cake will be slightly more tender but less rich. Use oil in the frosting too for consistency, though it won’t whip as fluffy.
Sour cream → Greek yogurt: Use plain, full-fat Greek yogurt in equal measure. The tang will be slightly more pronounced, which actually complements the strawberry. Texture will be similarly moist.
Fresh strawberries → Freeze-dried: Use ½ cup freeze-dried strawberries, crushed into uneven pieces. Scatter them the same way. They won’t release liquid, so the batter stays thicker, but you lose the fresh fruit’s brightness—use the fresh strawberry glaze to compensate.
All-purpose flour → Cake flour: Use 1⅞ cups cake flour (it’s lower protein). The crumb will be more delicate and tender, but the cake may sink slightly in the center. Add ½ teaspoon baking powder to compensate.
Cocoa powder → Dutch-process cocoa: Dutch cocoa is darker and slightly more bitter. Use the same amount but reduce espresso powder to ½ teaspoon. The flavor will shift deeper and less fruity.
Make-Ahead Options
Day Before: Bake the cake layers unfrosted, wrap individually in plastic wrap, and store at room temperature. Prepare the frosting and glaze in separate containers, cover, and refrigerate. On serving day, assemble and frost 1–2 hours before serving so the glaze has time to set.
2 Hours Before: Bake and cool the cake completely, frost it, but hold off on the glaze drizzle until 30 minutes before serving so it stays glossy and defined.
Morning Of: Prepare the strawberry swirl mixture (diced berries tossed with sugar and lemon juice) and store in a sealed container in the fridge. Mix dry ingredients in a bowl. When you’re ready to bake, cream the butter and sugar, then proceed. This cuts active baking time to 45 minutes.
What NOT to make ahead: Don’t swirl the strawberries into the batter more than 30 minutes before baking—they’ll bleed too much liquid and the batter will separate. Also, don’t frost the cake more than 4 hours before serving if your kitchen is warm; the frosting can soften and slide.
FAQ
Can I use frozen strawberries instead of fresh?
Thaw them completely and drain excess liquid, then pat dry. They’ll release more water than fresh berries, which can thin the batter slightly. Add them to the dry ingredients before mixing to help absorb moisture, or use freeze-dried berries instead for better texture control.
Why is my cake sinking in the middle?
The most common cause is opening the oven door too early or underbaking. Bake the full 28–32 minutes and don’t check until at least 25 minutes have passed. If your oven runs cool, invest in an oven thermometer. Also, make sure your baking soda is fresh—old leavening won’t give enough rise.
Can I make this in a round cake pan instead?
Yes. Use two 8-inch or 9-inch round pans. Divide the batter evenly between them and bake 22–26 minutes (thinner layers bake faster). Stack and frost between layers and on top. The cake will look more traditional but is equally delicious.
What if I don’t have sour cream?
Mix ½ cup plain yogurt with 1 tablespoon lemon juice or vinegar and let it sit for 5 minutes to thicken slightly. Use this as a direct substitute. Alternatively, use buttermilk in the same amount—the cake will be slightly less rich but still moist.
How do I prevent the strawberry swirl from sinking to the bottom?
Make sure the strawberries are finely diced and well-drained so they’re not too heavy. Toss them with sugar and lemon juice just before adding to the batter—the sugar will help them stay suspended. Also, don’t overmix the batter after adding the fruit; gentle folding keeps them distributed.
Can I add chocolate chips or other mix-ins?
Yes. Fold in ½ cup mini chocolate chips or white chocolate chips after the last addition of dry ingredients. They won’t sink if you keep the batter slightly stiff. Avoid adding more than ½ cup total, or the cake becomes heavy.
How should I slice this for clean edges?
Use a long serrated knife dipped in hot water, then wipe dry between each cut. Chill the cake for 30 minutes before slicing if the frosting is soft. A bench scraper or offset spatula helps guide the knife straight down.

Chocolate–Strawberry Rectangle Sheet Cake With Swirl
Ingredients
Method
- Preheat your oven to 350°F. Grease and line a 9×13" baking pan with parchment paper, leaving a 1-inch overhang on two sides for easy removal.
- Whisk together flour, cocoa powder, baking soda, salt, and espresso powder in a medium bowl. Set aside.
- In a large bowl, cream softened butter and granulated sugar together for 2–3 minutes until light and fluffy, scraping the bowl halfway through.
- Add eggs one at a time, beating well after each addition. Stir in vanilla extract.
- Alternate adding the dry mixture and sour cream to the butter mixture in three additions, starting and ending with dry ingredients. Mix until just combined after each addition—do not overmix.
- Stir in hot water or brewed coffee until the batter is smooth and pourable. The batter will be thin; this is correct.
- Toss fresh strawberries with 2 tablespoons granulated sugar and 1 tablespoon lemon juice in a small bowl. Let sit for 2 minutes to release light juices.
- Pour half the batter into the prepared pan and spread level. Scatter the strawberry mixture evenly over the batter, then pour the remaining batter over top and spread gently to cover the fruit without stirring.
- Bake for 28–32 minutes, until a toothpick inserted in the center comes out with a few moist crumbs attached. The cake should pull slightly from the pan edges and the top should spring back when lightly touched.
- Cool in the pan for 15–20 minutes, then turn out onto a wire rack and cool completely, about 1 hour, before frosting.
- While the cake cools, prepare the chocolate frosting. Cream softened butter in a large bowl for 1 minute. Sift cocoa powder and confectioners' sugar together, then add to the butter in two additions, alternating with heavy cream.
- Beat on medium speed for 2–3 minutes until fluffy and spreadable. Add vanilla extract and salt, then beat once more. Frosting should be thick but pipeable.
- Transfer the cooled cake to a serving platter or board. Spread frosting evenly over the top and sides using an offset spatula or the back of a spoon.
- Whisk together puréed strawberries, confectioners' sugar, and lemon juice until smooth. Drizzle the glaze over the frosted cake in thin lines or a loose pattern.
- Garnish with fresh strawberries if desired. Let the glaze set for 10–15 minutes before slicing.