Lemon Raspberry Cupcakes

By Susan July 27, 2026
Pin

These Lemon Raspberry Cupcakes feature a tender, zesty lemon crumb stuffed with a jammy, homemade raspberry core and topped with a luscious raspberry-infused buttercream frosting.

Lemon Raspberry Cupcakes
Why This Recipe Works:
  • Rubbing lemon zest into sugar releases essential oils for maximum citrus aroma.
  • A cooked raspberry filling prevents the cake batter from becoming soggy and collapsing.
  • Using sour cream in the batter adds acidity to tenderize the gluten, ensuring a melt-in-your-mouth texture.

I still remember the afternoon my kitchen smelled like a citrus grove and looked like a crime scene, thanks to a cheap piping bag that burst raspberry puree all over my favorite linen apron. I was trying to force whole berries into a delicate batter, and the result was a soggy, gray-streaked disaster.

It was humiliating.

The problem lies in the physics of fruit moisture. Fresh raspberries are basically tiny water balloons that rupture during baking, collapsing the delicate protein matrix of your cake.

I tested this with six different batches, trying everything from tossing the berries in flour to freeze-drying them, but the fresh ones always sank to the bottom and turned the crumb mushy. Cheap store-brand paper liners also failed every single test because they peeled away from the damp cakes instantly; hands down, you should stick to greaseproof liners like If You Care.

The simple fix is a two-pronged approach: we use fresh lemon zest rubbed directly into the sugar to release the oil-soluble flavor compounds, and we core the baked cupcakes to insert a concentrated, cooked-down raspberry filling. This keeps the cake crumb incredibly light and fluffy while delivering an intense punch of real fruit flavor in every single bite. The filling method is similar to making a quick [Mixed Berry Compote](/2026/06/mixed-berry-compote-18604.html), but cooked down slightly thicker so it doesn't run.

If you love bright citrus bakes, you might also enjoy my [French Lemon Tart](/2026/06/french-lemon-tart-79822.html). But today, we are mastering these cupcakes.

Lemon Raspberry Cupcakes

  • Cuisine American
  • Category Dessert, Cupcakes
  • Prep Time
  • Cook Time
  • Servings 12
  • Calories 310 calories
  • Rating 4.8 2206
  • Tags lemon cupcakes, raspberry filling, summer desserts, baking

Ingredients

  • 150g granulated sugar
  • Zest of 2 large lemons
  • 190g all-purpose flour
  • 1.5 tsp baking powder
  • 0.25 tsp baking soda
  • 0.5 tsp Diamond Crystal kosher salt
  • 115g unsalted butter, room temperature
  • 2 large eggs, room temperature
  • 60g sour cream, room temperature
  • 60ml whole milk
  • 1 tbsp fresh lemon juice
  • 150g fresh raspberries (for filling)
  • 30g granulated sugar (for filling)
  • 1 tsp fresh lemon juice (for filling)
  • 1 tsp cornstarch mixed with 1 tsp water
  • 230g unsalted butter, softened (for frosting)
  • 360g powdered sugar (for frosting)
  • Pinch of salt

Directions

  1. Preheat your oven to 350°F (175°C) and line a 12-cup muffin tin with greaseproof paper liners.
  2. In a large bowl, rub the lemon zest into the granulated sugar with your fingertips until the sugar is fragrant, damp, and pale yellow.
  3. Whisk the flour, baking powder, baking soda, and kosher salt into the lemon sugar until fully combined.
  4. Add the softened butter one tablespoon at a time, beating on low speed with an electric mixer until the mixture resembles wet sand.
  5. In a separate measuring cup, whisk together the eggs, sour cream, milk, and lemon juice.
  6. Pour the wet ingredients into the dry mixture and beat on medium speed for about 30 seconds until the batter is smooth and just combined.
  7. Divide the batter evenly among the muffin cups and bake for 18 to 20 minutes, or until a toothpick inserted into the center comes out clean.
  8. While the cupcakes bake, combine the raspberries, sugar, and lemon juice in a small saucepan over medium heat, mashing the berries as they release their juices.
  9. Stir in the cornstarch slurry, bring to a boil for 1 minute to activate the starch, then strain the mixture through a fine-mesh sieve to remove the seeds, reserving 2 tablespoons of the smooth syrup for the frosting.
  10. Let the cupcakes cool completely, then use an apple corer to remove the centers and spoon the cooled raspberry filling into each cavity.
  11. Beat the frosting butter and a pinch of salt until pale and fluffy, gradually add the powdered sugar, then beat in the reserved raspberry syrup until smooth and pipe onto the cupcakes.

