Lemon cake with cream cheese frosting is one of those desserts that reads as simple on paper and then completely wins people over at the table. The cake itself is soft and bright, not overly sweet, and the frosting is what pulls it together: rich, a little tangy, and just sweet enough to feel like frosting instead of straight sugar.
I’ve made this one for spring birthdays, brunches, and more than a few “I just had lemons that needed using” afternoons. It’s forgiving once you understand the two things that actually go wrong with it, a dense crumb and a runny frosting, so let’s get into both before the recipe itself.
Key Takeaways
- Fresh lemon zest, not just juice, is what gives this cake real lemon flavor juice alone tends to bake out.
- A dense lemon cake is usually an acid problem, not a mixing problem: too much lemon juice without enough leavening to balance it.
- Room-temperature butter, eggs, and buttermilk matter more here than in most cakes, since cold ingredients cause the batter to curdle and trap less air.
- Runny cream cheese frosting almost always comes from overbeating or adding the cream cheese too early, not from a bad recipe.
- Because the frosting is dairy based, this cake needs to stay refrigerated and is best enjoyed within about 4 days.
What Makes This Lemon Cake with Cream Cheese Frosting Different?
A lot of lemon cake recipes lean on lemon extract or bottled juice for flavor, which tends to taste flat or one-note. This version uses fresh lemon zest in both the cake and the frosting, since the oils in the zest carry most of the actual lemon flavor, while the juice adds brightness and a touch of acidity. Combined with real buttermilk for tenderness and a full-fat block cream cheese frosting (not a tub-style spread), the result is a cake that tastes distinctly lemon, not just lemon-adjacent.
A Little History Behind Lemon Cake and Cream Cheese Frosting
Lemon-flavored cakes have been part of home baking for centuries, wherever citrus was available, but the pairing with cream cheese frosting is a newer, distinctly American development. Cream cheese itself has a documented origint was first mass-produced around 1872 by William Lawrence, a dairyman in Chester, New York, who was attempting to make Neufchâtel cheese and ended up adding too much cream, creating a richer, more spreadable product instead That product was later branded and sold as “Philadelphia” cream cheese, despite having nothing to do with Philadelphia. You can read the full history on Wikipedia’s cream cheese page.
Cream cheese frosting didn’t become a common cake topping until decades later, once the product was widely available in home kitchens, and it’s now the default pairing for carrot cake, red velvet, and citrus cakes like this one, largely because its tang cuts through sweetness in a way that plain buttercream doesn’t.
What You’ll Need
For the cake:
- Cake flour has lower protein than all-purpose, which keeps the crumb soft and fine instead of chewy.
- Baking powder + baking soda the two work together, with the soda specifically there to react with the acidity of the lemon juice and buttermilk.
- Unsalted butter, room temperature creamed with sugar to trap air, which is a big part of how this cake gets its lift.
- Granulated sugar
- Eggs, room temperature cold eggs can cause the batter to look curdled and lose volume.
- Lemon zest and fresh lemon juice zest for flavor, juice for brightness and acidity.
- Buttermilk adds tenderness and reacts with the baking soda for a lighter crumb.
- Vanilla extract
For the frosting:
- Full-fat block cream cheese, cold block style, not the whipped tub kind, which has too much water content and won’t hold structure.
- Unsalted butter, softened
- Powdered sugar
- Fresh lemon juice
- A pinch of salt balances the sweetness of that much powdered sugar.
Equipment That Makes This Easier
- Two 8-inch round cake pans, for even layers that bake at the same rate.
- A stand mixer or hand mixer, since properly creaming butter and sugar by hand is genuinely difficult to do well.
- A microplane zester, which gets just the flavorful yellow zest without the bitter white pith underneath.
- An offset spatula, for spreading frosting smoothly between layers and around the sides.
How to Make Lemon Cake with Cream Cheese Frosting
Prep the pans and oven. Preheat your oven to 350°F (175°C). Grease two 8-inch round cake pans and line the bottoms with parchment paper rounds.
Mix the dry ingredients. Whisk together the cake flour, baking powder, baking soda, and salt in a medium bowl. Set aside.
Cream the butter and sugar. Beat the softened butter and sugar together on medium speed for a full 4 to 5 minutes, until noticeably pale and fluffy. Don’t rush this step; it’s where most of the cake’s lift actually comes from.
Add eggs and lemon. Beat in the eggs one at a time, mixing well after each addition. Add the lemon zest and vanilla and beat until combined.
Alternate dry and wet ingredients. With the mixer on low, add the flour mixture in three additions, alternating with the buttermilk and lemon juice, starting and ending with the flour mixture. Mix just until each addition is incorporated; stop as soon as you no longer see streaks of flour.
Bake. Divide the batter evenly between the prepared pans and smooth the tops. Bake for 28 to 32 minutes, until a toothpick inserted in the center comes out with a few moist crumbs, not wet batter. Cool in the pans for 10 minutes, then turn out onto a wire rack to cool completely before frosting.
Make the frosting. Beat the cold cream cheese and softened butter together just until smooth, about 1 minute; avoid overbeating here. With the mixer on low, gradually add the powdered sugar. Once combined, mix in the lemon juice and salt, beating only until smooth and fluffy.
Assemble. Level the cooled cake layers if needed, then spread a generous layer of frosting on top of the first layer. Add the second layer and frost the top and sides. Chill for 20 to 30 minutes before slicing for cleaner cuts.
Why Is My Lemon Cake Dense or Dry?
This is the most common complaint on lemon cake recipes, and it usually isn’t about the mixing technique at all, it’s about acid and leavening balance. Lemon juice and buttermilk are both acidic, and if a recipe doesn’t have enough baking soda to react with that acidity, the batter doesn’t rise as well and bakes into a denser crumb.
Solid fats like butter, whether in the cake or the frosting, also resolidify when a cake is chilled, which is part of why a well-made cake can still taste dry straight out of the fridge, according to King Arthur Baking’s guide to dry cake. Letting a chilled cake sit at room temperature for 20 to 30 minutes before serving solves that particular problem without any changes to the recipe.
| Problem | Likely Cause | Fix |
| Cake is dense or gummy | Too much acid (lemon juice, buttermilk) without enough leavening | Don’t reduce the baking soda; measure lemon juice precisely |
| Cake is dry | Overbaked, or over-measured flour | Check at the minimum bake time; spoon and level flour instead of scooping |
| Cake tastes dry after chilling | Butter and frosting re-solidify cold | Let cake sit at room temperature 20-30 min before serving |
| Uneven or sunken layers | Oven temperature off, or pans not rotated | Use an oven thermometer; rotate pans halfway through baking |
| Weak lemon flavor | Relying on juice alone | Always include zest; the flavor oils live in the peel, not the juice |
How to Fix Runny Cream Cheese Frosting
Runny cream cheese frosting is almost never a recipe problem, it’s a technique and temperature problem. Cream cheese releases water when it’s overbeaten or mixed for too long, and that water dissolves the powdered sugar, which is exactly what turns a frosting soupy.
| Problem | Likely Cause | Fix |
| Frosting is thin or soupy | Cream cheese overbeaten, releasing water | Mix cream cheese and butter just until smooth, no longer |
| Frosting won’t firm up | Used spreadable tub-style cream cheese | Switch to full-fat block cream cheese, which has less water |
| Frosting looks curdled | Butter and cream cheese at different temperatures | Bring both to the same room temperature before mixing |
| Frosting is already runny | (any of the above, after the fact) | Chill 20 minutes, then rewhip briefly; add a little extra softened cream cheese if still loose |
| Frosting is too sweet from over-correcting | Added too much powdered sugar to compensate | Use a tablespoon of cornstarch instead of extra sugar to thicken |
Can You Make This Ahead of Time?
Yes, and honestly the flavor improves a day later once the lemon has had time to settle into the crumb.
- Cake layers: Bake up to 2 days ahead, cool completely, then wrap tightly and store at room temperature or refrigerate.
- Frosting: Can be made a day ahead and kept refrigerated; let it sit out about 20 minutes and give it a quick rewhip before using.
- Assembled cake: Best frosted the day you plan to serve it, or the day before at most, since a frosted cake needs to stay refrigerated once it’s dairy-topped.
How to Store Lemon Cake with Cream Cheese Frosting
Because this cake is finished with a cream cheese frosting, it’s a dairy dessert and needs to be treated like one. It shouldn’t sit out at room temperature for more than a couple of hours. For general guidance on keeping perishable, dairy topped desserts at a safe temperature, see the USDA’s food safety basics on refrigeration.
| Storage Method | How Long | Notes |
| Room temperature | Up to 2 hours | Fine for serving, not for storage |
| Refrigerator, covered | 4 to 5 days | Best flavor and texture within the first 3 days |
| Freezer, unfrosted layers | Up to 3 months | Wrap tightly in plastic, then foil; thaw at room temp before frosting |
| Freezer, frosted slices | Up to 2 months | Freeze slices individually, then wrap; thaw overnight in the fridge |
More Cakes You’ll Love
If you like the citrus in this one, my lemon blueberry pound cake is worth trying next; it uses that same fresh lemon zest, paired with juicy blueberries in a denser, buttery crumb.
For more cream cheese frosting, my cream cheese pound cake bakes the cream cheese right into the batter instead of just the frosting, and my carrot cake bars recipe uses that same tangy frosting in an easier, no-layer format if you want something more casual.
If citrus isn’t the mood, my olive oil cake with brown butter frosting has a similar bright, not-too-sweet character, and my ultimate chocolate layer cake is the go-to if you’d rather go rich and chocolatey for the same occasion.
What to Serve It With
This cake is bright enough to work as a spring or summer dessert on its own, with tea or coffee. For a gathering, a small side of fresh berries adds color and a little more brightness to the plate. If you’re serving a crowd, a cake stand or turntable makes slicing and presenting the layers much easier.
Frequently Asked Questions
Why is my lemon cake dense?
A dense lemon cake usually comes down to too much acid, from lemon juice or buttermilk, without enough baking soda to balance it. Measure your lemon juice precisely rather than adding extra “for flavor,” and use zest instead to boost lemon taste without adding more acid.
Why is my cream cheese frosting runny?
Runny frosting almost always comes from overbeating the cream cheese, which releases water that dissolves the powdered sugar. Mix the cream cheese and butter just until smooth, and always use full-fat block cream cheese rather than a spreadable tub style.
Can I make this cake ahead of time?
Yes. The cake layers can be baked up to 2 days ahead and the frosting made a day ahead, both stored separately and combined the day you plan to serve. A fully assembled cake is best eaten within a day or two of frosting.
Do I need to refrigerate lemon cake with cream cheese frosting?
Yes. Because the frosting is made with cream cheese and butter, this cake should be refrigerated and shouldn’t sit at room temperature for more than about 2 hours at a time.
Can I use bottled lemon juice instead of fresh?
Fresh is strongly recommended, since the zest and fresh juice together carry most of the actual lemon flavor. Bottled juice tends to taste flat and one-dimensional, and you’d still need fresh lemons for the zest anyway.
Can I turn this into cupcakes instead of a layer cake?
Yes, this batter works well as cupcakes; fill liners about two-thirds full and start checking for doneness around 18 to 20 minutes. The frosting recipe as written will generously cover about 24 cupcakes.
Conclusion
Lemon cake with cream cheese frosting has a reputation for being finicky, but once you understand that a dense crumb is an acid balance issue and a runny frosting is a temperature-and-mixing issue, it stops being unpredictable. Bake it once with these fixes in mind, and it becomes one of those reliable, always-requested cakes in your rotation.

