This lemon cake from scratch is a two layer 8 inch butter cake flavored with the zest of 3 lemons and ⅓ cup of fresh lemon juice, then filled and covered with a lemon buttercream made with more zest and juice. It bakes at 350°F for 30 to 35 minutes, takes about 1 hour 45 minutes from start to frosted cake (most of that is cooling), and cuts into 12 slices.
The trick is where the lemon goes. Zest gets beaten into the butter and sugar at the start, so its oils flavor the whole crumb, and the juice goes in with the sour cream and milk. Juice alone would give you a cake that smells of lemon and tastes of very little.

Following a special diet?
Every recipe on this site can be converted to gluten-free, vegan, dairy-free, keto, nut-free or egg-free with adjusted ratios so nothing falls flat.
Try the Recipe Converter →How Many Lemons This Cake Needs
Buy 5 to 6 medium lemons. A medium lemon gives roughly 1 tablespoon of finely grated zest and 2 to 3 tablespoons of juice, and the cake uses lemon twice:
- Batter: zest of 3 lemons and ⅓ cup (80ml) fresh lemon juice
- Buttercream: 2 tablespoons zest and 3 to 4 tablespoons fresh lemon juice
- Garnish (optional): thin lemon slices or zest curls, so keep one lemon whole
- Pans: two 8 inch round pans, greased and floured or lined with parchment
- Oven: 350°F (175°C), 30 to 35 minutes
- Time: 25 minutes prep, about 45 minutes cooling, 1 hour 45 minutes in total
Zest every lemon before you cut it. Once a lemon is juiced it is almost impossible to grate. Take only the yellow skin; the white pith underneath is bitter.
Getting Real Lemon Flavor Into the Batter

Rub the zest into the sugar with your fingertips for a minute. The sugar pulls the oil out of the zest and turns damp, pale yellow and very fragrant. Then add the soft butter and beat on medium high for 3 to 4 minutes, until the mixture is light, fluffy and much paler than when you started.
Add the 4 eggs one at a time and beat well after each. They need to be at room temperature. Cold eggs firm up the butter and the batter can look broken. Stir in the vanilla last.

Whisk the flour, baking powder, baking soda and salt in a medium bowl. Separately, whisk the sour cream, milk and lemon juice. This mixture thickens and may look a little lumpy as the acid meets the milk. That is normal, and it smooths out once it is mixed into the batter.

Add the dry ingredients in three parts, alternating with the wet mixture, starting and ending with the dry. Mix on low and stop as soon as the last streak of flour disappears. Overmixing at this point makes the crumb tight and rubbery. The baking soda starts reacting with the lemon juice and sour cream right away, so get the batter into the pans and into the oven without waiting.
Fresh Lemon Juice vs Bottled in a Lemon Cake
Use fresh. Bottled lemon juice is pasteurized, which dulls the bright, sharp taste, and some brands add preservatives you can taste in a mild butter cake. When lemon is the only flavor, you notice.
You are zesting 3 lemons for the batter anyway, so squeeze the same lemons. Roll each lemon firmly on the counter first and it gives up more.
This cake uses butter, not oil, because a plain lemon layer needs the buttery flavor behind it. If you prefer an oil cake with fruit in it, my lemon blueberry olive oil cake is the one to bake.
Baking Two 8 Inch Lemon Layers

Divide the batter evenly between the pans. Smooth the tops and bake at 350°F for 30 to 35 minutes.
Start checking at 30 minutes. The layers are done when a toothpick in the center comes out clean or with a crumb or two, the tops spring back when pressed lightly, and the edges have just started to pull away from the pan. If you only have 9 inch pans, the layers will be thinner and bake faster, so check them a few minutes earlier.
Cool the layers in their pans for 10 minutes, then turn them out onto a wire rack. Longer in the hot pans and the bottoms turn damp. Let them cool completely, about 45 minutes, before frosting. Warm cake melts buttercream.
Lemon Buttercream: Thick Enough to Spread, Tart Enough to Taste

