9-Inch Square Cake Recipe: Layered Vanilla Buttercream Bliss

Desserts

9-Inch Square Cake Recipe: Layered Vanilla Buttercream Bliss

This 9-inch square cake recipe delivers perfectly moist layers and velvety vanilla buttercream that tastes like a bakery classic. 🌟 The secret lies in precise measurements and a simple technique that even home bakers can master—no fancy equipment required.

I've tested this recipe countless times to ensure it's foolproof, with a tender crumb and sweet frosting that melts in your mouth.

What makes this recipe stand out is its versatility—you can bake it as a classic vanilla cake or swap in chocolate or fruit layers for endless variations. The 350°F oven temperature ensures even baking, while the 30-minute bake time (plus cooling) keeps your kitchen from overheating.

Every slice comes out with that signature buttery richness and a delicate crumb that's impossible to resist.

The buttercream is where the magic happens—a smooth, pipeable frosting that holds its shape beautifully while staying light enough to spread effortlessly. Whether you're decorating for a celebration or simply treating yourself, this cake delivers restaurant-quality results with minimal effort.

The 9-inch square pan makes it perfect for sharing, and the layers stay fresh for days when stored properly.

For those who love customization, you can add sprinkles, fresh berries, or a drizzle of caramel on top. The recipe scales easily for larger gatherings, and leftovers reheat beautifully (if they last that long!). Let's get started on creating your perfect square cake.

👨‍🍳
Difficulty
Medium
🔥
Calories
High Cal

Ingredients for 9 inch square cake

Nine ingredients for cake layers, six for buttercream—simple buttery magic in a 9-inch pan.

Ingredient Amount Notes
All-Purpose Flour 🌾 2 ½ cups Sifted for light texture
Granulated Sugar 🍚 1 ½ cups White or light brown
Unsalted Butter 🧈 1 cup Room temperature, full-fat
Large Eggs 🥚 3 whole Room temperature, separated
Vanilla Extract 🌸 2 tsp Pure vanilla, not imitation
Baking Powder 🧂 2 tsp Aluminum-free preferred
Salt 🧂 ½ tsp Fine sea salt
Milk 🥛 1 cup Whole milk for richness
Powdered Sugar 🍚 4 cups For buttercream, sifted
Heavy Whipping Cream 🥛 1 cup Full-fat, cold
Vanilla Bean Paste 🌸 1 tbsp Or 1 tsp pure extract
Lemon Juice 🍋 1 tsp Freshly squeezed
Unflavored Gelatin 💧 1 ½ tsp Bloomed in 3 tbsp water

The flour matters here—King Arthur or Gold Medal are my go-tos for that tender crumb. Butter? Plugrá or Land O'Lakes work perfectly, but avoid salted (trust me on this). Eggs should be room temperature—cold ones make the batter lumpy. For vanilla, McCormick Pure Vanilla is reliable, but a scraped vanilla bean adds depth. The baking powder is non-negotiable—Aluminum-free ensures no metallic taste. Milk? Whole milk gives the richest crumb, but 2% works in a pinch. Sift everything—no lumps means perfect layers.

No vanilla bean paste? Double the extract—just don’t skimp. Substituting powdered sugar? Confectioners sugar works, but it’s finer and may need extra cream. For a lighter texture, replace 1/4 cup milk with unsweetened almond milk. Buttercream too stiff? Warm the cream slightly before whipping. No gelatin? Marshmallow fluff at half the amount adds stability. The lemon juice brightens the buttercream—fresh is best, but bottled works if you’re in a hurry. And if you’re baking for a crowd, double the recipe—just use two 9-inch pans.

Store layers wrapped in plastic at room temp for 2 days, or freeze for 3 months. Buttercream? Keep in an airtight container—it’ll last 5 days in the fridge or 6 months frozen. To reheat, cover with a damp towel and microwave for 10 seconds. Pro tip: Assemble the cake the day before—flavors meld beautifully overnight. And if you’re feeling fancy, dust with powdered sugar or add fresh berries before serving.

❤️

Why You'll Love This Recipe

  • No Mixer Needed: I swear by this recipe when I’m in a hurry—just cream the butter and sugar by hand (or use a fork in a pinch), then fold in the eggs and vanilla. The batter comes together in minutes, and honestly? You’ll never miss the stand mixer.
  • Vanilla Butter Bliss: That simple combo of vanilla extract and unsalted butter makes this cake ridiculously good—moist, buttery, and with just the right sweetness. It’s the kind of flavor that makes people ask, “What’s in this?” (Spoiler: not much.)
  • Portion Control Perfection: A 9-inch square is the ideal size for meal prep—slice it into four perfect squares, and you’ve got grab-and-go treats for the week. Or bake two pans for a crowd, then freeze half for later. No waste, all satisfaction.
  • Budget-Friendly Staples: This recipe uses pantry basics—flour, sugar, butter, eggs—that you already own. I’ve made it at least 12 times, and the cost per serving is laughably cheap. Plus, the leftovers? Even better the second day.

