Decadent Mocha Cake Recipe for Coffee Lovers

If you love coffee and chocolate but are tired of cakes that offer only a whisper of espresso, this mocha cake will satisfy your craving. The mocha buttercream is adjustable—you dissolve instant espresso or instant coffee into warm milk or coffee and add it to taste—so you can make the coffee flavor as subtle or bold as you like. Pair that frosting with a rich chocolate cake base that produces a tender crumb and you get a dependable layer cake that tastes great from the first slice to the last.

Round cake with light brown frosting, decorated with swirls of frosting and chocolate-covered coffee beans on top, sits on a white plate. There is a glass of coffee and scattered beans nearby, set against a blue background.

The Best Mocha Cake (Rich Chocolate Layers + Mocha Buttercream)

I developed this layered mocha cake using a tested chocolate cake base converted into round pans and stacked with a mocha buttercream. The frosting relies on instant espresso or instant coffee granules for real coffee flavor without an espresso machine. I prefer this combination of deep chocolate and true coffee notes—it’s one of my favorite desserts to make and share.

A slice of chocolate layer cake with light brown frosting is being lifted from a decorated cake, topped with swirls of frosting and dark round candies. A cup and a bowl of similar candies are in the background.

The chocolate cake is flexible: bake 2 layers for a classic cake, 3 layers for height, or split layers to create a 4-layer showstopper. For the frosting, start with about 2 teaspoons of instant espresso dissolved in warm milk and increase based on your taste until you reach a mocha-forward frosting rather than plain chocolate buttercream.

Various labeled baking ingredients in white bowls on a white surface, including butter, milk, espresso, salt, powdered sugar, flour, cocoa powder, granulated sugar, baking powder, oil, eggs, chocolate, buttermilk, coffee, baking soda, and vanilla.

Key Ingredients & What They Do

Quick overview of the most important ingredients and why they matter. See the recipe card below for full quantities and the step-by-step instructions.

  • Bittersweet chocolate and cocoa powder: Using both melted bittersweet chocolate and natural cocoa powder deepens the chocolate flavor beyond what cocoa alone provides.
  • Hot coffee: Dissolving cocoa into hot coffee intensifies chocolate flavor and gives the cake a bakery-quality depth. If necessary, you can use hot water, but coffee contributes real flavor.
  • Buttermilk: Adds a slight tang and keeps crumb moist for days—helpful when baking ahead. If you don’t have buttermilk, you can make a quick substitute with milk and an acid.
  • Vegetable oil: Keeps the cake tender and moist. Any neutral oil like canola or light olive oil works.
  • Room-temperature butter: For the buttercream, beat butter on high for several minutes to make it light and spreadable rather than dense.
  • Instant coffee or espresso granules: Dissolve these in warm milk or coffee before adding to buttercream so they blend smoothly; adjust the amount to taste.
A hand holds a jar of Nescafé Gold Espresso Intense coffee. The jar has a gold lid and a black label with a coffee cup image. The background shows a kitchen with wooden floors and white doors.

You Pick the Number of Layers

Choose how many layers you want depending on the occasion. Bake two 8-inch layers for a simple cake, three layers for a taller celebration cake, or bake two and split each to make a four-layer cake. For a 2-layer cake plan about 1 cup of frosting between layers; for a 3-layer cake plan about ¾ cup between layers.

A slice of chocolate cake with creamy frosting, topped with swirls and chocolate-coated coffee beans, on a white plate with a fork. Blurred coffee and more cake are in the background.

How to Make Mocha Cake

A woman in a striped shirt mixes ingredients in a green bowl in a kitchen, standing at a counter near a stove. The image is labeled “1.” in the top left corner.
A woman in a striped shirt holds a glass bowl of melted chocolate and lifts some with a spoon. There is a 2. label in the top left corner.

Begin by whisking all dry ingredients (flour, cocoa powder, sugar, baking powder, baking soda, salt) in one bowl. In another bowl combine melted and cooled bittersweet chocolate with oil, eggs, buttermilk, hot coffee, and vanilla.