Lemon Cake with Cream Cheese Frosting
Notes
- 2 3/4 cups (330g) cake flour
- 1 tablespoon baking powder
- 1/2 teaspoon baking soda
- 1/2 teaspoon salt
- 1 cup (226g) unsalted butter, softened
- 1 3/4 cups (350g) granulated sugar
- 4 large eggs, room temperature
- 1 tablespoon lemon zest (about 2 lemons)
- 1/4 cup (60ml) fresh lemon juice
- 1 teaspoon vanilla extract
- 1 cup (240ml) buttermilk, room temperature
- 16 oz (450g) full-fat block cream cheese, cold
- 1/2 cup (113g) unsalted butter, softened
- 4 cups (480g) powdered sugar
- 1 tablespoon fresh lemon juice
- Pinch of salt
- Preheat oven to 350°F (175°C). Grease two 8-inch round cake pans and line with parchment.
- Whisk flour, baking powder, baking soda, and salt in a bowl; set aside.
- Cream butter and sugar 4 to 5 minutes, until pale and fluffy.
- Beat in eggs one at a time, then add lemon zest and vanilla.
- Alternate adding the flour mixture and buttermilk mixed with lemon juice, starting and ending with flour. Mix just until combined.
- Divide batter between pans and bake 28 to 32 minutes, until a toothpick comes out with a few moist crumbs.
- Cool in pans 10 minutes, then turn out onto a rack to cool completely.
- Beat cold cream cheese and butter just until smooth. Gradually add powdered sugar, then lemon juice and salt.
- Frost between layers, then top and sides. Chill 20 to 30 minutes before slicing.


