Preheat your oven to 350°F. Grease an 8- or 9-inch round cake pan—or use an 8-inch square one if that’s what you have. For extra peace of mind, line the bottom with parchment paper: just trace the pan onto the paper, cut it out, and pop it inside after greasing.
In a large bowl, whisk together all your dry ingredients: flour, cocoa powder, sugar, salt, espresso powder, and baking soda. Give it a good, vigorous whisk to break up any cocoa clumps and get everything nicely mixed.
Now pour in your wet ingredients: brewed coffee, olive oil, vanilla extract, and vinegar. Whisk it all together until the batter is smooth. You might see it get a little foamy—that’s just the baking soda and vinegar doing their thing. Stop whisking once everything is fully combined and lump-free. Don’t overdo it or your cake might turn out dense.
Pour the batter into your prepared pan and bake:
25–30 minutes for a 9-inch round
30–35 minutes for an 8-inch round or square
It’s done when the top springs back to a light touch and a toothpick comes out clean.
Let the cake cool in the pan on a rack for 10 minutes. Then carefully turn it out onto the rack, peel off the parchment, and flip it right-side up onto a serving plate.
Let it cool completely while you whip up the ganache—it’s about to get extra delicious! 🍫✨