These lemon cupcakes are soft, moist, and filled with fresh lemon flavor. They're made from scratch with easy to find ingredients and topped with a dreamy lemon cream cheese frosting.
Just made these. I love anything lemon & these cupcakes did not disappoint! Very tasty. Will be making these again! ★★★★★ - Alice

Recipe summary
Flavor: Sweet with fresh lemon flavor, topped with Lemon Cream Cheese Frosting.
Texture: Cake flour creates a small, tender crumb that's fluffy and soft when baked.
Made with simple ingredients. This recipe is made with baking essentials like sugar, eggs, butter, lemons, and vanilla.
Great for: Easter, baby showers, picnics, and parties.
Similar to: Lemon Layer Cake and Lemon Sheet Cake
Jump to:
Ingredients and substitutions
- Unsalted butter - Adds moisture and buttery flavor to your cupcake batter. Unsalted butter (and the listed salt) can be substituted with salted butter if desired.
- Eggs - Add stability and moisture to your cupcake batter.
- Whole milk - Adds moisture to your cupcakes. For best success, I suggest using whole milk, not skim or 1% milk. Your cupcakes will turn out, but may potentially be less moist (or may dry out faster) than if using whole milk.
- Cake flour - I use and recommend Swans Down cake flour. I do not recommend substituting with all-purpose flour. It can give your cupcakes a coarser texture that readers often describe as a 'cornbread' texture. Cake flour gives your cupcakes a tighter, more tender crumb, like what you would find at a bakery.
- Baking powder - Helps your cupcakes rise in the oven. Cannot be substituted with baking soda, the two are not interchangeable.
- Salt - Enhances the flavor of your cupcakes without making them "salty".
- Lemons - You'll need 2 to 3 lemons for this recipe (including the frosting). I zested one lemon for the cake batter, another lemon for the frosting, and juiced one of the zested lemons for the cake and frosting combined. Depending on the size of your lemons, you may want to buy an extra just in case.
- Vanilla extract - Enhances the flavor of your cupcakes.
- Granulated sugar - Sweetens your cupcakes and also helps your cupcakes retain moisture. I do not recommend using sugar-free substitutes in this recipe because I haven't tested these alternatives and can't guarantee how they'll turn out. I suggest doing a Google search for a recipe that fits the ingredients you have on hand.
How to make lemon cupcakes
- Zest your lemons, then slice in half and juice one into a bowl. Measure out the quantities needed for the recipe and discard the rest.
- Mix your dry ingredients and wet ingredients in separate bowls, then slowly incorporate the dry ingredients into the wet ingredients, alternating with the milk and lemon juice.
- Divide the batter between your 15 cupcake liners.
- Bake until cupcakes pop back when gently pressed in the center. Transfer to a cooling rack to cool completely before frosting.
Tips and tricks
Measuring flour properly - I highly recommend using a kitchen scale to measure your ingredients, especially the flour. If you don't have a scale, use a spoon to scoop flour into your measuring cup, then level off the top with a knife. Scooping directly from a bin using the measuring cup compacts flour into the cup, adding extra flour to the recipe. This can make cupcakes dry.
Bring ingredients to room temperature - To bring butter to room temperature quickly, slice it into small pieces and set on the counter top for 20 minutes. To bring eggs to room temperature quickly, place whole eggs in a bowl of warm water for ten minutes. Milk can be microwaved in 10 to 15 second increments, stirring in between, until room temperature. Take care not to melt butter or bring milk to a warm or hot temperature.
Don't overmix the batter - Only mix your batter until the ingredients are incorporated. Overmixing your batter can whip extra air in, causing your cupcakes to rise quickly and then fall in the center when they bake.
Testing for doneness - Gently press the top of a cupcake. If it bounces right back, they're done. If an indent is left, they need more time.
Allow cupcakes to cool - Do not unwrap your cupcakes while they're still warm. Your cupcakes will stick to the liners until they are fully cooled throughout. Once cooled, your cupcakes will easily unwrap.
Do not frost warm cupcakes - Buttercream is sensitive to heat and will melt between 90 to 95 degrees Fahrenheit. Instead, allow cupcakes to cool completely before frosting.
Storage
Cupcakes will keep in a tightly sealed container in the refrigerator for 2-3 days and can also be frozen for up to 3 months. Tightly wrap in plastic and foil, then store in a freezer safe container. Your cupcakes will harden slightly in the refrigerator since they're made with butter, so bring them to room temperature for 30 minutes before serving.
Frequently asked questions
- Whipped buttercream frosting - Fluffier than a traditional buttercream.
- Cream cheese buttercream frosting - Slightly less sweet and tangy.
- Ermine frosting - A less sweet cooked flour frosting. Perfect for those who don't like the sweet taste of buttercream frosting.
- Homemade whipped cream - Light and much less sweet than buttercream.
For years I've used this simple Wilton cupcake decorating kit (Amazon) to decorate my cupcakes. It comes with four piping tips, bags, and easy to read instructions. I also purchased this additional coupler (Amazon) to make it easy secure the piping tips and to change out tips halfway through decorating.
Yes, with adjustments. When doubled, this recipe makes a two-layer round 8 or 9 inch cake, a 13x18 sheet cake, or a 9x13 cake. Follow my recipes for Lemon Sheet Cake or Lemon Layer Cake depending on the type of cake you'd like.
I recommend adding more lemon zest for a stronger lemon flavor. Don't add more lemon juice - this adds too much moisture and acidity to the cupcakes, preventing a proper rise in the oven. Despite popular belief, lemon zest actually adds a stronger lemon flavor than the juice.
Troubleshooting
Baked goods can turn out dry for a few reasons:
- Baking too long.
- Adding too many dry ingredients.
- Adding too few wet ingredients.
It's important to follow the recipe exactly, including the measurements and exact ingredients listed. I recommend using an instant-read thermometer to make sure your cupcakes don't get overbaked in the oven.
Sinking can happen for many reasons. Overmixing the batter (which adds extra air that's released during baking), underbaking, using expired leavening, using the wrong leavening, or accidentally doubling the leavening can all cause your cupcakes to sink in the middle.
Cupcake can turn out dense from expired leavening, overmixing the wet and dry ingredients (this overworks the gluten), not whipping the butter and sugar long enough, or adding extra wet ingredients (like adding sour cream or applesauce to make cupcakes "extra moist"). If the balance of wet and dry ingredients is off, this can cause a change in texture, preventing your cupcakes from rising properly in the oven.
These lemon cupcakes are made with butter, which hardens when refrigerated, so the cake itself will also harden slightly while refrigerated. No worries, your cupcakes just need to come to room temperature before serving. About 30 minutes before serving, transfer your refrigerated cupcakes to the countertop to bring to room temperature. Room temperature cupcakes will feel soft and tender again.
Recommended
📖 Recipe
Lemon Cupcakes
Ingredients
Lemon cupcakes
- 1 ½ cups (168 g) cake flour
- 1 ½ teaspoons baking powder
- ½ teaspoon salt
- ½ cup (113 g) unsalted butter, room temperature
- 1 cup (198 g) granulated sugar
- 2 large eggs, room temperature
- 1 teaspoon vanilla extract
- 1 tablespoon lemon zest
- ½ cup (113 g) whole milk, room temperature
- 2 tablespoons lemon juice
Frosting
- ½ cup (113 g) unsalted butter, room temperature
- 4 ounces (113 g) cream cheese, room temperature
- 4 cups (454 g) confectioner's sugar
- 1 teaspoon vanilla extract
- 1 tablespoon lemon zest
- 2 teaspoons lemon juice
Instructions
Lemon cupcakes
- Preheat oven to 350℉. Line a cupcake pan with liners and set aside.
- In a bowl, add your dry ingredients: flour, baking powder, and salt. Whisk to remove clumps and set aside.
- In a large bowl, add butter and sugar. Using a hand mixer or stand mixer, beat until creamed and fluffy, about a minute. Add eggs, vanilla extract and lemon zest. Beat until incorporated and smooth, about a minute.
- In a separate bowl, combine milk and lemon juice.
- Add half of your dry ingredients to the butter mixture. Stir until just combined. Add half of the milk mixture, again stirring until just combined. Repeat once more, adding remaining dry ingredients and remaining milk, stirring each until just combined.
- Divide batter between 15 cupcake liners, filling about halfway full. Bake in preheated oven for about 17-19 minutes, or until the centers pop back when gently pressed. If an indent is left, your cupcakes need more time.
- Remove pan from oven and allow to cool for 5 minutes before transferring cupcakes to a wire rack to finish cooling.
Frosting
- In a large bowl, add room temperature butter and cream cheese. Using a hand mixer or stand mixer, beat until creamy, about 1 minute.
- Add confectioner's sugar 1 cup at a time, mixing slowly until ingredients are fully combined. Then, whip at high speed for 2-3 minutes, or until light and fluffy.
- Add vanilla extract, lemon juice, and lemon zest, then whip until fluffy, another 1 to 2 minutes.
- Pipe or spread frosting with a knife onto cupcakes and serve.
Equipment Recommendations
Video
Notes
- Serve same day: Cupcakes are best served the same day as baking or within 24 hours.
- Refrigeration: Cream cheese frosting requires refrigeration after sitting out for about 2 hours. Store leftover cupcakes in a tightly sealed container in the refrigerator. Before serving, bring to room temperature for about 30 minutes.
- Storage: Cupcakes will keep in a tightly sealed container in the refrigerator for 2-3 days and can also be frozen for up to 3 months. Tightly wrap in plastic and foil, then store in a freezer safe container. Bring to room temperature for 30 minutes before serving.
- More tips: Be sure to check out my 10 tips for baking cake, based on reader comments and questions!
Hi there! I need to make keylime cupcakes and I was wondering if it would be ok to replace the lemom with line in this recipe?
Hi Tiffany, I haven't tried his myself but it should work fine with a 1:1 swap!
This is fantastic! The frosting is amazing and the cake is so moist and lemony! My son’s birthday is tomorrow…this is his cake; however, I used a mini cake pan. Tiny lemon cakes
Hi Cheryl, so glad to hear you enjoyed the recipe!
Just made these. I love anything lemon & these cupcakes did not disappoint! Very tasty. Will be making these again!
Alice
I can’t wait to try this recipe - love all the dedication that goes into your all tips. Instead of a cream cheese frosting, could I top this with lemon curd?
Hi Denise, of course you're welcome to use any toppings you like other than the frosting listed. I haven't tried lemon curd on its own before, but if you give it a try, let us know how it goes!
Could this be made into a slab type cake successfully?
Yes, you can find my lemon sheet cake recipe here - it's the same recipe scaled up to make a cake:
https://thetoastykitchen.com/lemon-sheet-cake/
Hello, is this cupcake recipe stable enough to handle it if I scooped out the top and stuffed it with some lemon curd before frosting?
Yes these cupcakes can be filled.
Could I use buttermilk instead of whole milk?
I would not recommend using buttermilk instead of whole milk because it is more acidic and would change the chemistry of the recipe.
Best batter I have ever experienced! Great recipe.
My 8 year old daughter made these, with a little help 😉. We made exactly as recipe stated and they were amazing!!! Like gone in 1 day good! She wants to try and make a cake, do you have a recipe for a cake? We aren’t that good at figuring measurements
Hi Kelly, I'm so glad to hear you enjoy the recipe! I do not have a cake recipe, but I've had readers convert my other cupcake recipes successfully.
*Update* I now have a cake recipe made from these lemon cupcakes, here you go! https://thetoastykitchen.com/lemon-sheet-cake/
Hi. Have you tried doubling the recipe before. If so, are there any measurement changes? These are so yummy but I need to make them in larger quantities.
You should be able to double the recipe as written with no issues!
Thank you for the info. These cupcakes are a hit!
Do you have to use self rising flour or can you use all purpose flour?
I would not recommend self rising flour, this recipe can be made with cake flour or all-purpose flour, but highly recommend using cake flour (for the finer texture and tighter crumb) if you have it on hand.