A sunny burst of lemon and the tart sweetness of raspberry captivates the senses in each bite of these delightful cupcakes. Moist Lemon Cupcakes with Raspberry Filling take about an hour to prepare and bake, delivering a symphony of textures and flavors that truly shines at any gathering. The addition of finely chopped pistachios adds a textural contrast that elevates this treat to something extraordinary.
These cupcakes are perfect for lemon lovers and anyone who appreciates a delectable dessert bursting with flavor. Consider making them for birthday celebrations, tea parties, or simply as a sweet indulgence at home. You can prepare the raspberry filling in advance and store it for a quick assembly when you’re ready to frost the cupcakes.
Why You’ll Love This Recipe
- These cupcakes are incredibly moist and fluffy.
- The bright flavors of lemon and raspberry beautifully complement each other.
- The pistachios add a crunchy texture that enhances each bite.
- They are perfect for any occasion, making them versatile and crowd-pleasing.
What You’ll Need
Gather the following ingredients to create these delightful cupcakes and frosting.
For the Cupcakes
- 3/4 cup granulated sugar
- 1 tablespoon lemon zest (packed)
- 1 1/2 cups cake flour (See notes below for measuring)
- 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
- 1/4 cup granulated sugar
- 2 teaspoons fresh lemon juice
- 1 tablespoon + 1 teaspoon cornstarch
- 1 tablespoon water
For the Buttercream Frosting
- 1 1/2 cups unsalted butter (room temperature)
- 2 cups powdered sugar
- 3 tablespoons heavy cream
- 1 tablespoon fresh lemon juice
- 2 teaspoons lemon zest
For Decorating
- Chopped pistachios (for decorating)
- Fresh raspberries (for decorating)
Use frozen raspberries if fresh are unavailable.
Substitutions & Swaps
- Cake flour can be replaced with all-purpose flour.
- Sour cream can be substituted with Greek yogurt.
- Unsalted butter may be replaced with salted butter; adjust salt accordingly.
- Use almond extract instead of vanilla for a different flavor profile.
How to Make It
Follow these steps to create your cupcakes from scratch.
1. Preheat the oven
Preheat your oven to 350°F (180°C) and line a 12-cup cupcake pan with liners.
2. Prepare the lemon sugar
Rub the lemon zest into the sugar until it looks like wet sand, enhancing the flavor infusion.
3. Mix dry ingredients
In a stand mixing bowl, whisk together the flour, lemon sugar, chopped pistachios, baking powder, and salt.
4. Combine wet ingredients
In a separate bowl, whisk together the sour cream, milk, oil, egg, vanilla extract, and lemon juice.
5. Mix everything together
Mix the wet ingredients into the dry ingredients for a few seconds, then scrape down the bowl and continue mixing until just combined.
6. Fill cupcake liners
Scoop the batter into the prepared cupcake liners, filling each one roughly 3/4 full.
7. Bake the cupcakes
Bake for 15-20 minutes, or until a toothpick inserted comes out with a few moist crumbs attached.
8. Cool the cupcakes
Let the pan cool on a wire rack for 5 minutes, then remove the cupcakes from the pan to cool completely on the rack.
9. Cook the raspberry filling
Cook the raspberries, sugar, and lemon juice over medium heat, mashing occasionally, until the filling is bright red and bubbly, about 10-12 minutes.
10. Thicken the filling
Mix in the whisked cornstarch and water, cooking for an additional 1-2 minutes until thickened. Allow to cool.
11. Make the buttercream
Cream the unsalted butter until smooth. Mix in the powdered sugar, followed by the heavy cream, lemon juice, and lemon zest, beating until light and fluffy.
12. Fill the cupcakes
Core the center of the cooled cupcakes and fill with the raspberry compote. Pipe the lemon frosting around the core and fill with more raspberry filling.
13. Garnish the cupcakes
Decorate with chopped pistachios and fresh raspberries.
How to Store It
Fridge: Enjoy within 3-4 days in an airtight container.
Freezer: Yes, for up to 3 months. Freeze before frosting.
Reheat: Microwave individual cupcakes for 10-15 seconds.
Tips for Best Results
- Ensure all ingredients are at room temperature for better blending.
- Don’t overmix the batter; stop as soon as everything is combined.
- Allow the raspberry filling to cool completely before adding it to cupcakes.
- Use a piping bag with a large round tip to achieve beautiful frosting swirls.
Serving Suggestions
- Pair with a nice cup of tea for afternoon delight.
- Serve at birthdays for a fresh, fruity dessert option.
- Perfect for spring or summer gatherings, showcasing vibrant flavors.



