Moist Lemon Cupcakes with Raspberry Filling

Posted on April 3, 2026

Moist lemon cupcakes filled with raspberry, topped with lemon frosting.

Difficulty

Prep time

Cooking time

Total time

Servings

There’s something truly magical about the bright, sunny combination of lemon and raspberry — the way the tartness dances on your tongue, followed by a sweet, fruity finish. My first experience with moist lemon cupcakes filled with raspberry compote was during a family gathering, where they quickly became the star of the dessert table. Each bite was a burst of flavor, perfectly balancing the rich buttercream frosting with the zesty lemon cake and tangy raspberry filling. If you’re looking to enchant your family or impress friends, this delightful recipe is one you’ll want to have on hand.

Why you’ll love this dish

Let’s be honest — lemon and raspberry are a match made in culinary heaven. The brightness of the lemon brings a refreshing zing that can lift your spirits, while the raspberry filling adds a lush, juicy touch. These cupcakes are perfect for any occasion, whether it’s a cozy Sunday brunch, a picnic in the park, or a festive celebration. Plus, they’re surprisingly simple to make, which will have your kitchen smelling like a delightful confectionery dream.

“These cupcakes are like summer in a bite! The perfect blend of sweet and tart—my family can’t get enough!”

The cooking process explained

Making moist lemon cupcakes with raspberry filling is a delightful journey from beginning to end. Don’t worry if you’re new to baking; this recipe guides you through each step with ease. You’ll start by preheating your oven to 350°F (180°C), then embark on a simple yet satisfying process that creates a dessert bursting with flavor. From making the batter to crafting that luscious filling and frosting, each step is an invitation to embrace the joy of baking.

What you’ll need

Here’s a list of those key ingredients you’ll gather to create these scrumptious treats:

  • 3/4 cup granulated sugar
  • 1 tablespoon lemon zest (packed)
  • 1 1/2 cups cake flour (Note: be gentle when measuring to ensure the cupcakes are light and fluffy)
  • 1/3 cup finely chopped pistachios (these add a lovely crunch!)
  • 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
  • 3 cups fresh or frozen raspberries
  • 1/4 cup granulated sugar (for the filling)
  • 2 teaspoons fresh lemon juice (for a zing in the filling)
  • 1 tablespoon + 1 teaspoon cornstarch
  • 1 tablespoon water
  • 1 1/2 cups unsalted butter (for the frosting, room temperature)
  • 2 cups powdered sugar
  • 3 tablespoons heavy cream
  • 1 tablespoon fresh lemon juice
  • 2 teaspoons lemon zest (to enhance the frosting)
  • Chopped pistachios (for decoration)
  • Fresh raspberries (for decoration)

Step-by-step instructions

  1. Preheat your oven to 350°F (180°C). Line a 12-cup cupcake pan with liners.

  2. In a medium bowl, combine the granulated sugar and lemon zest. Use your fingers to rub the zest into the sugar until it resembles damp sand; this brings out the aromatic oils from the zest.

  3. In a stand mixing bowl, whisk together the cake flour, lemon-sugar mixture, chopped pistachios, baking powder, and salt.

  4. Add the cubed butter and mix on low speed for about three minutes until the mixture looks like coarse sand.

  5. In another bowl, whisk together the sour cream, milk, vegetable oil, egg, vanilla extract, and lemon juice until smooth.

  6. Gradually mix the wet ingredients into the dry ingredients, stirring just until combined. Be careful not to overmix — a few lumps are just fine.

  7. Scoop the batter into your lined cupcake pan, filling each liner about 3/4 full. Bake for 15-20 minutes or until a toothpick inserted in the center comes out with just a few moist crumbs.

  8. Allow the cupcakes to cool in the pan for about five minutes, then transfer them to a wire rack to cool completely.

Making the Raspberry Filling

  1. In a medium saucepan over medium heat, combine the raspberries, granulated sugar, and lemon juice. Gently mash the mixture while it simmers for about 10-12 minutes until it turns bright red and bubbly.

  2. Whisk the cornstarch with the water in a small bowl, then stir it into the raspberry mixture. Cook for an additional 1-2 minutes until thickened. Remove from heat and let it cool slightly.

Preparing the Buttercream Frosting

  1. In a mixing bowl, cream the softened butter until smooth and fluffy. Gradually add the powdered sugar, continuing to beat until well blended.

  2. Mix in the heavy cream, lemon juice, and lemon zest, beating until light and fluffy — this should take 2-3 minutes.

Assembling the Cupcakes

  1. Once the cupcakes are completely cool, carve out a small section from the center of each one using a small knife or cupcake corer.

  2. Fill each cavity with the raspberry filling, then pipe your lemon buttercream around the edge. For an extra touch, add more raspberry filling in the center.

  3. Top with a sprinkle of chopped pistachios and a few fresh raspberries for decoration.

Best ways to enjoy it

These cupcakes aren’t just a treat — they’re a theatrical experience for your taste buds! Serve them at a spring gathering alongside iced tea or lemonade for the ultimate afternoon refreshment. Or consider a cozy dessert night, paired with a dollop of whipped cream and perhaps a scoop of vanilla ice cream on the side for extra indulgence. The vibrant colors and aromatic flavors make them fabulous for any celebration!

How to store & freeze

