I still remember the first time I added a tiny pinch of espresso powder to my chocolate batter during a rainy afternoon bake. It was a total flavor game-changer that turned a standard cocoa treat into the most vibrant, deep chocolate experience I had ever tasted. This recipe is all about those small, smart choices that make a big impact without any extra stress.
This square cake is the ultimate example of how simple ingredients can create something truly special and joyful. It is moist, rich, and incredibly easy to whip up whenever that chocolate craving hits your kitchen. You are going to love how the flavors pop in every single bite of this amazing snackable dessert!
The Simple Magic of This Bake
There is something so wonderfully nostalgic about a square cake, isn’t there? It is the kind of bake that sits on the counter, inviting everyone to grab a sliver as they walk by. I love this recipe because it focuses on a singular, amazing flavor pop: the combination of high-quality cocoa and a hint of espresso powder. This one smart addition does not make the cake taste like coffee; instead, it acts like a spotlight for the chocolate, making it taste deeper, darker, and more intense.
You will also fall in love with the texture. Thanks to the buttermilk and the bit of warm water in the batter, the crumb is exceptionally tender and stays moist for days. It is a simple, honest cake that does not need fancy layers to impress. It is vibrant, happy, and perfect for when you want a fantastic treat without spending hours in the kitchen. Plus, the 9×9 size is just right for small gatherings or a family weekend treat.
Print
Square Cake
- Total Time: 50 mins
- Yield: 9 servings
- Diet: Vegetarian
Description
Enjoy a tender, moist chocolate treat with this easy-to-make 9×9 square cake. Infused with a hint of espresso and tangy buttermilk, it offers a deep cocoa flavor that is perfect for any casual gathering or afternoon snack.
Ingredients
- Granulated sugar
- Brown sugar
- Vegetable oil
- Eggs
- Vanilla extract
- Buttermilk
- Warm water
- Espresso powder (optional)
- All-purpose flour
- Baking soda
- Baking powder
- Coarse kosher sea salt
- Quality cocoa powder
- Unsalted butter
- Powdered sugar
- Milk
- Chocolate curls or pearls for garnish
Instructions
- Preheat your oven to 350°F and line a 9×9-inch square pan with parchment paper, leaving an overhang on the sides.
- In a large mixing bowl, beat the granulated sugar, brown sugar, and vegetable oil for about 30 seconds until well combined.
- Add the eggs and vanilla extract one at a time, mixing well after each addition until the batter is smooth.
- Pour in the buttermilk and warm water (with espresso powder mixed in if using) and mix quickly.
- Add the flour, baking soda, baking powder, and sea salt, then sift the cocoa powder over the top.
- Whisk everything together for about 30 seconds until just combined, taking care not to over-mix.
- Pour the batter into the prepared pan and bake for 30-35 minutes until the top springs back or a tester comes out clean.
- Allow the cake to cool completely in the pan before frosting.
- Prepare the frosting by beating the butter until creamy, then gradually adding powdered sugar, cocoa, milk, and a pinch of salt.
- Spread the frosting thickly over the cooled cake and decorate with chocolate curls or pearls before slicing.
Notes
To achieve the lightest texture, ensure your eggs and buttermilk are at room temperature before mixing. Sifting the cocoa powder is a crucial step to avoid bitter lumps in your finished cake. For the cleanest slices, use a sharp knife and wipe it clean between each cut to keep the frosting looking perfect.
- Prep Time: 15 mins
- Cook Time: 35 mins
- Category: Dessert
- Method: Baking
- Cuisine: American
The Flavor Stars in Your Pantry

