This Mocha Raspberry Cake has two layers of moist chocolate cake, a layer of sweet raspberry filling, frosted with silky mocha buttercream, and topped with fresh raspberries! This impressive cake is perfect for celebrating.

Birthday cakes are a thing around here. I talk about my housemates a lot, and one of the perks of being my housemate? A custom-made, just-for-you birthday cake.
My friends are the best resource I have for brainstorming baked goods. The other night, a few of us were sitting on my bed. I mentioned I wanted to make something with M&Ms. All of their eyes got wide as they sat, debating ideas and the pros and cons of each, barely taking a breath as every M&M dessert idea they had was thrust at me. I didn’t say one word for about five minutes as they did this.
Finally, they slowed down, and someone turned to me and said, “You probably already have an idea for this that’s better than all of ours, huh?” I proposed the idea for the Oatmeal M&M Peanut Butter Skillet Cookie, and they all agreed. It was the winner.

But my ideas are definitely not always the winners. When it comes to birthday cakes, the flavor choices are all theirs.
My friend Mariah’s birthday was a few weeks ago, and I’ve known her favorite flavors since we became friends four years ago. Dark chocolate (not milk chocolate), caramel, coconut, coffee, and raspberries. Her birthday cake two years ago checked off the first two with this ridiculous chocolate layer cake. I sandwiched both homemade caramel AND caramel buttercream in the center, and the whole thing was topped with chocolate ganache. Check out the throwback Instagram picture to see.
So, naturally, I had to pick other flavors to do this year. She requested something mocha-flavored, and I went back and forth until the cakes were already baked about whether I wanted to do raspberry with the mocha. I couldn’t decide if it’d be weird. Guys…it’s sooo not weird.

Let’s make a Mocha Raspberry Cake!
The cake layers are made using my go-to chocolate cake recipe. It comes together so quickly & easily and produces a super-flavorful, moist chocolate cake. However, I did switch out the water for coffee. It doesn’t come through too strongly, but it does amp up the chocolate flavor and brings out the mocha frosting.
The raspberry filling uses raspberry jam to get that fruity flavor. Use seedless jam for a totally smooth buttercream.
Once you’ve assembled the cake and filling, you’ll apply a thin crumb coat of our mocha frosting. This frosting is a creamy, super-chocolatey frosting that has instant coffee granules added for a kick of coffee flavor. My instant coffee granules dissolved pretty easily right in the frosting. If yours are more granular and you want a completely smooth frosting, dissolve them in the heavy cream. Feel free to play with the amount as well. I left it so the coffee flavor is subtle but definitely there. You can add more or less depending on preference.

How to decorate the layer cake
After you crumb coat the cake and place it in the fridge to set, you’re going to slather it with the rest of that frosting. I was not a perfectionist in my frosting method. I used my offset spatula to create a vertical stripe pattern by pulling it up the sides of the frosted cake. Easy peasy. Decorate as you please! After frosting the cake, arrange the raspberries on top. I adore the way the raspberries look on top of the cake, and the dusting of powdered sugar that dresses it up.
This cake is perfect for celebrating and is definitely a showstopper. The birthday girl declared that this cake is what dreams are made of. I couldn’t ask for more than that. Enjoy!

Want more layer cake recipes?
- The Ultimate Snickers Cake
- Midnight Binge Cake
- Banana Layer Cake with Chocolate Cream Cheese Frosting
- Mom’s Favorite Yellow Cake with Chocolate Frosting