The buttercream is simple: 1 cup of soft unsalted butter, 3½ cups of powdered sugar, 2 tablespoons of zest, 3 to 4 tablespoons of lemon juice and a pinch of salt. Beat the butter until smooth and creamy, then add the powdered sugar one cup at a time so it does not fly out of the bowl.
Add the juice a tablespoon at a time, at room temperature. Cold juice, or too much at once, can make the butter split so the frosting looks curdled. If that happens, keep beating for 2 to 3 minutes, or add a few spoonfuls of powdered sugar. Stop adding juice when the frosting holds soft peaks but still spreads easily.
On a warm day this buttercream can go soft. Chill the bowl for 15 minutes and beat it again. A drop of yellow gel coloring gives the bright color in the photos; without it the frosting is a pale butter yellow. For a frosting you can use on other cakes and cupcakes, see my lemon buttercream frosting.
To assemble, set one layer on a plate, spread an even layer of buttercream over it, add the second layer, then frost the top and sides. Finish with thin lemon slices or zest curls.
Dense, Dry, or Curdled? Fixing Lemon Cake Problems
- Cake tastes only faintly of lemon: the zest was skipped or added at the end. It has to be rubbed into the sugar and creamed with the butter.
- Dense, heavy layers: the butter was too cold to cream properly, or the batter was mixed too long after the flour went in.
- Dry crumb: overbaked. Check at 30 minutes, and measure flour by spooning it into the cup and leveling it, or weigh 315g.
- Batter looked broken after the eggs: the eggs were cold. It usually comes back together once the dry ingredients go in.
- Bitter edge: white pith got into the zest. Grate lightly and turn the lemon often.
Make Ahead and Storage for a Frosted Lemon Cake

The frosted cake keeps covered at room temperature for up to 2 days. For longer, refrigerate it and let slices sit out for about 20 minutes before serving, so the buttercream softens and the crumb tastes of lemon again. Cold butter mutes flavor.
A chilled cake also slices more cleanly. The layers can be baked a day ahead and wrapped tightly once cool. Wrapped well in plastic and then foil, they also freeze; thaw them overnight in the fridge, still wrapped. The buttercream can be made ahead and kept in the fridge. Bring it to room temperature and beat it again before using.
Lemon Zest, Juice and Filling Questions
Can you make lemon cake with just lemon juice?
You can, but the flavor will be mild. Most of the lemon taste in a baked cake comes from the oils in the zest, so use both if you can.
How long do you bake a lemon cake from scratch?
Bake two 8 inch layers at 350°F (175°C) for 30 to 35 minutes, until a toothpick in the center comes out clean.
What filling goes well in a lemon layer cake?
This recipe uses lemon buttercream between the layers. For a sharper cake, spread a thin layer of homemade lemon curd inside a ring of buttercream, or see my lemon curd cake and lemon cream cheese cake filling.
Can I bake this as lemon cupcakes?
For cupcakes, use my lemon cupcakes from scratch, which are written for a muffin tin and its shorter bake time.

For another layer cake with lemon in it, try my lemon raspberry cake or the lemon poppy seed cake. For something softer, my lemon milk bread has lemon curd baked inside.

