Lemon zucchini whoopie pies are a playful twist on the classic soft sandwich cookie, swapping chocolate for bright, citrusy cake and filling it with a tangy cream cheese frosting. The grated zucchini keeps the cakes incredibly moist and tender, while lemon zest and juice add a fresh, sunny flavor that pairs perfectly with the rich filling. This recipe is a great way to use up summer zucchini and makes a crowd-pleasing dessert that feels both nostalgic and new.
Ingredients
- 1 ½ cups (190g) all-purpose flour
- 1 teaspoon baking powder
- ½ teaspoon baking soda
- ½ teaspoon salt
- ½ cup (1 stick / 113g) unsalted butter, softened
- ¾ cup (150g) granulated sugar
- 1 large egg, at room temperature
- 1 teaspoon vanilla extract
- 1 tablespoon lemon zest (from about 1 large lemon)
- 2 tablespoons fresh lemon juice
- ½ cup (120ml) buttermilk, at room temperature
- 1 cup (120g) grated zucchini, squeezed dry (about 1 medium zucchini)
- For the filling:
- 4 oz (113g) cream cheese, softened
- ¼ cup (½ stick / 57g) unsalted butter, softened
- 2 cups (240g) powdered sugar
- 1 teaspoon lemon zest
- 1 tablespoon fresh lemon juice
Instructions
- Preheat your oven to 350°F (175°C). Line two baking sheets with parchment paper or silicone baking mats.
- In a medium bowl, whisk together the flour, baking powder, baking soda, and salt. Set aside.
- In a large bowl, using an electric mixer, beat the softened butter and sugar together until light and fluffy, about 2-3 minutes. Add the egg, vanilla, lemon zest, and lemon juice, and beat until well combined.
- With the mixer on low, add the dry ingredients in three additions, alternating with the buttermilk, starting and ending with the dry ingredients. Mix just until combined—do not overmix.
- Gently fold in the grated zucchini with a spatula until evenly distributed.
- Drop the batter by rounded tablespoons (about 1.5 tablespoons each) onto the prepared baking sheets, spacing them about 2 inches apart. You should get about 24 mounds.
- Bake for 10-12 minutes, or until the tops spring back lightly when touched and the edges are just golden. Let cool on the baking sheets for 5 minutes, then transfer to a wire rack to cool completely.
- While the cakes cool, make the filling: In a medium bowl, beat the cream cheese and butter together until smooth. Add the powdered sugar, lemon zest, and lemon juice, and beat until creamy and spreadable.
- Once the cakes are completely cool, spread or pipe about 1 tablespoon of filling onto the flat side of one cake, then top with another cake to form a sandwich. Repeat with the remaining cakes and filling.
Tips
- Drain the zucchini well: After grating, place the zucchini in a clean kitchen towel and squeeze out as much liquid as possible. This prevents the cakes from becoming soggy and helps them hold their shape.
- Use room-temperature ingredients: Butter, egg, and buttermilk should be at room temperature so the batter emulsifies smoothly, giving you a tender crumb.
- Don’t overmix: Once you add the dry ingredients, mix just until no streaks of flour remain. Overmixing develops gluten and makes the cakes tough.
- Chill the filling if needed: If your kitchen is warm and the filling seems too soft, chill it in the refrigerator for 15-20 minutes before assembling to make it easier to handle.
Serving Suggestions
These whoopie pies are perfect for picnics, bake sales, or afternoon tea. Serve them chilled or at room temperature—both are delicious. For a pretty presentation, dust the tops with a little powdered sugar or add a tiny lemon zest curl on each. They also pair wonderfully with a glass of iced tea or a cup of hot coffee.
Variations
- Lime or orange: Swap the lemon zest and juice for lime or orange for a different citrus twist.
- Add poppy seeds: Stir 1 tablespoon of poppy seeds into the batter along with the zucchini for a lemon-poppy seed version.
- Glaze instead of filling: For a lighter option, skip the cream cheese filling and drizzle the cooled cakes with a simple lemon glaze made from powdered sugar and lemon juice.
- Whole wheat flour: Replace half of the all-purpose flour with whole wheat flour for a slightly nuttier flavor and more fiber.
Storage and Reheating
Store assembled whoopie pies in an airtight container in the refrigerator for up to 4 days. They actually taste better the next day as the flavors meld. To freeze, place unassembled cakes in a single layer in a freezer-safe container with parchment between layers; freeze for up to 2 months. Thaw overnight in the refrigerator, then bring to room temperature before filling. If you prefer them warm, you can microwave a single whoopie pie for about 10 seconds, but note that the filling will soften and may melt slightly.
Frequently Asked Questions
Can I use a boxed cake mix?
Yes, you can use a lemon cake mix and add the grated zucchini, but the texture will be different—more cake-like and less dense. Follow the mix instructions, fold in the zucchini, and bake as directed, then use the same cream cheese filling.
Do I need to peel the zucchini?
No, you don’t need to peel it. The skin is tender and adds color and nutrients. Just wash the zucchini well and grate it, including the skin.
Why are my whoopie pies flat?
Flat cakes can result from overmixing the batter, using too much liquid (if you didn’t squeeze the zucchini dry), or if your baking powder/baking soda is old. Make sure your leaveners are fresh and follow the mixing instructions.
Can I make this recipe gluten-free?
Yes, you can substitute a 1:1 gluten-free all-purpose flour blend. Keep in mind that the texture may be slightly more crumbly, and you may need to add a little extra liquid (like a tablespoon of milk) to get the right consistency.
How do I know when the cakes are done?
The cakes are done when the tops spring back when lightly pressed and a toothpick inserted into the center comes out clean. This usually takes 10-12 minutes. Be careful not to overbake, or they will be dry.
Can I make the filling ahead of time?
Absolutely. You can make the filling up to 2 days in advance and store it in an airtight container in the refrigerator. Let it soften at room temperature for about 30 minutes before using, then give it a quick stir.