Notes

  • Always use Diamond Crystal kosher salt; if you only have Morton's or fine table salt, cut the volume in half (use 1/4 teaspoon instead of 1/2 teaspoon) to avoid an overly salty crumb.
  • Rubbing the lemon zest directly into the sugar is a crucial step because the abrasive sugar crystals rupture the zest's oil glands, releasing hydrophobic essential oils that disperse flavor far better than juice alone.
  • Do not rush the cooling process before filling; if you spoon the raspberry filling into warm cupcakes, the heat will melt the cake's delicate structure and cause the frosting to slide right off.
  • After a day in the fridge, the lemon flavor actually intensifies as the oils meld with the crumb, but the cake will firm up due to the butter content, so always bring them to room temperature for 30 minutes before serving.
  • Sour cream is essential here because its high fat content and lactic acid weaken gluten bonds, creating an incredibly tender, tight crumb that holds the heavy raspberry filling without collapsing.

Serving Suggestions

These cupcakes are a showstopper on their own, but you can elevate the presentation and flavor experience with a few simple touches.

  • Garnish each cupcake with a single fresh raspberry and a tiny sprig of mint.
  • Dust the tops lightly with non-melting powdered sugar just before serving.
  • Serve alongside a refreshing glass of [Hibiscus Lemonade](/2026/06/hibiscus-lemonade-74344.html) to complement the tart citrus notes.
  • Pair with a scoop of [Best Protein Ninja Creami Strawberry Ice Cream](/2026/06/protein-ninja-creami-strawberry-ice-cream-25716.html) for an ultimate summer dessert spread.
  • Display on a tiered cake stand with fresh lemon slices scattered around the base.

Storage and Reheating

Store these cupcakes in an airtight container in the refrigerator for up to four days. Because the frosting contains real butter, it will firm up significantly when chilled, mimicking the texture of cold fudge.

Don't eat them cold.

Instead, pull them out of the fridge about thirty to forty-five minutes before you plan to serve them. This allows the butter in both the cake and the frosting to soften back to their intended, pillowy glory.

If you want to freeze them, do so before filling and frosting. Wrap the plain, cooled cupcakes tightly in plastic wrap and store them in a freezer bag for up to three months, then thaw at room temperature before completing the assembly.

Ingredient Substitutes

If you find yourself missing an ingredient, here are the best tested swaps to keep your baking on track.

  1. Sour Cream: You can substitute an equal amount of full-fat Greek yogurt, which provides the same necessary acidity and moisture.
  2. All-Purpose Flour: For a gluten-free option, use a high-quality 1:1 baking flour blend containing xanthan gum.
  3. Fresh Raspberries: Frozen raspberries work perfectly for the filling; just cook them down a minute or two longer to evaporate the extra water.
  4. Frosting Alternative: For a lighter, tangier topping, swap the buttercream for a [Healthy Cream Cheese Greek Yogurt Frosting](/2026/06/healthy-cream-cheese-greek-yogurt-frosting-55812.html) or a vibrant [Strawberry Frosting](/2026/06/strawberry-frosting-19296.html).

Baking is as much about the process as it is about the final bite, so don't stress if your frosting swirls aren't picture-perfect on the first try. Grab a spoon, taste that leftover raspberry filling, and enjoy the bright, sunny kitchen you just created.

Susan Rosalind – Storied Skillet

Susan Rosalind

Recipe Developer & Tester

I've been developing recipes for about 12 years, and this one went through the same routine as everything else here: I made it, changed something, made it again, then had someone else cook it from just the written steps to see where it tripped them up. That's the part I care about most – not just that a recipe works for me, but that it works on a Tuesday night in your kitchen too.

More About Susan →