
A 4-inch cake recipe like this one delivers perfectly portioned dessert for intimate gatherings or solo indulgence—no leftovers, just satisfaction. The secret lies in balancing vanilla bean and chocolate swirls for a harmonious bite, where tender crumb meets rich swirls in every slice.
I’ve baked this exact size for years, and it’s become my go-to for dinner parties or special occasions when presentation matters as much as flavor.
This recipe uses a 4-inch round pan, yielding a single-layer cake that serves 6–8, making it ideal for small crowds or elegant desserts. The vanilla bean cake batter is lightened with whipped egg whites for a tender texture, while the chocolate swirls add depth without overpowering.
Baking at 350°F for 25–30 minutes ensures a golden top and even rise, with a toothpick coming out clean.
Once cooled, the cake develops a subtle vanilla aroma that pairs beautifully with the chocolate swirls. For frosting, I recommend a light vanilla buttercream or a dusting of cocoa powder to highlight the swirls.
The result is a dessert that looks as impressive as it tastes—perfect for anyone who loves cake but prefers smaller, elegant portions.
Whether you’re celebrating a milestone or simply craving a treat, this cake is foolproof and adaptable. Swap the chocolate for raspberry jam, or add a sprinkle of sea salt for contrast. The key is patience—letting the cake cool completely before slicing ensures clean, perfect pieces every time.
Ingredients for 4in cake
Six ingredients for the cake base, plus swirls and frosting to make this elegant dessert shine.
| Ingredient | Amount | Notes |
|---|---|---|
| All-Purpose Flour 🌾 | 1 ½ cups | Sifted for light texture |
| Granulated Sugar 🍚 | 1 cup | Superfine preferred for smoothness |
| Unsalted Butter 🧈 | 1 cup | Room temperature, full-fat |
| Vanilla Bean Paste 🌸 | 2 tbsp | High-quality, real vanilla |
| Large Eggs 🥚 | 3 whole | Room temperature, separated |
| Baking Powder 🧂 | 1 ½ tsp | Aluminum-free preferred |
| Salt 🧂 | ½ tsp | Fine sea salt |
| Whole Milk 🥛 | ½ cup | Room temperature |
| Dark Chocolate Chips 🍫 | ½ cup | 70% cocoa, chopped fine |
| Unsalted Butter (for swirl) 🧈 | ¼ cup | Melted, full-fat |
| Vanilla Extract 🌿 | 1 tsp | Pure vanilla extract |
| Powdered Sugar 🍚 | 1 cup | For buttercream |
| Vanilla Buttercream Frosting 🧁 | ½ cup | Store-bought or homemade |
The vanilla bean paste is non-negotiable here—look for real vanilla at specialty stores like Williams Sonoma or Sur La Table. If you can’t find it, high-quality vanilla extract works, but the paste gives that luxurious depth. For the chocolate swirls, 70% dark chocolate is ideal—it melts smoothly and adds rich flavor without overpowering. Chop your own chocolate chips for a smoother texture; pre-chopped often has added anti-caking agents. The flour? King Arthur or Bob’s Red Mill are my go-tos for consistent results.
No vanilla bean paste? Double the vanilla extract—just know it won’t be quite the same. Swapping chocolate? Raspberry jam or orange zest works beautifully for the swirls. If you’re avoiding dairy, use vegan butter (like Miyoko’s) and ensure your chocolate chips are dairy-free. For the buttercream, store-bought is fine, but homemade with powdered sugar and softened butter tastes like a bakery. Pro tip: let your buttercream sit at room temperature before spreading—it’ll be silky smooth.
Store the cake layers wrapped in plastic at room temperature for up to 2 days, or in the fridge for 3-4 days. The buttercream keeps for 1 week in an airtight container. For best results, assemble the cake the day you serve it—this lets the flavors meld perfectly. If you need to prep ahead, bake the layers, cool completely, then wrap individually. Reheat the cake layers for 10 seconds in the microwave before frosting to soften.
Why You’ll Love This Recipe
- No Mixer Needed: I swear by this recipe—just fold the butter and sugar until it’s just light, then gently whisk in the flour and eggs. No stand mixer, no stress, just a bowl and a spatula. The vanilla bean paste? That’s the secret—it’s richer than extract, and you only need a teaspoon.
- Butter-Sugar Magic: That creamy, tender crumb? All thanks to the butter-sugar combo. The sugar dissolves into the butter first, creating pockets of flavor in every bite. And honestly, the vanilla bean paste makes it taste like you slaved over it—even though you didn’t.
- Birthday or Breakfast: Slice it warm for a birthday cake, or serve it cold with whipped cream for a lazy Sunday. It’s the same batter, same effort, just different vibes. My kids ask for it at 8 a.m. and again at 8 p.m.—no judgment here.
- Half a Cake Left?: This recipe makes a single 4-inch cake, so you’re never stuck with a whole sheet pan of cake you won’t finish. Bake it, slice it, and freeze the rest—perfect for last-minute cravings. (Yes, even on a Tuesday night.)
Step-by-step instructions for layered vanilla bean and chocolate swirls
Here’s how to create a perfectly proportioned 4-inch cake with rich swirls and tender layers.
Prepare the Vanilla Bean Cake Batter
Preheat your oven to 350°F and grease three 4-inch round cake pans with butter, then line the bottoms with parchment paper. In a medium bowl, whisk together the 1.5 cups sifted all-purpose flour, 1.5 teaspoons baking powder, and 0.5 teaspoon salt. Set aside.
In a large mixing bowl, cream the 1 cup room-temperature unsalted butter and 1 cup granulated sugar on medium speed until light and fluffy—about 3-4 minutes. Add the 2 tablespoons vanilla bean paste and 1 teaspoon vanilla extract, mixing until fully combined. This step is crucial for developing the cake’s airy texture.
Add the 3 whole room-temperature eggs, one at a time, mixing well after each addition. Alternate adding the 0.5 cup whole milk and the flour mixture, beginning and ending with the flour. Mix on low speed just until combined—overmixing develops gluten and makes the cake dense. Fold in the 0.5 cup dark chocolate chips by hand using a spatula.
Create the Chocolate Swirl Dough
In a small bowl, melt the 0.25 cup unsalted butter (for swirl) in the microwave for 20-30 seconds, then stir until smooth. In a separate bowl, mix the melted butter with 0.5 cup granulated sugar and 1 tablespoon vanilla bean paste until fully incorporated.
In another small bowl, whisk together 0.5 cup sifted all-purpose flour, 0.5 teaspoon baking powder, and a pinch of salt. Gradually mix the dry ingredients into the butter mixture until a thick dough forms. This dough should be pliable but not sticky—if it is, add a tiny bit more flour.
Divide the dough into three equal portions and roll each into a log about 1-inch thick and 6-inches long. Wrap each log in plastic wrap and chill in the refrigerator for 30 minutes to firm up. This ensures clean, even swirls when baked.
Bake the Cake Layers and Swirls
Divide the vanilla batter evenly among the three prepared cake pans, filling each about ⅔ full. Place one chilled chocolate dough log in the center of each pan, then gently swirl it into the batter using a knife or offset spatula. This creates those signature marbled patterns.
Bake for 20-25 minutes, or until a toothpick inserted into the center comes out clean and the tops spring back when touched. Rotate the pans halfway through baking for even cooking. Let the cakes cool in the pans for 10 minutes, then transfer to a wire rack to cool completely.
Assemble the Cake Layers
Once fully cooled, level the tops of the cake layers if necessary using a serrated knife. Place the first layer on a cake stand or plate, then spread a thin layer of 0.5 cup vanilla buttercream frosting over the top. Repeat with the remaining layers, stacking them carefully.
Crumb coat the entire cake with a thin layer of frosting, then chill in the refrigerator for 15 minutes to firm up. This step prevents crumbs from getting into the final frosting. Finally, apply the remaining frosting to create a smooth finish, and decorate with additional chocolate chips or a dusting of powdered sugar if desired.
Pro Tips For Making 4in Cake
- Whisk Eggs Room-Temp: Cold eggs from the fridge won’t blend smoothly—your cake batter will have lumps no amount of mixing will fix. Pop them in a bowl of warm water for 5 minutes first. Trust me, your mixer will thank you when it doesn’t fight you the whole time.
- Cream Butter Slowly: I used to blast the butter and sugar together, but that just traps air unevenly. Start low, let the butter melt into the sugar gradually, then gradually increase speed to medium-high. The goal is a light, fluffy ribbon stage—not a greasy mess.
- Sift Flour Twice: Even if your flour looks fine, sifting it before adding it to the batter removes hidden lumps and aerates it. Do it again after mixing—yes, it’s extra work, but it keeps the crumb light. Skimp here, and your cake turns dense.
- Skip the Overmixing: The moment the flour hits the wet ingredients, stop mixing as soon as it’s just combined. Overworking the batter develops gluten, and your 4-inch cake will turn out tough instead of tender. Fold it like you’re tucking in a baby—gentle and quick.
Creative variations of this 4in cake
Mini Cake Variations
Use these 4-inch pan adaptations for different occasions. For a carrot cake, replace chocolate chips with 1 cup grated carrots and ½ cup chopped walnuts, then add 1 tsp cinnamon and ½ tsp ginger to the dry ingredients.
Cream cheese frosting pairs perfectly—just swap the buttercream for 8 oz softened cream cheese mixed with ½ cup powdered sugar and 1 tsp vanilla. 🥕
Chocolate Lover’s Twist
For a mocha version, mix 2 tbsp instant espresso powder into the vanilla batter and add ½ cup chopped dark chocolate chunks (instead of chips) for extra richness.
Top with a chocolate ganache—simmer ½ cup heavy cream with ½ cup chopped dark chocolate until smooth, then drizzle over the cooled cake. A pinch of flaky sea salt on top enhances the flavors. ☕
Fruit-Inspired Swirls
Swap chocolate for strawberry or raspberry swirls by mixing ½ cup jam (strained for smoothness) with 1 tbsp cornstarch to thicken. Roll into logs, chill, and bake as directed. The jam swirls add a tangy contrast to the vanilla base.
For a lemon poppy seed variation, fold 2 tbsp lemon zest and 1 tbsp poppy seeds into the batter, then use a lemon glaze (powdered sugar + lemon juice) for drizzling. 🍓
Gluten-Free Adaptation
Replace all-purpose flour with a 1:1 gluten-free baking flour (like Bob’s Red Mill or King Arthur). Add ½ tsp xanthan gum to the dry ingredients to improve texture. For the chocolate swirl dough, use a gluten-free flour blend and reduce the sugar by 1 tbsp to prevent dryness.
Chill the dough longer (45 minutes) to ensure clean swirls. The cake will be slightly denser but still moist. 🌾
Make-Ahead Swaps
Prep the chocolate swirl dough up to 2 days ahead and store it wrapped in the fridge. For frosting shortcuts, use store-bought vanilla or chocolate buttercream—just add 1 tsp vanilla extract to enhance flavor.
To save time, bake the cake layers the day before, cool completely, then wrap tightly in plastic. Assemble and frost just before serving for the freshest texture. ⏰
Decorative Finishes
Elevate your cake with edible gold leaf or white chocolate shavings for a luxurious touch. For a rustic look, dust with cocoa powder and sprinkle with crushed pistachios. A drip effect works beautifully—melt ½ cup white chocolate with 1 tsp coconut oil, then drizzle over the sides.
Fresh berries or mint leaves add a pop of color and freshness. ✨
Nutrition facts
Frequently asked questions
Why use a 4-inch pan instead of a standard 8-inch pan?
A 4-inch pan creates perfectly portioned individual cakes—ideal for intimate gatherings or solo indulgence. This size yields a single-layer cake that serves 6–8, making it elegant for special occasions without overwhelming leftovers. The smaller size also bakes faster (20-25 minutes) and cools quicker, ensuring clean slices every time.
Can I bake this cake in a different-sized pan?
Yes, but adjust baking time and temperature. For a 6-inch pan, reduce oven temp to 325°F and bake for 30-35 minutes. For a 3-inch pan, use 350°F for 18-20 minutes. Always check doneness with a toothpick. The batter volume should fill the pan ⅔ full for even rising.
What if my cake layers sink in the middle?
This usually happens from overmixing the batter or opening the oven too soon. Ensure your eggs and butter are room temperature, and mix just until combined. Let the cake cool in the pan for 10 minutes before removing. If it sinks slightly, a thin crumb coat will hide imperfections when frosting.
How do I store the cake layers before assembling?
Wrap each cooled layer tightly in plastic wrap and store at room temperature for up to 2 days, or refrigerate for 3-4 days. For longer storage, freeze layers (unfrosted) for up to 1 month. Thaw overnight in the fridge before assembling. Never freeze frosting—it becomes grainy when thawed.
Can I make this cake without a stand mixer?
Use a hand mixer or whisk for creaming butter and sugar, and mix the batter by hand with a spatula. For the chocolate swirl dough, melt the butter in a microwave-safe bowl and mix with a fork. The key is patience—cream the butter and sugar until light and fluffy, even if it takes extra time.