
This luscious lemon raspberry swirl cupcake recipe combines bright citrus flavors with sweet berry notes to create the perfect summer dessert. The tender crumb has delightful pockets of juicy raspberries throughout, while the tangy lemon cream cheese frosting completes this irresistible treat that's sure to impress at any gathering.
I first made these cupcakes for my niece's garden party birthday, and they disappeared faster than any other dessert. Now they're requested at every summer gathering, and even my friend who claims to dislike fruit desserts asks for the recipe.
Ingredients
- Unsalted butter: Provides richness and helps create that perfect tender crumb
- Vanilla and lemon extracts: Offer a depth of flavor that enhances the citrus notes
- Lemon zest: Contains essential oils that give authentic lemon flavor
- Sour cream: Adds moisture and tanginess that prevents the cupcakes from being too sweet
- Cake flour: Creates a more delicate texture than all-purpose flour would
- Fresh or frozen raspberries: Bring bursts of berry flavor and beautiful color contrast
- Cream cheese: Creates a luxurious frosting base that perfectly complements the lemon
- Confectioners sugar: Gives the frosting structure while dissolving smoothly
Step-by-Step Instructions
- Prepare Your Foundation:
- Beat the butter, extracts, sugar, and lemon zest until the mixture becomes noticeably lighter in color and fluffy in texture. This crucial step incorporates air into the batter that helps create that perfect cupcake texture. Take your time here about 2 full minutes of beating develops the structure.
- Build The Cupcake Base:
- Add eggs one at a time, allowing each to fully incorporate before adding the next. This prevents the batter from breaking and ensures even distribution. Then add sour cream and milk, which provide moisture and tenderness to the final cupcake.
- Create The Perfect Texture:
- Gently fold dry ingredients into the wet mixture using a rubber spatula with an under-and-over motion. Stop the moment the flour disappears a few small lumps are perfectly fine. Overmixing activates gluten and creates tough cupcakes, so restraint is key here.
- Add Berry Goodness:
- Coat the raspberries in flour before folding them in. This flour coating prevents berries from sinking to the bottom during baking and helps them distribute evenly throughout each cupcake. Fold with minimal strokes to maintain the light batter texture.
- Bake To Perfection:
- Fill each cupcake liner about 3/4 full not more or they will overflow during baking. Bake one pan at a time for even heat distribution. Look for a tester that comes out with just a few moist crumbs, not wet batter, to ensure they're done but not overbaked.
- Craft The Frosting:
- Beat cream cheese and butter until completely smooth before adding any sugar. Any lumps now will remain in the finished frosting. Add the confectioners sugar gradually to prevent a powdery explosion and ensure smooth incorporation. The final minute of beating adds airiness to the frosting.

My favorite part of making these cupcakes is watching people take their first bite. The surprise when they discover the raspberry center always brings smiles. My grandmother taught me to always coat berries in flour before adding them to batters, and this simple trick makes all the difference in the distribution of fruit throughout these cupcakes.
Perfect Storage Technique
These cupcakes stay fresh when stored in an airtight container in the refrigerator for up to three days. The key is bringing them to room temperature before serving about 30 minutes on the counter does the trick. The flavors actually develop and meld together overnight, making them taste even better the second day. If you need to store them unfrosted, you can freeze the cupcakes in airtight containers for up to one month.
Smart Ingredient Substitutions
While this recipe shines with raspberries, you can create delicious variations with other berries. Blueberries create a lovely color contrast and offer a different flavor profile. Blackberries work beautifully but should be chopped if particularly large. For a dairy-free version, substitute the butter with plant-based butter, sour cream with coconut yogurt, and use dairy-free cream cheese for the frosting. The results will be slightly different in texture but still delicious.
Elegant Serving Suggestions
These cupcakes create a stunning display when arranged on a tiered stand with fresh berries and lemon slices scattered between layers. For an extra special presentation, place each cupcake in a decorative liner before serving. They pair wonderfully with a glass of prosecco or sparkling lemonade for summer gatherings. Consider serving smaller portions as part of a dessert trio alongside fresh fruit and a scoop of vanilla ice cream.
Behind The Recipe
This cupcake recipe evolved from traditional British lemon drizzle cake, but with an American cream cheese frosting twist. The addition of raspberries was inspired by classic French patisserie combinations where tart berries often complement citrus flavors. The technique of coating berries in flour dates back to Victorian-era baking when cooks discovered this method prevented berries from sinking in their fruitcakes. These cupcakes represent a beautiful marriage of classic techniques and contemporary presentation.

Frequently Asked Questions About the Recipe
- → Can I use frozen raspberries instead of fresh?
Yes, you can use frozen raspberries without thawing them first. Toss them in flour as directed to prevent them from sinking to the bottom during baking. The frozen berries will actually hold their shape better while mixing into the batter.
- → How do I store these cupcakes?
Store frosted cupcakes in an airtight container in the refrigerator for up to 3 days. For best flavor and texture, bring them to room temperature before serving. The cream cheese frosting requires refrigeration for food safety.
- → Can I make these without lemon extract?
If you don't have lemon extract, you can substitute with additional lemon zest (about 1 tablespoon total) and 1-2 teaspoons of fresh lemon juice. The flavor will be slightly less concentrated but still delicious.
- → Why do I need to coat the raspberries in flour?
Coating raspberries in flour prevents them from sinking to the bottom of the cupcakes during baking. This technique helps the berries distribute evenly throughout the batter, creating beautiful swirls of fruit in every bite.
- → Can I substitute the cake flour?
If you don't have cake flour, you can make a substitute by measuring 1 cup all-purpose flour, removing 2 tablespoons, and replacing with 2 tablespoons cornstarch. Sift this mixture several times for best results. However, real cake flour will produce the lightest texture.
- → How full should I fill the cupcake liners?
Fill each cupcake liner about 3/4 full for the perfect dome. Filling them too much will cause them to overflow, while underfilling results in flat tops. A standard ice cream scoop works well for consistent portioning.