To keep your moist lemon cupcakes with raspberry filling in prime condition, store them in an airtight container at room temperature for up to three days. If you have leftovers (unlikely, but still), they can also be refrigerated for about a week.

For longer storage, you can freeze the un-frosted cupcakes in a single layer on a baking sheet until solid, then wrap them tightly in plastic wrap and store them in an airtight container. When you’re ready to enjoy them again, let them thaw at room temperature before frosting.

Pro chef tips

  • Room Temperature Ingredients: Make sure your butter, sour cream, milk, and egg are at room temperature. This helps them mix more smoothly and results in a better texture in your cupcakes.

  • Zest with Care: Use a microplane for zesting your lemons. This will give you a finely grated zest that blends beautifully into your sugar or frosting.

  • Filling Tools: If you don’t have a specific coring tool, a small shot glass can work just as well for hollowing out the center of the cupcakes.

Creative twists

Don’t hesitate to play around with this recipe! Try swapping out the raspberry filling for other berries like strawberries or blueberries for a delightful variation. You could also experiment with different nuts for the topping or infuse the frosting with different flavored extracts to give it a unique twist.

Common questions

  • Can I use all-purpose flour instead of cake flour? Yes, but keep in mind that cake flour provides a lighter texture. If using all-purpose, you may want to slightly decrease the amount used.

  • What can I substitute for sour cream? Full-fat Greek yogurt works beautifully as a substitute and keeps that nice tanginess.

  • How do I prevent my cupcakes from dome-shaped tops? Avoid overmixing your batter, and make sure your oven is at the right temperature. If they dome too much, gently press down on them right out of the oven to achieve a flat top.

I hope these cupcakes bring as much joy to your home as they have to mine. Happy baking!

Moist Lemon Cupcakes with Raspberry Filling

Moist Lemon Cupcakes with Raspberry Filling

Moist Lemon Cupcakes with Raspberry Filling

Deliciously moist lemon cupcakes filled with tangy raspberry compote and topped with rich buttercream frosting. A perfect blend of sweet and tart!
Prep Time 30 minutes
Cook Time 20 minutes
Total Time 50 minutes
Servings: 12 cupcakes
Course: Dessert, Snack
Cuisine: American, Baked Goods
Calories: 300

Ingredients
  

Cupcake Batter
  • 3/4 cup granulated sugar
  • 1 tablespoon lemon zest (packed)
  • 1 1/2 cups cake flour be gentle when measuring to ensure the cupcakes are light and fluffy
  • 1/3 cup finely chopped pistachios these add a lovely crunch!
  • 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
Raspberry Filling
  • 3 cups fresh or frozen raspberries
  • 1/4 cup granulated sugar (for the filling)
  • 2 teaspoons fresh lemon juice (for a zing in the filling)
  • 1 tablespoon + 1 teaspoon cornstarch
  • 1 tablespoon water
Buttercream Frosting
  • 1 1/2 cups unsalted butter (for the frosting, room temperature)
  • 2 cups powdered sugar
  • 3 tablespoons heavy cream
  • 1 tablespoon fresh lemon juice
  • 2 teaspoons lemon zest (to enhance the frosting)
Decoration
  • Chopped pistachios for decoration
  • Fresh raspberries for decoration

Method
 

Preparation
  1. Preheat your oven to 350°F (180°C). Line a 12-cup cupcake pan with liners.
  2. In a medium bowl, combine the granulated sugar and lemon zest. Rub the zest into the sugar until it resembles damp sand.
  3. In a stand mixing bowl, whisk together the cake flour, lemon-sugar mixture, chopped pistachios, baking powder, and salt.
  4. Add the cubed butter and mix on low speed for about three minutes until the mixture looks like coarse sand.
  5. In another bowl, whisk together the sour cream, milk, vegetable oil, egg, vanilla extract, and lemon juice until smooth.
  6. Gradually mix the wet ingredients into the dry ingredients, stirring just until combined. Avoid overmixing.
Baking
  1. Scoop the batter into your lined cupcake pan, filling each liner about 3/4 full.
  2. Bake for 15-20 minutes or until a toothpick inserted in the center comes out with a few moist crumbs.
  3. Allow the cupcakes to cool in the pan for about five minutes, then transfer them to a wire rack to cool completely.
Making the Raspberry Filling
  1. In a medium saucepan over medium heat, combine the raspberries, granulated sugar, and lemon juice. Gently mash while it simmers for about 10-12 minutes.
  2. Whisk the cornstarch with the water in a small bowl, then stir it into the raspberry mixture. Cook for an additional 1-2 minutes until thickened. Remove from heat and let cool slightly.
Preparing the Buttercream Frosting
  1. In a mixing bowl, cream the softened butter until smooth and fluffy.
  2. Gradually add the powdered sugar, beating until well blended.
  3. Mix in the heavy cream, lemon juice, and lemon zest, beating until light and fluffy.
Assembling the Cupcakes
  1. Once the cupcakes are completely cool, carve out a small section from the center of each one.
  2. Fill each cavity with the raspberry filling, then pipe your lemon buttercream around the edge. Add more raspberry filling in the center.
  3. Top with a sprinkle of chopped pistachios and a few fresh raspberries for decoration.

Notes

Store cupcakes in an airtight container at room temperature for up to three days or refrigerate for about a week. For longer storage, freeze un-frosted cupcakes and thaw before frosting.

Tags:

You might also like these recipes

Leave a Comment

Recipe Rating