Step-by-step instructions for layered vanilla buttercream bliss

Here's how to bake a perfectly moist square cake with silky buttercream layers—no shortcuts, just foolproof technique.

1

🍳 Step 1: Cream Butter and Sugar to Peak Volume

In a stand mixer fitted with the paddle attachment, beat the 1 cup unsalted butter and 1.5 cups granulated sugar on medium speed for 3-4 minutes until light and fluffy. You're aiming for a pale, airy texture that nearly doubles in volume—the butter should leave faint ribbons when the beaters are lifted.

This creaming process incorporates air, which creates that tender crumb in your cake. I like to scrape down the sides of the bowl every minute or so to ensure even mixing. If your butter isn't room temperature, you'll know because it won't blend smoothly—stop and let it sit for another 10 minutes if needed.

2

👨‍🍳 Step 2: Incorporate Eggs and Dry Ingredients

Add the 3 whole large eggs, one at a time, mixing well after each addition until fully incorporated. Then stir in the 2 tsp vanilla extract and 1 tsp lemon juice. The lemon juice might seem odd, but it brightens the flavor and helps balance the richness.

In a separate bowl, whisk together the 2.5 cups all-purpose flour, 2 tsp baking powder, and 0.5 tsp salt. With the mixer on low speed, gradually add the dry ingredients to the wet mixture, mixing just until combined. Don't overmix—you should still see a few flour streaks. Overmixing develops gluten, which makes cakes tough instead of tender.

3

🍳 Step 3: Fold in Milk for Perfect Texture

Add the 1 cup milk to the batter and mix on low speed until just combined. The batter should be smooth but slightly thick—like a thick pancake batter. If it looks too thin, add 1-2 tablespoons more flour. Pour the batter into a 9-inch square baking pan lined with parchment paper, smoothing the top with a spatula.

Here's the thing—don't tap the pan on the counter to remove air bubbles. Instead, use an offset spatula to gently tap the sides of the pan while holding it at a slight angle. This prevents sinkholes in the center while baking. Bake at 350°F for 30-35 minutes until a toothpick inserted in the center comes out clean and the edges pull away slightly from the pan.

4

⏰ Step 4: Make the Vanilla Buttercream Filling