Mocha Raspberry Cake
Ingredients
For the cake
- 2 cups (8.5 oz) all-purpose flour
- 1 cup (7 oz) granulated sugar
- 1 cup (7 oz) brown sugar
- 1 cups (3 oz) unsweetened cocoa powder
- 2 teaspoons baking soda
- 1 teaspoon baking powder
- 1 teaspoon salt
- 2 large eggs, + 1 egg white
- 1 cup buttermilk
- 1 cup warm brewed coffee
- ⅓ cup plus 1 tablespoon vegetable oil
- 2 teaspoons vanilla extract
For the raspberry filling
- ½ cup (1 stick) unsalted butter, softened to room temperature
- ¼ cup seedless raspberry jam
- 1 cup powdered sugar
For the mocha buttercream
- 1 cup (2 sticks) unsalted butter, room temperature
- 2 cups powdered sugar
- ½ cup cocoa powder
- 2 teaspoons instant coffee, or to taste
- ½ teaspoon salt
- 1 tablespoon vanilla extract
- ¼ cup heavy cream
To assemble
- 2 cups fresh raspberries
- Powdered sugar, optional
Instructions
For the cake
- Preheat oven to 350ºF. Butter two 9-inch round cake pans, and dust with flour, tapping out excess.
- Combine flour, sugars, cocoa, baking soda, baking powder, and salt into the bowl of a mixer. Mix on low. Add eggs, buttermilk, coffee, oil, and vanilla. Beat on medium speed until smooth and completely combined.2 cups (8.5 oz) all-purpose flour, 1 cup (7 oz) granulated sugar, 1 cup (7 oz) brown sugar, 1 cups (3 oz) unsweetened cocoa powder, 2 teaspoons baking soda, 1 teaspoon baking powder, 1 teaspoon salt, 2 large eggs, 1 cup buttermilk, 1 cup warm brewed coffee, ⅓ cup plus 1 tablespoon vegetable oil, 2 teaspoons vanilla extract
- Divide batter evenly among pans. Bake until cakes are set and a toothpick inserted into the center of each comes out clean, about 35 minutes. Let cool in pans set on a wire rack for 15 minutes. Turn out cakes onto racks, and let cool completely.
For the raspberry filling
- In the bowl of a stand mixer, fitted with paddle attachment (or any large mixing bowl, if using hand-held beaters), beat the butter on medium-high speed until creamy, about 3-5 minutes. Add the raspberry jam and beat to combine. Turn the mixer down to low speed, and add the powdered sugar. Beat until smooth. Cover and set aside until ready to use.½ cup (1 stick) unsalted butter, ¼ cup seedless raspberry jam, 1 cup powdered sugar
For the mocha buttercream
- Place room temperature butter and vanilla into a stand mixer and beat at medium-high for about three minutes.1 cup (2 sticks) unsalted butter, 1 tablespoon vanilla extract
- Add cocoa, instant coffee and salt to the bowl beat into the butter until the coffee has broken down and the mixture is smooth, 1-2 minutes.½ cup cocoa powder, 2 teaspoons instant coffee, ½ teaspoon salt
- Add in one cup of the powdered sugar. Turn mixer on to low and then slowly add in remaining powdered sugar.2 cups powdered sugar
- With mixer still on low, slowly drizzle in the heavy cream. Turn mixer to medium high and mix for 2-3 minutes, or until light and fluffy.¼ cup heavy cream
To assemble
- On a cake plate or board, place one cake layer. Spread raspberry buttercream filling evenly on top of the cake using an offset spatula.
- Carefully place the other cake layer top-down on the frosting, so the top is flat. Adjust the cake so that the sides are lined up evenly.
- Frost the entire outside of the cake with a thin layer of the chocolate mocha buttercream. Place in the refrigerator for 30 minutes to lock in the crumb coat.
- Frost the cake as desired, and arrange raspberries on top of the cake. Dust with powdered sugar if desired.2 cups fresh raspberries, Powdered sugar
Notes
So I saw this on Instagram and HAD to click over! This looks absolutely amazing, and I love your creativity as well! Do you think you could ship some to me by any chance? ;)
I need this cake in my life! I am smitten with that filling!
What a beautiful cake! I love the combination of mocha and raspberry. You have a very, very lucky friend!
This is absolutely fantastic! Like wowza!
SO beautiful!Your friend must have loved this. I love asking my friends what their favorite desserts are and then creating a cake around it.
So, I have a birthday coming up in about six weeks. Maybe you can pretend I’m one of your housemates? :) This cake sounds so, so right! Fabulous!
Gorgeous! A while back, I had a craving for a chocolate raspberry cake and I made something similar. Now I am craving it again. I love the sound of the mocha buttercream. This is a fabulous birthday or any special day cake for sure!
Perfect for my raspberry obsession! This cake is a real stunner! Pinned!
Your friends are lucky! This cake looks amazing and the combination of flavors sounds delicious! My birthday is in July.. *hint hint :D
Um, where can I sign up to be a housemate? This is seriously incredible, like, my jaw is on the floor. Mocha and raspberry sounds delicious and you executed it so beautifully!