A woman wearing a striped shirt stirs ingredients in a glass measuring cup on a kitchen counter. A number 3. is shown in a green box in the corner.
A woman in a striped shirt stirs ingredients in a measuring cup on a kitchen counter. A green box with the number 4 appears in the upper left corner.

Add the dry ingredients to the wet in batches and mix just until combined—overmixing creates a dense, tough crumb. Divide the batter evenly between pans; a kitchen scale helps keep layers the same thickness. Bake at 350°F (175°C) and test for doneness with a toothpick.

Two round cake pans filled with chocolate batter are placed on a speckled countertop. A green box in the top left corner displays the number 5 in white.
Two round chocolate cake layers cool on a wire rack on a granite countertop. The top layer has some cracks and holes. A green box with the number 6 is in the top left corner.

Let layers cool in the pans for 20–30 minutes, then remove and cool completely on a rack. Frosting warm cakes will melt the buttercream and cause slipping, so be patient.

For the mocha buttercream, beat room-temperature butter on high for 3 minutes until light. Dissolve instant coffee or espresso granules in warm milk or coffee, add to the butter, then add salt and powdered sugar one cup at a time, mixing on low until incorporated. Taste the frosting and add more instant coffee granules a teaspoon at a time until you reach the mocha intensity you prefer. If the frosting is too soft, add more powdered sugar to reach a spreadable consistency.

A round chocolate cake with light brown frosting sits on a white cake stand. There is a green square with the number 7 in the upper left corner.
A hand uses a spatula to spread brown frosting on a round cake placed on a white cake stand. A green box with the number 8 appears in the top left corner.

Assemble the cake by placing a small dab of frosting on the serving plate to hold the bottom layer in place. Spread the recommended amount of frosting between each layer—about 1 cup per layer for a 2-layer cake, ¾ cup per layer for a 3-layer cake—and use the remaining frosting to cover the top and sides. Reserve about 1 cup of frosting if you plan to pipe swirls with a star tip, and finish with chocolate-covered espresso beans or a light dusting of instant espresso if desired.

A piping bag adds swirls of light brown frosting to the top of a round cake on a white stand, with a green box showing the number 9 in the corner.
A hand places a coffee bean on top of a swirl of frosting on a round cake with light brown icing, displayed on a white cake stand. A green box with the number 10 appears in the upper left corner.

Pro Tips for the Best Mocha Flavor

Taste the buttercream as you go before declaring it finished. Instant espresso and instant coffee brands differ in strength, so adjust the amount to suit your preference. If the coffee flavor seems weak, add a little more dissolved granules; if it becomes too strong, add more powdered sugar and a touch more milk to rebalance texture and flavor.

A slice of two-layer chocolate cake with light brown frosting and chocolate decorations is being lifted from a frosted cake on a white plate.

Storing Mocha Cake

To store: Keep the frosted cake covered at room temperature. It stays moist through day two and three.

To make ahead: Bake the layers up to two days in advance. Once cool, wrap each layer tightly in plastic wrap and keep them at room temperature out of direct sunlight. Frost the cake the day you plan to serve so buttercream stays fresh and holds piped decorations. You can make the frosting ahead and store it covered; rebeat before using to restore a smooth texture.

To freeze unfrosted layers: Wrap cooled layers individually in plastic and freeze. Thaw at room temperature while still wrapped, then frost when fully thawed.

To freeze slices: Wrap individual slices tightly in plastic and foil and freeze up to a month. Thaw in the refrigerator overnight, then bring to room temperature before serving to avoid buttercream weeping.

To freeze frosting: Store buttercream in an airtight container in the freezer for up to a month. Thaw in the refrigerator overnight, bring to room temperature, and rebeat until smooth and spreadable.

A slice of chocolate layer cake with light brown frosting on a white plate, next to a glass mug of black coffee and chocolate-covered coffee beans. More cake slices are visible in the background.

Mocha Cake from Scratch — FAQs

Can I make this gluten free?

Yes. Use a trusted 1:1 gluten-free baking flour blend in place of all-purpose flour; many bakers report good results with reputable measure-for-measure blends.

Do I need espresso powder, or will instant coffee work?

Either works. Espresso powder is a bit more concentrated and gives a bolder coffee note, but instant coffee granules will provide genuine coffee flavor in the buttercream.