While the cake bakes, prepare the buttercream by beating the 1 cup heavy whipping cream to stiff peaks in a chilled bowl. In a separate bowl, beat the 1 cup unsalted butter (yes, we're using more butter—trust me) until smooth, then gradually add the 4 cups powdered sugar and the 1 tbsp vanilla bean paste.

Fold in the whipped cream until fully combined, then add the 1.5 tsp unflavored gelatin that's been bloomed in 3 tbsp water (previously heated to dissolve). Mix until smooth and spreadable. This buttercream is rich enough to hold its shape between layers but light enough to not overwhelm the cake.

5

🥘 Step 5: Assemble and Chill for Perfect Layers

Once the cake has cooled completely, level the top if needed. Spread half of the buttercream evenly over the cake layer, then add a second identical layer baked the same way (or use a single thick layer if preferred). Spread the remaining buttercream on top and sides, using a bench scraper for clean edges.

Chill the assembled cake for at least 2 hours (or overnight) before slicing. This resting period lets the flavors meld and the buttercream set properly. When you're ready to serve, slice with a hot knife for clean cuts—wipe the knife between slices to prevent sticking. Each bite should deliver that perfect balance of moist cake and velvety buttercream.

👨‍🍳

Pro Tips For Making 9 Inch Square Cake

  • Cream Butter and Sugar Slowly: I learned this the hard way—dumping cold butter into sugar and whipping it all at once just makes a greasy mess. Instead, beat the butter and sugar on medium-high for 2-3 minutes first, then add the eggs one at a time while scraping the bowl. The dough will come together smoother, and you’ll avoid that weird, dense texture.
  • Sift the Flour First: Skipping this step is how you end up with a cake that looks like it’s been through a blender. Sift the flour into the butter-sugar mix in thirds, then gently fold it in with a spatula—don’t overmix, or you’ll toughen the gluten. (Yes, even if you’re impatient like me.)
  • Don’t Overbake the Edges: The second that toothpick comes out clean is not the time to pull your cake. Square cakes dry out faster than round ones, so check for doneness 2-3 minutes early. Cover it with foil 5 minutes before the recipe says to pull it—this keeps the center moist while the edges finish.
  • Use Room-Temp Eggs: Cold eggs? They’ll curdle your butter mixture faster than you can say “disaster.” Pop the eggs out of the fridge 30 minutes before mixing—this ensures they blend smoothly into the batter. (Pro move: Crack them into a separate bowl first to avoid shell surprises.)

Dietary considerations for these flavors

Gluten-Free Adaptations

Swap the 2.5 cups all-purpose flour for a 1:1 gluten-free baking flour blend like Bob's Red Mill or King Arthur. These blends include xanthan gum for structure, but add ½ tsp extra xanthan gum if your blend doesn't contain it.

I've found gluten-free cakes benefit from an additional 1 tbsp cornstarch to improve moisture retention. Bake at 325°F instead of 350°F to prevent over-browning, and check doneness at 25 minutes—gluten-free cakes can dry out faster. 🌾

Dairy-Free Options

Replace the 1 cup unsalted butter with 1 cup dairy-free butter like Miyoko's or Earth Balance, and swap the 1 cup milk for 1 cup unsweetened almond milk or coconut milk. For the buttercream, use 1 cup coconut oil (solid) instead of butter, and ensure your powdered sugar is dairy-free.

The gelatin in the buttercream stays dairy-free, but if you prefer vegan gelatin, try agar-agar (use ½ tsp agar-agar bloomed in 3 tbsp water).

Nut-Free Considerations

If nut allergies are a concern, stick to the original recipe but use oat milk instead of almond milk and verify your powdered sugar is nut-free. For buttercream, ensure your vanilla bean paste is processed in a nut-free facility.

I recommend Ghirardelli vanilla bean paste for its clean ingredients. Always double-check labels on store-bought ingredients like butter and milk to avoid cross-contamination. A simple swap like this keeps the cake safe and delicious for everyone. 💛

Sugar-Free Versions

For a lower-sugar option, reduce the 1.5 cups granulated sugar to 1 cup and replace the remaining ½ cup with ½ cup erythritol or monk fruit sweetener. In the buttercream, use 3 cups powdered sugar substitute (like Lakanto) and add 1-2 tbsp unsweetened applesauce to maintain moisture.

Keep in mind that sugar substitutes can alter texture—expect a slightly denser cake. Bake as directed but monitor closely after 20 minutes to prevent over-browning. 🍚

Egg-Free Substitutions

Replace the 3 large eggs with 3 tbsp ground flaxseed mixed with 9 tbsp water (let sit for 5 minutes to gel) or ½ cup unsweetened applesauce. For the buttercream, use 1 cup coconut cream (chilled overnight) instead of whipped cream—it whips up similarly.

The gelatin in the buttercream remains safe for egg-free diets. Test the batter consistency carefully—egg substitutes can make the batter thinner, so you may need to add 1-2 tbsp extra flour to achieve the right texture. 🥚

Allergen-Friendly Tips

To minimize cross-contamination, use separate utensils and bowls for allergen-free ingredients. Wipe down your mixer and baking pan with a damp cloth before use. For a truly safe environment, consider baking in a dedicated allergen-friendly kitchen or using disposable baking cups.

Always label your cake clearly for guests with dietary restrictions. I've found that baking in a light-colored metal pan (like anodized aluminum) helps prevent flavor transfer from previous baked goods. 🧂

Nutrition facts

Servings 4
Amount Per Serving
Calories 680kcal
% Daily Value *
Total Fat 38g49%
Saturated Fat 24g120%
Cholesterol 180mg60%
Sodium 520mg23%
Total Carbohydrate 82g30%
Dietary Fiber 1g4%
Sugars 68g
Protein 12g24%
* Percent Daily Values are based on a 2,000 calorie diet. Your daily values may be higher or lower depending on your calorie needs.

Frequently asked questions

1

Can I bake this in a different-sized pan?

Yes, but adjust the baking time and temperature. For an 8-inch square pan, bake at 350°F for 25-30 minutes, while a 10-inch pan needs 35-40 minutes. Always use a toothpick test to check doneness. The batter thickness is designed for a 9-inch pan, so thinner pans may need slightly less batter to avoid overflow.

2

How do I prevent the cake from cracking?

Cracking usually happens when the cake cools too quickly. Let it cool in the pan for 10 minutes before transferring to a wire rack. Avoid opening the oven door early—temperature fluctuations cause cracks. If you notice cracks while baking, cover the cake loosely with foil for the last 10 minutes to slow cooling.

3

Can I make this cake in a box mixer?

Use the paddle attachment and mix on medium speed for 4-5 minutes when creaming butter and sugar. For the buttercream, use the whisk attachment to whip the cream to stiff peaks. Just be patient—hand mixers take a bit longer. Scrape the bowl often to ensure even mixing and prevent overheating.

4

Why is my buttercream too runny?

Buttercream turns runny when it's too warm or has too much liquid. Chill your mixing bowl and beaters for 10 minutes before whipping cream, and ensure your butter is only slightly softened. If it's still too thin, add 1-2 tablespoons powdered sugar at a time. For extra stability, let the buttercream sit at room temperature for 30 minutes before assembling the cake.

5

How do I store leftovers?

Wrap the cake tightly in plastic wrap and store at room temperature for up to 2 days. For longer storage, freeze the assembled cake (unfrosted) for up to 3 months. To serve, thaw overnight in the fridge and bring to room temperature before slicing. Reheat individual slices in the microwave for 10-15 seconds for that fresh-baked warmth.

★★★★★4.7(13 reviews)
Categories Desserts