Zainab asked me to make cupcakes for her class one afternoon and I had lemons sitting on the counter and a jar of raspberry jam in the fridge. That's honestly how this recipe started — not from some grand plan, just from working with what I had. I figured the two would get along, and I was right.
What makes these work is the lemon in two forms — juice and zest both go into the batter, so the flavor is real and bright, not just a hint. The raspberry jam swirl does something pretty when it bakes: it pulls and marbles through the crumb so every cupcake looks a little different. I use good-quality raspberry jam (Bonne Maman from Walmart works really well) slightly warmed so it flows and swirls easily without sinking to the bottom.
My husband isn't usually a cupcake person — he thinks frosting is too sweet. But he had two of these, which I'm counting as a win. Zainab's class finished the whole batch and she came home reporting everyone had asked for the recipe. I've made them at least five times since then and they've landed well every single time.
One thing I want to set expectations on: the swirl is inside the cupcake, not just decorative. You'll add batter, dot jam, swirl with a toothpick, add more batter, and swirl again. It sounds fiddly but it takes about two extra minutes total. If you've made my Tiramisu Cupcakes before, you already know the pacing — these come together even faster.

Why You'll Love This Recipe
- Real lemon flavor, not artificial: Both the zest and the juice go into the batter, and that's what makes the difference. Zest gives you the aromatic oils, juice gives you the tang. The first time I made lemon cupcakes years ago I used bottled juice only, and they tasted flat and vaguely chemical. Fresh lemons take maybe two extra minutes and the payoff is significant.
- The swirl bakes right into the crumb: This isn't a cupcake where the fruit sits on top. The raspberry jam swirls through the inside so you get pockets of berry flavor as you eat. Each one looks slightly different when you slice through it, which kids find genuinely exciting and adults find impressive at a table.
- They stay moist for days: I made a batch on a Thursday and we were still eating them Saturday with no complaints about dryness. The fat ratio in this batter is balanced well — enough butter to keep the crumb tender without making it greasy. Store them in an airtight container and they hold up properly.
- No stand mixer needed: I don't own one. I cream the butter and sugar by hand with a wooden spoon, and these turn out fine. The trick is making sure your butter is genuinely soft — leave it out for at least 30 minutes before you start, or it won't cream properly and you'll end up with dense cupcakes. Room temperature butter makes all the difference here.
- The frosting is a simple lemon buttercream: Just butter, powdered sugar, lemon juice, and zest. I've also done cream cheese frosting on these and that version is tangier and works beautifully if you like that flavor profile. Both take about five minutes to make and go on smoothly once the cupcakes are fully cooled.
Ingredients
- 1½ cups all-purpose flour
- 1½ teaspoons baking powder
- ¼ teaspoon salt
- ½ cup unsalted butter, softened (leave out 30–45 minutes before baking)
- 1 cup granulated sugar
- 2 large eggs
- 1 teaspoon vanilla extract
- 2 tablespoons fresh lemon juice (about 1 large lemon)
- 1 tablespoon lemon zest
- ½ cup whole milk (or any milk you have)
- ¼ cup raspberry jam, slightly warmed (Bonne Maman or any good-quality jam)
- For the frosting:
- ½ cup unsalted butter, softened
- 2 cups powdered sugar
- 1 tablespoon fresh lemon juice
- 1 teaspoon lemon zest
- 1–2 tablespoons milk, as needed for consistency
- Optional: fresh raspberries and extra lemon zest for garnish
Directions
- Step 1: Preheat the oven. Set your oven to 350°F (175°C) and line a 12-cup muffin tin with paper liners. I do this first so the oven is ready when the batter is — you don't want batter sitting around waiting.
- Step 2: Mix the dry ingredients. In a medium bowl, whisk together the flour, baking powder, and salt. Set it aside. Whisking instead of just stirring helps distribute the baking powder evenly, which matters for an even rise.
- Step 3: Cream butter and sugar. In a large bowl, beat the softened butter and sugar together until the mixture looks lighter in color and feels a bit fluffy — about 2–3 minutes by hand or 1 minute with a hand mixer. Then add the eggs one at a time, mixing well after each.
- Step 4: Add lemon and vanilla. Stir in the vanilla extract, lemon juice, and lemon zest. The batter might look slightly curdled at this point — that's normal. It comes back together when the flour goes in.
- Step 5: Add dry ingredients and milk. Add the flour mixture in two batches, alternating with the milk. Start and end with the flour. Mix only until just combined — a few streaks of flour are fine. Overmixing here is what makes cupcakes tough, so stop as soon as it comes together.
- Step 6: Add the raspberry swirl. Divide the batter evenly between the 12 liners, filling each about halfway. Warm your jam slightly in the microwave (about 10–15 seconds) so it flows. Add half a teaspoon of jam on top of each and use a toothpick to swirl it gently into the batter. Add the remaining batter on top to finish filling the liners to about ¾ full, then swirl once more lightly with the toothpick. Don't over-swirl or you'll just blend everything together.
- Step 7: Bake. Bake for 18–20 minutes. Start checking at 18 — insert a toothpick and if it comes out clean or with just a crumb or two, they're done. I've overbaked these before and dry cupcakes are a real disappointment, so check early.
- Step 8: Make the frosting. Once the cupcakes are completely cool (don't rush this — even slightly warm cupcakes will melt your frosting), beat the softened butter until smooth. Gradually mix in the powdered sugar, then add the lemon juice, zest, and milk one tablespoon at a time until you reach a spreadable consistency. Frost and garnish with raspberries or extra zest if you like.

Tips for Success
- Butter must be genuinely soft: I mean properly room-temperature soft — when you press a finger into it, it should leave an indent easily. If you try to cream cold butter, it won't incorporate air properly and you'll get a dense crumb. I've rushed this step and regretted it. Set the butter out at least 30 minutes before you start, longer if your kitchen runs cold.
- Warm the jam before swirling: Cold jam is too thick and stiff — it won't move when you swirl it and you'll end up with a glob instead of a marbled pattern. Ten seconds in the microwave is all it needs. You want it fluid enough to flow but not so hot that it cooks into the batter.
- Don't overmix the batter: Once the flour goes in, mix only until it just disappears. I used to think more mixing meant better-combined batter — it actually develops the gluten and makes cupcakes chewy and tough. A light hand at this stage is what keeps the crumb tender.
- Check at 18 minutes, not 22: Every oven runs differently and the difference between perfectly moist and slightly dry is about two minutes. I set a timer for 18 and check then. If the toothpick comes out with wet batter, give them another 2 minutes. If it comes out clean or nearly clean, pull them out.
- Cool completely before frosting — and I mean completely: I once frosted cupcakes after about 20 minutes of cooling because I was impatient and had guests arriving. The frosting slid right off. It needs to be genuinely room temperature, which usually takes about an hour on a wire rack. If you're in a hurry, 15 minutes in the fridge helps.
Variations
- Blueberry swirl instead of raspberry: Swap the raspberry jam for blueberry jam or a thick blueberry compote. The flavor is a bit more mellow and the color inside the cupcake turns a deeper purple-blue. My Blueberry Cream Cheese Muffins use a similar technique if you want to see how blueberry and lemon play together in a slightly different format.
- Lemon poppy seed version: Add 1 tablespoon of poppy seeds to the dry ingredients before mixing. It adds a gentle crunch and a slightly nutty flavor that pairs really nicely with the lemon. I've made this version for Eid gatherings and it goes over very well with adults who find plain cupcakes a bit simple.
- Lemon glaze instead of buttercream: Mix ½ cup powdered sugar with 1–2 tablespoons fresh lemon juice until you get a thin, pourable glaze. Drizzle it over the cooled cupcakes instead of frosting. This is my husband's preferred version — less sweet, more tart, and it soaks into the top of the cupcake slightly which I actually love.
- Cream cheese frosting: Beat together 4 oz softened cream cheese and 4 tablespoons softened butter, then add 1½ cups powdered sugar and 1 teaspoon lemon juice. It's tangier and a bit more rich than buttercream. This is the version I'd make for a birthday — it feels more special and holds its shape well for piping.
- Dairy-free version: Replace the butter with vegan butter (Earth Balance works well) and use oat milk or almond milk in place of regular milk. The texture is slightly different — a little more crumbly — but still good. Make sure your jam doesn't have gelatin if you're keeping things fully plant-based.
Serving and Storage
Serving
Serve these at room temperature — straight from the fridge they taste a bit flat and the frosting is harder than it should be. If you've stored them in the fridge, pull them out 20–30 minutes before serving. They look nice on a simple plate with a few fresh raspberries scattered around. I usually don't bother with elaborate presentation but a little lemon zest grated over the frosting right before serving looks genuinely pretty with almost no effort.
Storage
Unfrosted cupcakes keep well in an airtight container at room temperature for up to 3 days. Once frosted, store them in the fridge for up to 4 days — the buttercream is made with butter and needs to be kept cold. For longer storage, freeze the unfrosted cupcakes wrapped tightly in plastic wrap, then in a zip-lock bag, for up to 1 month. Thaw at room temperature for a couple of hours and frost just before serving. I always freeze a small batch for myself because once the family sees them they disappear fast.

Frequently Asked Questions
Can I use frozen raspberries instead of jam?
Yes, you can make a quick puree: thaw the raspberries, mash them with a fork, and strain out the seeds if you don't want the texture. Cook it down in a small pan for a few minutes with a teaspoon of sugar until it thickens slightly. It won't be quite as concentrated as jam, so use a full teaspoon per cupcake rather than half. Fresh raspberry puree gives a brighter, slightly more tart flavor than jam.
Can I make these cupcakes ahead of time?
Absolutely. I almost always bake the cupcakes the day before and frost them the morning of. Store the unfrosted cupcakes in an airtight container at room temperature overnight, make the frosting fresh, and frost an hour or two before serving. This is actually my preferred method because the cupcakes have time to settle and the flavor deepens slightly by the next day.
How do I get a clear swirl pattern instead of everything blending together?
The key is to swirl lightly — two or three figure-eight movements with the toothpick, not ten. Also make sure the jam is warm and fluid before you start. If the jam is too cold and stiff, you push the batter around instead of actually swirling the jam through it. Less movement gives you a cleaner marble; more movement just muddies the whole thing.
My frosting is too stiff or too runny — how do I fix it?
If it's too stiff, add milk half a teaspoon at a time and beat again. If it's too runny, add a few tablespoons of powdered sugar and mix. The consistency you want is something that holds a soft peak — firm enough to stay on the cupcake but soft enough to spread easily. Temperature matters too: if your kitchen is warm, the frosting will be softer. Pop it in the fridge for 10 minutes if it's not holding its shape.
Can I double the recipe?
Yes, and honestly I'd recommend it. I make a double batch whenever I'm taking these somewhere because a single dozen disappears before I can even set them out. Just double every ingredient and bake in two separate tins or in two rounds with the same tin. Don't try to fit too many in the oven at once — give them room for even airflow and they'll bake more consistently.

LUSCIOUS LEMON RASPBERRY SWIRL CUPCAKES
Ingredients
For the Cupcakes:
- 1 ½ cups all-purpose flour
- 1 ½ teaspoons baking powder
- ¼ teaspoon salt
- ½ cup unsalted butter softened
- 1 cup granulated sugar
- 2 large eggs
- 1 teaspoon vanilla extract
- 2 tablespoons lemon juice
- 1 tablespoon lemon zest
- ½ cup milk
- ¼ cup raspberry jam slightly warmed for swirling
For the Frosting:
- ½ cup unsalted butter softened
- 2 cups powdered sugar
- 1 tablespoon lemon juice
- 1 teaspoon lemon zest
- 1 –2 tablespoons milk as needed for consistency
Instructions
Preheat the Oven:
- Preheat oven to 350°F (175°C). Line a 12-cup muffin tin with paper liners.
Mix Dry Ingredients:
- In a bowl, whisk together flour, baking powder, and salt. Set aside.
Cream Butter and Sugar:
- In a large bowl, beat butter and sugar until light and fluffy. Add eggs one at a time, mixing well. Stir in vanilla, lemon juice, and lemon zest.
Combine and Mix:
- Add dry ingredients in batches, alternating with milk. Mix until just combined.
Add Raspberry Swirl:
- Divide batter evenly into cupcake liners. Add ½ teaspoon of raspberry jam on top of each and swirl gently with a toothpick.
Bake:
- Bake for 18–20 minutes or until a toothpick comes out clean. Cool completely before frosting.
Make the Frosting:
- Beat butter until smooth. Gradually add powdered sugar, lemon juice, lemon zest, and milk. Beat until fluffy. Frost cooled cupcakes and garnish with extra zest or raspberries if desired.
Notes
Bake cupcakes a day in advance and store unfrosted. Frost just before serving for best texture. Custom Flavors:
Use strawberry or blackberry jam instead of raspberry for a twist. Add poppy seeds for extra texture. Serving Suggestions:
Serve with iced tea, lemonade, or fresh berries on the side for a beautiful dessert table. Allergy-Friendly Options:
Use plant-based butter and dairy-free milk to make these cupcakes dairy-free. Storage Tips:
Store in an airtight container at room temperature for 2 days or refrigerate for up to 4 days.
Final Thoughts
These cupcakes have become one of my go-to bakes when I need something that looks like I tried harder than I did. The swirl takes almost no time but makes each one look genuinely hand-crafted. The lemon is bright and real and the raspberry cuts through any sweetness without overwhelming. They're the kind of thing that photographs well and also actually tastes as good as it looks, which isn't always the case.
{"@context":"https://schema.org","@type":"Article","headline":"LUSCIOUS LEMON RASPBERRY SWIRL CUPCAKES","description":"Tangy lemon cupcakes with sweet raspberry swirls create a moist, flavorful treat perfect for celebrations and everyday indulgence.","datePublished":"2025-06-20T07:33:17+00:00","dateModified":"2026-05-03T21:14:21+00:00","author":{"@type":"Person","name":"Sana Umer","url":"https://forfoodiefriends.com/about/","description":"Self-taught home cook with 10+ years of kitchen experience. Mom of two who develops every recipe in her own kitchen.","jobTitle":"Recipe Developer & Food Blogger","image":"https://forfoodiefriends.com/wp-content/uploads/sana-umer-author-photo.jpg"},"publisher":{"@type":"Organization","name":"For Foodie Friends","url":"https://forfoodiefriends.com/","logo":{"@type":"ImageObject","url":"https://forfoodiefriends.com/wp-content/uploads/forfoodiefriends-logo.png"}},"mainEntityOfPage":{"@type":"WebPage","@id":"https://forfoodiefriends.com/luscious-lemon-raspberry-swirl-cupcakes/"},"image":"https://forfoodiefriends.com/wp-content/uploads/2025/06/LUSCIOUS-LEMON-RASPBERRY-SWIRL-CUPCAKES.jpg"}





Comments
No Comments