Home » Cakes & Cupcakes » Square Chocolate Cake (8×8 Cake)

Square Chocolate Cake (8×8 Cake)

*This post may contain Amazon Associate Affiliate links. Read more »

This Square Chocolate Cake Recipe is rich, moist, and deeply chocolatey. Just the kind of dessert you turn to when you want something comforting and homemade without the effort of layering or decorating. If you love simple, single-layer cakes like my Square Vanilla Cake you’ll be obsessed with this one too. Baked in a classic 8×8 inch square cake pan, this moist chocolate cake is topped with a silky chocolate buttercream frosting for the ultimate small batch chocolate cake!

A plate of chocolate cake on a table with a cup of coffee.

This Cake? I’m Fully Obsessed.

I’ve baked a lot of chocolate cakes over the years but this square chocolate cake is the one I keep coming back to. It’s just… everything.

The texture is so soft and moist it practically melts in your mouth, but it still holds that light, fluffy crumb that makes each bite feel effortless.

It’s rich and chocolatey without being over-the-top. Comforting but not basic. And honestly? I wasn’t prepared for how good it would be, especially considering how simple it is to make. One bite in and I was fully hooked.

And don’t even get me started on that buttercream. It’s the kind of chocolate frosting that spreads like velvet, hits the perfect sweet spot, and instantly makes the whole thing feel like a bakery cake, minus the fuss.

If you’re looking for a quickchocolate cake you’ll make once and then think about forever… this is it.
Sam x

A close up of a square of chocolate cake.

Ingredients you’ll need

  • All-purpose flour
  • Baking powder
  • Granulated sugar
  • Light brown sugar
  • Cocoa powder (Dutch-process or natural)
  • Instant coffee powder (optional)
  • Boiling water
  • Extra virgin olive oil
  • Eggs
  • Vanilla extract
  • Salt
  • Unsalted butter
  • Powdered sugar
  • Whole milk

Find the full ingredients, measurements, and method in the recipe card below.

Four images showing how to make square chocolate cake.

How many people can an 8-inch square cake serve?

An 8-inch square cake can typically be cut into 16 equal squares, making it ideal for serving up to 16 people if each guest receives one square. This portion size works well for both casual gatherings and family events, ensuring everyone enjoys a delightful piece of cake.

Four photos showing how to make chocolate cake.

Do I have to use instant coffee in the batter?

Nope, it’s totally optional. It won’t make the cake taste like coffee, but it deepens the chocolate flavor beautifully if you do include it.

Four images showing how to make chocolate buttercream frosting.

Can I bake this chocolate cake in a round pan instead of square?

Yes! This recipe can be baked in an 8-inch round cake pan instead of an 8×8 square pan with great results. Just keep in mind that the batter will sit a little deeper in the center of a round pan, which may affect the baking time slightly. Check for doneness 1–2 minutes earlier, and use the skewer test, it should come out clean or with a few moist crumbs. The texture and rise will still be just as soft and delicious.

A plate of moist chocolate cake squares with chocolate buttercream frosting.
A plate of square chocolate cake pieces on a white plate.

Square Chocolate Cake (8×8 Cake)

No ratings yet
This moist Square Chocolate Cake is baked in an 8×8 pan and topped with chocolate buttercream. A rich, easy 8 inch square cake recipe for small batch baking.
Prep Time 25 minutes
Cook Time 30 minutes
Total Time 55 minutes
Servings 16 Squares

Ingredients
 
 

Chocolate Cake
  • 1 1/4 cups (150g) all-purpose flour, scooped & leveled
  • 2 tsp baking powder
  • 1/2 cup granulated sugar
  • 1/4 cup lightly packed brown sugar, how to measure brown sugar
  • 1/2 tsp salt
  • 1/2 cup Dutch-process cocoa powder, or natural unsweetened cocoa powder
  • 1 Tbsp instant coffee powder
  • 1 cup (240ml) boiling water
  • 1/3 cup extra virgin olive oil
  • 2 large eggs, at room temperature
  • 1 tsp vanilla extract
Chocolate Buttercream Frosting
  • 113 g (1 stick / 1/2 cup) unsalted butter, softened to room temperature
  • 1 3/4 cups (210g) powdered sugar
  • 1/4 cup Dutch-process cocoa powder, or natural unsweetened cocoa powder
  • 2 Tbsp whole milk
  • 1 tsp vanilla extract
  • Pinch of salt

Method
 

Chocolate Cake
  • Preheat Oven: Preheat oven to 356ºF (180ºC). Line a square 8×8 inch baking pan with parchment paper, set aside. Note: Alternatively, if you have a non-stick pan, liberally grease it with softened/spreadable butter and dust it with a light layer of cocoa powder. This will leave your finished cake with smooth sides.

  • Mix dry ingredients: In a medium-size mixing bowl, add flour, baking powder, both sugars and salt. Whisk until well combined and set aside.
  • Sift cocoa powder: In a separate large mixing bowl, sift in the cocoa powder.
  • Add coffee powder: Whisk the instant coffee with the cocoa powder.
  • Add boiling water: Pour in boiling water and whisk until the cocoa dissolves. Set aside to cool slightly for 10 minutes. If it’s still too warm to the touch, leave it for a further 5 minutes, you don’t want the eggs to curdle when added.
  • Add wet ingredients: Pour in olive oil, eggs, and vanilla. Whisk for 40 seconds until well combined.
  • Combine wet and dry: Add all of the flour mixture and whisk gently until just combined. Be careful not to overmix, stop as soon as no streaks of flour remain. The batter will be thin.
  • Pour into pan: Pour batter into the prepared pan.
  • Bake: Bake for 28–30 minutes or until a skewer inserted into the middle comes out clean or with only a few moist crumbs.
  • Cool: Remove from oven and allow to cool in the pan for 15 minutes.
Carefully remove from the pan and transfer to a wire rack to cool completely before adding the frosting.
Chocolate Buttercream Frosting
  • Beat Butter: In a large mixing bowl, beat the softened butter for 2 minutes until creamy.
  • Sift Sugar & Cocoa: In a separate bowl, sift together the powdered sugar and cocoa powder to remove any lumps and combine evenly.
  • Add Sugar & Cocoa Gradually: Gradually add the sifted mixture to the butter, half a cup at a time, beating well (about 15 seconds) after each addition.
  • Add Milk, Vanilla and Salt: Add the milk, vanilla extract and salt, then beat for 1 minute until the frosting is light and fluffy.
  • Frost Cake: Once the cake is completely cooled, spread the chocolate buttercream evenly over the cake.
  • Serve: Cut into squares and serve. Enjoy!

Nutrition

Calories: 235kcalCarbohydrates: 33gProtein: 3gFat: 11gSaturated Fat: 5gPolyunsaturated Fat: 1gMonounsaturated Fat: 5gTrans Fat: 0.2gCholesterol: 36mgSodium: 86mgPotassium: 151mgFiber: 2gSugar: 23gVitamin A: 209IUCalcium: 39mgIron: 1mg

Notes

Store: Keep your cake in an airtight container at room temperature, where it will stay fresh for up to three days.
Freeze: For extended storage, wrap the cake well and freeze it for up to three months.
Thaw: When ready to serve, thaw the cake in the refrigerator overnight or for several hours at room temperature until soft.

Tried this recipe?

Let us know how it was!

Leave a Reply

Your email address will not be published. Required fields are marked *

Recipe Rating