Go Back
+ servings
Chocolate Espresso Sourdough Cupcake with espresso buttercream frosting

Sourdough Chocolate Cupcake Recipe


Yield: 16 cupcakes
Prep Time: 15 minutes
Cook Time: 15 minutes
Total Time: 30 minutes

Sourdough Chocolate Espresso Cupcakes - combine the tangy notes of sourdough discard with the richness of unsweetened chocolate powder and the boldness of espresso. Top these delectable treats with a velvety espresso buttercream frosting for a perfect balance of sweetness and coffee-infused delight.

5 from 7 votes

Ingredients

Dry Ingredients

  • 140 grams all-purpose flour, sifted 1 cup
  • 40 grams unsweetened cocoa powder 1/2 cup
  • 3 grams espresso powder 1 Tablespoon
  • 4 grams baking powder 1 teaspoon
  • 3 grams baking soda 1/2 teaspoon
  • 1 gram salt 1/4 teaspoon

Wet Ingredients

  • 60 grams milk, room temperature 1/4 cup
  • 140 grams sour cream, room temperature 1/2 cup
  • 140 grams sourdough discard, room tempearture heaping 1/2 cup
  • 113 grams unsalted butter, melted 1/2 cup
  • 100 grams white sugar 1/2 cup
  • 110 grams light brown sugar 1/2 cup
  • 2 large eggs room temperature
  • 4 grams vanilla extract 1 teaspoon

Espresso Buttercream Frosting

  • 226 grams unsalted butter, room temperature 1 cup
  • 325 grams powdered sugar 2 1/2 cups
  • 1 espresso shot, cooled 1 teaspoon of powder in 4 Tablespoons of hot water
  • pinch of salt

Instructions

  1. Preheat the oven to 350 degrees F and line a cupcake tin with cupcake liners. 
    Tip: To help prevent the cupcake liners from sticking to the cupcakes, spray the liners lightly with cooking spray before adding the batter. 
  2. In a medium bowl, whisk together the flour, cocoa powder, espresso powder, baking powder, baking soda, and salt. Set to the side. 
    140 grams all-purpose flour, sifted, 40 grams unsweetened cocoa powder, 3 grams espresso powder, 4 grams baking powder, 3 grams baking soda, 1 gram salt
  3. In a liquid measuring cup, whisk together the milk, sour cream, and sourdough discard until smooth. 
    60 grams milk, room temperature, 140 grams sour cream, room temperature, 140 grams sourdough discard, room tempearture
  4. In a large mixing bowl, whisk together the melted butter and sugars.
    113 grams unsalted butter, melted, 100 grams white sugar, 110 grams light brown sugar
  5. Next, add in the eggs and sourdough discard mixture, and mix until combined. Scrape the sides of the bowl when needed. Add vanilla extract and mix well. 
    2 large eggs, 4 grams vanilla extract
  6. Finally, add the dry ingredients to the wet ingredients. Mix by hand with a spatula until all of the ingredients are just combined.
    Be careful to not over mix. This can lead to a dense cupcake.
  7. LONG FERMENT: To long ferment, cover the just-mixed batter and place it into the fridge overnight. The following day, divide the batter evenly in the muffin pan and bake. You might need to add a few minutes to the bake time since the batter is chilled.
  8. This recipe bakes about 16 cupcakes, so you will need to bake them in batches. Divide the batter evenly into 16 cupcake liners and fill about 3/4 of the way full. 
  9. Bake the Sourdough Chocolate Espresso Cupcakes for 15-16 minutes. The cupcakes are done when a toothpick comes out clean. 
  10. Remove the cupcakes from the oven. Keep the cupcakes in the cupcake tin for an additional 5 minutes, then place them on a wire rack to cool completely.

Espresso Buttercream Frosting

  1. In a stand mixer with a whisk attachment, beat the room-temperature butter at medium speed for 2 minutes, or until light and fluffy.
    This can also be done with a hand mixer.
    226 grams unsalted butter, room temperature
  2. Next, add the powdered sugar to the butter, one cup at a time at medium speed. 
    325 grams powdered sugar
  3. Finally, add the cooled shot of espresso and salt. Mix until combined. 
    1 espresso shot, cooled, pinch of salt

Notes

This recipe card was updated on February 23rd, 2026.

Recipe Tips

  • For the best results, it is important that all of the ingredients are at room temperature - even the sour cream!
  • I also highly recommend using a kitchen scale while baking this recipe. This tool will ensure the most accurate and consistent bake.
  • Got a bigger crowd? I also have a full Sourdough Guinness Chocolate Cake recipe, as well!
  • LONG FERMENT: To long ferment, cover the just-mixed batter and place it into the fridge overnight. The following day, divide the batter evenly in the cupcake tin and bake. You might need to add a few minutes to the bake time since the batter is chilled.

How to Decorate

You can frost the tops of these Sourdough Chocolate Espresso Cupcakes with a frosting knife or with a piping bag. I used a Wilton 1M piping tip to decorate my cupcakes.  
Leave these sourdough chocolate cupcakes clean and simple or continue to decorate with dark chocolate shavings, mini chocolate chips, espresso beans, or fresh fruit!

How to Store

Leftover Sourdough Chocolate Espresso Cupcakes are to be stored in an airtight container in the fridge for up to 5 days, but they are best served at room temperature. Remove the cupcakes from the fridge at least 1 hour before serving. 

Nutrition

Serving: 1g | Calories: 356kcal | Carbohydrates: 44g | Protein: 3g | Fat: 20g | Saturated Fat: 12g | Polyunsaturated Fat: 1g | Monounsaturated Fat: 5g | Trans Fat: 1g | Cholesterol: 72mg | Sodium: 120mg | Potassium: 93mg | Fiber: 1g | Sugar: 33g | Vitamin A: 620IU | Vitamin C: 0.1mg | Calcium: 47mg | Iron: 1mg
Tried this recipe?Please leave a comment on the blog or share a photo on Instagram!