Pin this lemon cake so you can find it again when you have a bowl of lemons to use up. If you bake it, tell me in the comments how it went or what you changed. I read every one.
Lemon Cake Recipe
This lemon cake from scratch is a two layer 8 inch butter cake made with fresh lemon zest and juice, sour cream, whole milk and butter, then covered in lemon buttercream. It bakes at 350°F for 30 to 35 minutes, takes about 1 hour 45 minutes including cooling, and serves 12, with a soft, tight yellow crumb and a tart, creamy frosting. The zest of 3 lemons is beaten into the butter and sugar first, so the lemon oils flavor the whole cake instead of only the frosting. Make it as a birthday lemon cake, a lemon layer cake for Easter or Mother's Day, or fill it with lemon curd for a sharper cake. It keeps covered for 2 days at room temperature, longer in the fridge.
Ingredients
- FOR THE LEMON CAKE
- 2 ½ cups (315g) all-purpose flour
- 2 ½ tsp baking powder
- ½ tsp baking soda
- ½ tsp salt
- 1 cup (226g) unsalted butter, softened
- 1 ¾ cups (350g) granulated sugar
- Zest of 3 lemons
- 4 large eggs, room temperature
- 1 tsp vanilla extract
- ½ cup (120ml) sour cream
- ½ cup (120ml) whole milk
- ⅓ cup (80ml) fresh lemon juice
- FOR THE LEMON BUTTERCREAM
- 1 cup (226g) unsalted butter, softened
- 3 ½ cups (420g) powdered sugar
- 2 tbsp lemon zest
- 3–4 tbsp fresh lemon juice
- Pinch of salt
- Yellow gel food coloring (optional)
- GARNISH (OPTIONAL)
- Thin lemon slices
- Lemon zest curls
Instructions
- PREHEAT AND PREP: Preheat oven to 350°F (175°C). Grease and flour two 8-inch round cake pans or line the bottoms with parchment paper circles to prevent sticking.
- MIX THE DRY INGREDIENTS: In a medium bowl, whisk together flour, baking powder, baking soda, and salt. Set aside while preparing the wet ingredients.
- CREAM BUTTER, SUGAR & ZEST: In a large mixing bowl, beat the butter, sugar, and lemon zest on medium-high speed until light and fluffy, about 3–4 minutes. The lemon zest releases oils that infuse the batter with citrus aroma.
- ADD EGGS AND VANILLA: Beat in the eggs one at a time, mixing well after each addition to maintain an even texture. Stir in the vanilla extract until incorporated.
- COMBINE WET AND DRY: In a small bowl or measuring cup, whisk together sour cream, milk, and lemon juice. Add the dry ingredients to the butter mixture in three parts, alternating with the wet mixture, starting and ending with the dry. Mix on low speed just until combined; do not overmix.
- BAKE: Divide batter evenly between prepared pans and smooth the tops. Bake for 30–35 minutes or until a toothpick inserted into the center of the cakes comes out clean. Cool in pans for 10 minutes, then transfer to wire racks to cool completely before frosting.
- MAKE THE BUTTERCREAM: In a large bowl, beat softened butter until smooth and creamy. Gradually add powdered sugar, one cup at a time, beating well after each addition. Stir in lemon zest, lemon juice, and a pinch of salt. Continue beating until frosting is light and fluffy. Add yellow gel food coloring if a brighter color is desired.
- ASSEMBLE AND DECORATE: Place one cooled cake layer on a serving plate. Spread an even layer of lemon buttercream over the top. Add the second cake layer and frost the top and sides of the cake. Garnish with lemon slices or zest curls if using. Store covered at room temperature for up to 2 days or refrigerate for longer storage.
Notes
You need 5 to 6 medium lemons in total: zest them before juicing, and use only the yellow skin, not the bitter white pith. Rub the zest into the sugar before creaming for the strongest lemon flavor. The sour cream, milk and lemon juice mixture may look slightly lumpy; that is normal. Bake the batter right away, since the baking soda starts reacting with the acid. Add the buttercream lemon juice one tablespoon at a time at room temperature; if the frosting looks curdled, keep beating or add a little more powdered sugar. Cake layers can be baked a day ahead and wrapped tightly once cool. Frosting can be made ahead and refrigerated; bring to room temperature and beat again before using. Store the frosted cake covered at room temperature for up to 2 days or refrigerate for longer storage.
Nutrition Information
Yield
12Serving Size
1Amount Per Serving Calories 219Total Fat 7gSaturated Fat 3gTrans Fat 0gUnsaturated Fat 3gCholesterol 77mgSodium 331mgCarbohydrates 36gFiber 2gSugar 10gProtein 6g

Would have gladly used and shared your recipe but you have add so many “pin it “ on here over key ingredients you can go jump in a lake
Hi Jeff, that “Pin it” button is there so readers can save the images to their Pinterest boards. It sits on the photos only and does not cover the written ingredient list or the instructions in the recipe card.
The cake is in the oven right now and it smells delicious! I’m using a bunch pan. And miraculously, I was able to read all the ingredients without any interference from the “pin it” options. (Jeff isn’t the brightest and that’s okay.)
Sounds like a good start. The recipe is written for two 8 inch pans, so a bundt pan needs longer in the oven. Start checking about 15 minutes past the time in the recipe card with a toothpick in the thickest part, and bake until it comes out clean. Let it cool in the pan for about 15 minutes before turning it out.