Go Back
Moist lemon cupcakes with raspberry filling on a white plate

Moist Lemon Cupcakes with Raspberry Filling

These moist cupcakes feature bright lemon flavor, a raspberry core, and silky lemon buttercream frosting, making them perfect for brunches and parties.
Prep Time 30 minutes
Cook Time 20 minutes
Total Time 50 minutes
Servings: 12 cupcakes
Course: Dessert, Snack
Cuisine: American, Baked Goods
Calories: 260

Ingredients
  

For the Cupcakes
  • 3/4 cup granulated sugar
  • 1 tablespoon lemon zest (packed)
  • 1 1/2 cups cake flour Measure properly by spooning into the cup and leveling.
  • 1/3 cup finely chopped pistachios
  • 2 teaspoons baking powder
  • 1/2 teaspoon fine sea salt
  • 6 tablespoons cubed unsalted butter (room temperature)
  • 1/2 cup sour cream (room temperature)
  • 1/2 cup whole milk (room temperature)
  • 1/3 cup vegetable oil
  • 1 large egg (room temperature)
  • 2 tablespoons fresh lemon juice
  • 1 teaspoon vanilla extract
For the Raspberry Filling
  • 3 cups fresh or frozen raspberries If using frozen, do not thaw fully.
  • 1/4 cup granulated sugar For compote
  • 2 teaspoons fresh lemon juice For compote
  • 1 tablespoon cornstarch
  • 1 tablespoon water
For the Lemon Buttercream
  • 1 1/2 cups unsalted butter (room temperature)
  • 2 cups powdered sugar
  • 3 tablespoons heavy cream
  • 1 tablespoon fresh lemon juice For buttercream
  • 2 teaspoons lemon zest For buttercream
For Decorating
  • Chopped pistachios For decorating
  • Fresh raspberries For decorating

Method
 

Preparation
  1. Line a 12-cup cupcake pan with liners and preheat the oven to 350°F (180°C).
  2. Rub the lemon zest into the granulated sugar until the mixture looks like wet sand.
  3. In a mixing bowl, whisk together cake flour, lemon-scented sugar, chopped pistachios, baking powder, and salt.
  4. Mix in cubed butter on low speed for 3 minutes until resembling coarse sand.
  5. In a separate bowl, whisk together sour cream, milk, oil, egg, vanilla extract, and lemon juice until smooth.
  6. Pour the wet ingredients into the dry and mix until just combined.
  7. Scoop batter into the liners, filling each roughly 3/4 full.
Baking
  1. Bake for 15–20 minutes, or until a toothpick comes out with a few moist crumbs. Cool in pan for 5 minutes, then transfer to a wire rack to cool completely.
Filling and Frosting
  1. To make the filling, cook raspberries, 1/4 cup sugar, and 2 teaspoons lemon juice over medium heat until bubbling, about 10–12 minutes.
  2. Whisk cornstarch and water, add to the raspberry mixture, and cook until thickened.
  3. For the buttercream, cream butter until smooth, add powdered sugar, and then mix in heavy cream, lemon juice, and lemon zest until fluffy.
Assembly
  1. Core the center of each cupcake and spoon in the raspberry compote.
  2. Pipe lemon buttercream around the core and add more compote into the center.
  3. Garnish with chopped pistachios and fresh raspberries.

Notes

Bring ingredients to room temperature for even mixing. Avoid overmixing the batter to keep the crumb tender. Store in an airtight container for 3–4 days or freeze for longer storage.