
A 10-inch square cake with vanilla bean frosting swirls delivers the perfect balance of rich texture and elegant presentation—ideal for gatherings where every slice needs to impress.
The secret lies in a foolproof vanilla cake batter that bakes evenly in a square pan, creating tender layers with just the right crumb.
This recipe ensures consistent results, whether you’re a seasoned baker or just starting out, with a moist cake base that holds up beautifully to the creamy vanilla frosting.
The vanilla bean frosting transforms this cake from ordinary to extraordinary, its swirls adding a touch of sophistication without overwhelming the delicate vanilla flavor. The frosting’s velvety consistency pairs perfectly with the cake’s subtle sweetness, creating a dessert that feels both indulgent and refined.
With precise measurements and clear instructions, you’ll achieve professional-quality results every time.
What makes this recipe truly special is its adaptability—serve it as-is for a classic dessert, or customize with fresh berries, chocolate shavings, or a sprinkle of powdered sugar for added flair.
The square shape ensures easy slicing and serving, making it perfect for parties, potlucks, or family gatherings where presentation matters just as much as taste.
Ready in about 1 hour and 30 minutes (including cooling time), this cake is designed for convenience without sacrificing quality. The frosting swirls add a decorative touch that elevates the dish, while the cake’s moist texture ensures each bite is as satisfying as the first.
Whether you’re baking for a celebration or simply treating yourself, this recipe delivers crowd-pleasing slices that leave everyone asking for seconds.
Ingredients for 10 inch square cake
This refined 10-inch square cake requires precise ingredients for flawless texture and elegant presentation.
| Ingredient | Amount | Notes |
|---|---|---|
| All-Purpose Flour 🌾 | 3 cups | Sifted for even texture |
| Granulated Sugar 🍚 | 2 cups | White or light brown |
| Unsalted Butter 🧈 | 1 ½ cups | Room temperature, cubed |
| Large Eggs 🥚 | 4 whole | Room temperature, separated |
| Vanilla Extract 🌿 | 2 tsp | Pure extract preferred |
| Baking Powder 🧂 | 2 tsp | High-quality, aluminum-free |
| Salt 🧂 | ½ tsp | Fine sea salt preferred |
| Milk 🥛 | 1 cup | Whole milk for richness |
| Vanilla Bean Paste 🌿 | 2 tbsp | For authentic vanilla flavor |
| Powdered Sugar 🍚 | 4 cups | Sifted for smooth frosting |
| Heavy Whipping Cream 🥛 | 1 ½ cups | Cold, full-fat preferred |
| Vanilla Extract 🌿 | 1 tbsp | For frosting flavor |
| Vanilla Bean Seeds 🌿 | 1 whole | Scraped from 1 pod |
| Unsalted Butter 🧈 | ½ cup | Room temperature for frosting |
| Powdered Sugar 🍚 | 1 cup | Extra for dusting |
The all-purpose flour should be sifted to eliminate lumps, ensuring a tender crumb—Bob’s Red Mill or King Arthur brands offer consistent quality. Vanilla bean paste elevates the flavor beyond extract, though high-quality pure extract works in a pinch. For the butter, Plugrá or Land O’Lakes unsalted sticks are ideal, but ensure they’re room temperature to avoid lumps in the batter. Diamond Crystal baking powder is preferred for its reliable lift, while Morton fine sea salt balances sweetness without overpowering. Whole milk adds richness, but 2% works if unavailable.
No vanilla bean paste? Double the extract—though the texture will differ slightly. Substitute brown sugar for granulated at a 1:1 ratio if desired, though white sugar yields a cleaner flavor. For the frosting, heavy whipping cream is non-negotiable—Store-brand works, but Land O’Lakes or Horizon Organic ensure creaminess. Powdered sugar should be sifted to avoid graininess, and vanilla bean seeds can be omitted if only extract is available, though the flavor depth suffers. Short on butter? Use vegetable shortening for a lighter frosting, though texture may vary.
Store dry ingredients (flour, sugar, baking powder) in airtight containers for up to 6 months, while butter and eggs keep in the fridge for 3 weeks and 1 month respectively. Prep the cake batter up to 24 hours ahead and refrigerate, covered. The frosting can be made 1 day in advance—simply whip again before piping. Square pans should be lightly greased with butter and lined with parchment for easy removal. Leftovers stay fresh for 3 days covered at room temperature or 1 week refrigerated.
Why You’ll Love This Recipe
- No Mixer Needed: I swear by this recipe when my mixer’s on the fritz—just creaming butter and sugar by hand gives it that just-right tender crumb. The eggs and vanilla blend in faster than you’d think, and honestly? It’s the kind of cake that forgives rushed prep.
- Butter-Sugar Magic: That rich, buttery base with vanilla? It’s the kind of flavor that makes you pause mid-slice. The sugar caramelizes just enough to give it a subtle depth, while the flour keeps it light—no dryness here, just pure, comforting indulgence.
- Half-Bakes Like a Champ: Between us, this is my go-to for potlucks or last-minute gifts. Bake it, let it cool, then slice and serve—no fuss. And if you’re prepping ahead? It keeps beautifully for days, whether you’re feeding a crowd or saving slices for lazy mornings.
- Pantry Staple Power: Four ingredients you already own (probably). No specialty items, no hunting for obscure spices—just flour, sugar, butter, and eggs. I’ll be real: it’s my budget-friendly answer to “I need cake but don’t want to break the bank.”
Step-by-step instructions for vanilla bean frosting swirl cake
Here’s the method for a perfectly moist cake with professional swirls and velvety frosting.
Prepare the Cake Batter with Precision
Preheat your oven to 350°F and grease a 10-inch square baking pan, lining the bottom with parchment paper. In a medium bowl, whisk together the 3 cups all-purpose flour, 2 cups granulated sugar, 2 tsp baking powder, and 0.5 tsp salt. Sift the dry ingredients once more to eliminate any lumps that may have formed during mixing.
In a separate large bowl, cream the 1.5 cups unsalted butter (room temperature) and the 4 whole large eggs (room temperature) on medium speed for 3-4 minutes until light and fluffy. Gradually add the dry ingredients mixture while mixing on low speed, alternating with the 1 cup milk in 3 additions. After each addition, mix just until combined to maintain an airy texture.
Stir in the 2 tsp vanilla extract and 2 tbsp vanilla bean paste (scrape the seeds from the pod first) until fully incorporated. The batter should be smooth with no visible streaks of flour. Pour the batter into the prepared pan and smooth the top with an offset spatula. Bake for 35-40 minutes or until a toothpick inserted in the center comes out clean and the edges are lightly golden.
Prepare the Vanilla Bean Frosting
While the cake bakes, prepare the frosting by whipping the 1.5 cups heavy whipping cream (cold) in a chilled bowl until soft peaks form. In a separate bowl, beat the 0.5 cup unsalted butter (room temperature) and 4 cups powdered sugar together until smooth and creamy. Gradually fold the whipped cream into the butter-sugar mixture until fully combined.
Add the 1 tbsp vanilla extract and the 1 whole vanilla bean seeds (scraped from the pod), mixing until the frosting is smooth and glossy. For a more intense flavor, you can also add the scraped vanilla bean pod itself to the frosting mixture. Cover and chill the frosting in the refrigerator for 30 minutes to firm up slightly before using.
Create the Signature Swirls
Allow the cake to cool in the pan for 10 minutes before transferring it to a wire rack to cool completely. Once the cake is fully cooled, spread a thin layer of the frosting over the top to create a smooth base. This helps prevent the cake from absorbing too much moisture from the frosting.
Using an offset spatula, spread a portion of the frosting evenly over the cake, leaving about ½ inch border unfrosted. Drop spoonfuls of the remaining frosting onto the cake and use the spatula to gently swirl the frosting into the base layer. Continue this process, alternating between spreading and swirling, until the entire cake is covered with a smooth, marbled effect. For a more dramatic look, use a piping bag fitted with a star tip to create decorative swirls on top.
Final Touches and Serving
Once the frosting is evenly spread and swirled, dust the top of the cake with the remaining 1 cup powdered sugar using a fine-mesh sieve for a delicate finish. Chill the cake in the refrigerator for 1 hour before slicing to allow the frosting to set and the cake to hold its shape.
Slice the cake into 12 equal portions using a sharp serrated knife, wiping the blade clean between each cut. Serve immediately for the best texture and flavor. The cake should be moist and tender with a velvety frosting that complements the rich vanilla flavor. Store any leftovers in an airtight container in the refrigerator for up to 3 days, though it’s unlikely to last that long!
Pro Tips For Making 10 Inch Square Cake
- Cream Butter Slowly: I used to dump cold butter straight into the sugar and wonder why my cake turned out dense. Instead, soften the butter first—just until it gives slightly when pressed—then mix it with the sugar on medium speed for 3-4 minutes. The butter should look fluffy and pale, not greasy. This isn’t just about aeration; it’s about making sure every grain of sugar gets coated properly, so your cake rises evenly and stays tender.
- Sift That Flour: Skipping the sifting step is a shortcut I took for years, and my cakes always ended up with a slightly heavy, uneven crumb. For a 10-inch square cake, sift the flour twice—once before mixing and once after adding the dry ingredients—to break up any lumps and incorporate air. If you’re short on time, at least press the flour through a fine-mesh sieve with a spoon. The difference in texture is noticeable.
- Room-Temp Eggs Matter: Cold eggs? Big mistake. I learned this after a batch of cake came out with a sunken center—turns out, cold eggs don’t emulsify as well, and the cake doesn’t hold its structure. Let your eggs sit in warm water for 5 minutes before cracking them, or just leave them out on the counter for 30 minutes. Warm eggs blend smoother and help create a lighter, more stable crumb. (Yes, even if you’re impatient like me.)
- Grease and Flour That Pan: This isn’t the prettiest method, but it’s the tastiest. After greasing your 10-inch pan with butter, dust it with flour and then tap out the excess—don’t just wipe it around. The extra flour makes it easier to remove the cake later, and it creates a thin, crisp barrier that keeps the cake from sticking. I used to rush this, and my cakes would tear when I tried to lift them. Now I take the 10 seconds to do it right.
Troubleshooting this recipe
Cake Too Dense
Overmixing the batter is the #1 cause of dense cake. Mix dry ingredients just until combined, then fold in wet ingredients gently—no more than 20 strokes with a spatula. Also, ensure your butter and eggs are room temperature (not warm).
If your cake still turns out dense, try adding 1 tbsp sour cream or yogurt to the batter for moisture without heaviness. 💫
Frosting Too Thin
Cold ingredients are the culprit here. Make sure your heavy whipping cream is cold (not chilled—straight from the fridge) and your butter is room temperature. If your frosting still separates, try adding 1 tbsp more powdered sugar at a time until it thickens.
For extra stability, chill the frosting for 1 extra hour before using. A hand mixer on high speed for 3-4 minutes can also help incorporate air.
Swirls Not Holding
If your frosting swirls collapse, it’s likely because the cake wasn’t fully cooled before frosting. Wait until the cake is completely room temperature (not warm). Also, spread a thin base layer of frosting first to create a barrier.
For extra hold, brush the cake layers with 1 tbsp apricot jam before frosting—this adds moisture and helps the frosting adhere better. A cooling rack speeds up even cooling and prevents soggy bottoms.
Cake Sticking to Pan
Grease your 10-inch square pan with butter and line the bottom with parchment paper—this is non-negotiable. If the cake still sticks, your pan might not be hot enough. Preheat the oven for at least 15 minutes before baking to ensure even heat distribution.
For stubborn cases, dust the pan with 1 tsp cornstarch before adding the batter. Always let the cake cool 10 minutes in the pan before transferring to avoid breaking.
Frosting Too Sweet
If your frosting tastes overwhelmingly sweet, reduce the powdered sugar by ½ cup and replace it with ¼ cup more butter (whipped to room temperature). This balances sweetness while keeping the frosting creamy.
For a more sophisticated flavor, add 1 tsp lemon zest to the frosting—it brightens the vanilla and cuts sweetness naturally. Taste as you go and adjust in small increments to avoid overcorrecting. 🍋
Cracks in the Cake
Cracking usually happens when the cake bakes too quickly or the oven isn’t calibrated. Bake at 350°F (no higher) and avoid opening the oven door in the first 20 minutes of baking. If cracks appear, they’re often superficial—just frost over them.
For prevention, whisk the batter vigorously when combining wet and dry ingredients to create air pockets. A water bath (placing the pan in a larger pan with hot water) can also help with even baking in dry climates.
Nutrition facts
Frequently asked questions
Can I use this recipe for an 8-inch or 9×13-inch pan?
This recipe is specifically designed for a 10-inch square pan and yields 12 servings. For an 8-inch pan, reduce flour to 2 cups and sugar to 1.5 cups, baking for 30-35 minutes. For a 9×13-inch pan, increase flour to 4 cups and sugar to 2.5 cups, baking for 40-45 minutes. Adjust frosting quantities proportionally.
How do I make this cake gluten-free?
Replace the 3 cups all-purpose flour with a 1:1 gluten-free baking flour blend (like Bob’s Red Mill or King Arthur). Add 1 tsp xanthan gum to help bind the cake. For best results, also use a gluten-free baking powder and ensure your vanilla bean paste is certified gluten-free. The texture will be slightly denser but still delicious.
Can I substitute vanilla extract for vanilla bean paste?
Yes! Use double the amount of vanilla extract (so 4 tsp instead of 2 tbsp paste). For deeper flavor, add 1 tsp vanilla bean seeds scraped from a pod directly to the batter. The frosting can use the same substitution—just 2 tbsp extract instead of paste. The cake will still taste amazing, though the vanilla notes will be slightly less complex.
How far ahead can I make the cake and frosting?
The cake batter can be mixed and refrigerated (covered) for up to 24 hours. The frosting can be made 1 day ahead—just whip it again before using. For best results, bake the cake fresh and frost it within 4 hours of baking. If storing longer, wrap the frosted cake tightly in plastic wrap and refrigerate for up to 3 days. Bring to room temperature before serving.
What’s the best way to decorate this cake for special occasions?
For elegant occasions, pipe roses or shells with the frosting using a piping bag and star tip. Add edible gold leaf or dust with matcha powder for a sophisticated touch. For rustic charm, sprinkle crushed pistachios or toasted coconut flakes on top. Fresh berries or chocolate curls also pair beautifully with the vanilla flavor.