To make this square cake truly shine, we are using accessible ingredients that you likely already have. The real secret is how they work together to create that ‘wow’ factor. Here is what you will need:
- Granulated and Brown Sugar: This mix gives us the perfect balance of sweetness and moisture. The molasses in the brown sugar adds a lovely hint of warmth.
- Vegetable Oil: This is my favorite choice for chocolate cakes because it keeps the crumb incredibly soft even when the cake is cold.
- Buttermilk: This is a major flavor pop! The acidity reacts with the leavening agents to create a light texture and adds a subtle tang that balances the rich cocoa.
- Espresso Powder: My favorite secret ingredient. It intensifies the chocolate notes without adding a distinct coffee flavor.
- Quality Cocoa Powder: Since this is the star of the show, use a brand you love. I prefer unsweetened natural cocoa for that classic, bright chocolate taste.
- Coarse Kosher Sea Salt: Never skip the salt! It makes all the other flavors vibrant and keeps the sweetness from being overwhelming.
The Simple Process to Perfection
Step 1: Prep Your Space
Before we dive into the chocolate fun, preheat your oven to 350 degrees Fahrenheit. Line your 9×9-inch square pan with parchment paper. I like to leave a little overhang on the sides so I can easily lift the cake out once it is cooled.
Step 2: Cream the Base
In your favorite mixing bowl, beat the granulated sugar, brown sugar, and vegetable oil for about 30 seconds. You want them well combined. Add your eggs and vanilla extract one at a time, mixing well after each addition to keep the batter smooth and happy.
Step 3: Mix the Liquids
Now, pour in the buttermilk and that warm water (with the optional espresso powder mixed in). Give it a quick mix. The batter might look quite thin at this stage, but do not worry! That is exactly what we want for a moist square cake.
Step 4: Sift and Whisk
Add your flour, baking soda, baking powder, and that coarse sea salt. Sift the cocoa powder right over the top to get rid of any lumps. Whisk everything together for about 30 seconds until it is just combined. Avoid over-mixing to keep the cake light and airy.
Step 5: Bake to Perfection
Pour your beautiful batter into the prepared pan. Bake for 30-35 minutes. You will know it is done when the top gently springs back when touched, or a tester comes out clean. The smell in your kitchen will be absolutely fantastic!
Step 6: Cool and Frost
Let the cake cool completely in the pan. While it rests, whip up your chocolate frosting by beating the butter until creamy, then adding the powdered sugar, cocoa, milk, and salt. Spread it thick over the cooled cake and add your favorite chocolate curls or pearls for a pretty finish.
Pop It Up with Jasmine’s Tips

One of my favorite ways to ensure a perfect bake is to use room temperature ingredients, especially the eggs and buttermilk. This helps the batter emulsify beautifully for a consistent crumb. If you are looking for another simple way to change things up, check out our minimalist cake for more easy baking inspiration.
Another pro tip: sifting the cocoa powder is non-negotiable! Cocoa tends to clump, and sifting ensures you don’t end up with bitter dry pockets in your cake. For more great chocolate tips, you can also see this everyday chocolate cake guide. Finally, try using a metal pan for the sharpest edges on your square slices!
Make It Yours with Simple Swaps
I love a recipe that encourages a little creativity. If you want a different flavor pop, try swapping the vanilla extract for almond extract or adding the zest of one large orange to the batter. For a fruity twist that still feels simple, you might enjoy our fresh strawberry sheet cake.
You can also change the texture by folding in half a cup of mini chocolate chips or chopped toasted walnuts. If you want a spiced version, a teaspoon of cinnamon added with the cocoa powder creates a wonderful Mexican chocolate vibe that is truly special. The possibilities for personalizing this bake are endless!
Flavor Pairings for Your Square Cake

Serving this cake is just as fun as baking it! I love to serve a thick slice with a dollop of lightly sweetened whipped cream and a handful of fresh raspberries. The tartness of the berries provides a vibrant contrast to the rich chocolate. For a fun, portable option, you could even style these like a lunch box cake for a sweet surprise in a friend’s day.
If you are serving this for a cozy evening, a warm cup of coffee or a spicy chai tea is the perfect companion. The heat from the drink melts the frosting slightly on your tongue, making each bite feel like a warm hug. You can also serve it with a scoop of vanilla bean ice cream for a classic dessert duo that never fails to please a crowd.
Keep the Flavor Popping
I am so excited for you to try this square cake and see how a few simple choices can create such a joyful chocolate moment. Whether it is the espresso powder secret or the tang of the buttermilk, these little pops of flavor are what make baking so much fun. If you find yourself needing a larger version for a bigger crowd, don’t miss our rectangle cake recipe! Happy baking, and don’t forget to share your creations with us on Instagram, Pinterest, and Facebook. Seeing your simple bakes come to life brings me so much joy!