What if I don’t own multiple round pans?

Bake in batches. The batter holds well while the first pan bakes, so you can make a multi-layer cake even with only one or two pans.

If you have been craving true coffee and chocolate together, this mocha cake is worth making next. Bake it for a birthday, a holiday, or simply because you want a celebration-worthy dessert—then enjoy every mocha-rich bite.

A slice of chocolate layer cake with mocha frosting sits on a white plate, with chocolate-covered coffee beans beside it. A clear mug of black coffee and more cake slices are in the background.

Recipe: Mocha Cake

Yields: 16 servings

Prep time: 20 minutes • Cook time: 30–45 minutes depending on pan count • Cooling: about 2 hours

Equipment

  • 8-inch round cake pans
  • Parchment paper circles (for lining pans)
  • Hand mixer or stand mixer
  • Piping bag and star tip for piped swirls (optional)

Ingredients — Chocolate Cake

  • 2 cups (240 g) all-purpose flour
  • ½ cup (42 g) unsweetened natural cocoa powder
  • 1¾ cups (346 g) granulated sugar
  • 2 tsp baking powder
  • ½ tsp baking soda
  • 1 tsp salt
  • 3 oz bittersweet chocolate, melted and cooled
  • ½ cup (100 g) vegetable oil
  • 3 large eggs
  • 1 cup (227 g) buttermilk
  • ½ cup (111 g) hot strong coffee (or hot water)
  • 1 tsp vanilla extract

Ingredients — Mocha Frosting

  • 2½ cups (565 g) unsalted butter, room temperature
  • 2 tbsp warm milk or coffee
  • 2 tsp instant coffee or instant espresso granules, dissolved in warm liquid
  • ⅛ tsp salt
  • 3–5 cups (339–567 g) powdered sugar, to taste and needed consistency
  • Additional 1–2 tsp instant coffee granules, optional to intensify coffee flavor
  • Chocolate-covered espresso beans for decoration (optional)

Instructions — Chocolate Cake

  1. Preheat oven to 350°F (175°C). Grease two or three 8-inch pans and line bottoms with parchment circles.
  2. Whisk together flour, cocoa powder, sugar, baking powder, baking soda, and salt in a large bowl.
  3. Melt the bittersweet chocolate and let it cool slightly.
  4. In a separate bowl whisk melted chocolate, oil, eggs, buttermilk, hot coffee, and vanilla until combined.
  5. Gradually add dry ingredients to wet and mix just until combined. Avoid overmixing.
  6. Divide batter evenly between pans (use a scale for even layers). Bake 2 pans for about 35–45 minutes or 3 pans for about 30–37 minutes, until a toothpick comes out clean.
  7. Cool in pans 20–30 minutes, then remove and cool completely on a rack before frosting.

Instructions — Mocha Frosting

  1. Beat room-temperature butter on high for 3 minutes until light and fluffy.
  2. Dissolve 2 tsp instant coffee or espresso granules in 2 tbsp warm milk or coffee and add to the butter. Beat until mostly combined.
  3. Add ⅛ tsp salt and 3 cups powdered sugar one cup at a time, mixing on low after each addition. Adjust powdered sugar to reach desired sweetness and texture.
  4. Taste the frosting. If you want a stronger coffee flavor, add 1–2 additional teaspoons of instant granules, tasting as you go. Add more powdered sugar if needed to firm the consistency.

Assemble the Cake

  1. Level the cooled cakes if needed. Spread a small amount of frosting on the serving plate to anchor the bottom layer.
  2. Place the first layer and spread about 1 cup frosting for a 2-layer cake (¾ cup for a 3-layer cake). Top with the next layer and repeat. Use remaining frosting to cover sides and top.
  3. If piping swirls, reserve about 1 cup of frosting, fit a piping bag with a star tip and decorate. Top with chocolate-covered espresso beans or a light dusting of instant espresso if desired.

Notes

  • Use a high-quality instant espresso or instant coffee for best mocha flavor.
  • Gluten-free option: substitute a 1:1 gluten-free flour blend.
  • Store covered at room temperature; cake stays moist for a couple of days.
  • Frozen unfrosted layers keep well; thaw wrapped and then frost.