Preheat oven to 350 F and line baking sheets with parchment paper.
In a medium sized mixing bowl, whisk together the flour, baking soda, and salt. Set aside.
Add the lemon zest and granulated sugar to a large mixing bowl. Rub the zest into the sugar with your fingertips. Add the brown sugar and butter to the lemon sugar. Mix with an electric mixer on medium speed til light and fluffy, about 2 minutes.
Scrape down the sides of the bowl. Mix in the egg til combined then add the vanilla extract (if using).
With the mixer on low speed, alternatively add in the dry ingredients with the sour cream til combined.
Use a 1.5 to 2 tablespoon cookie scoop such as a number 40 cookie scoop to drop the cookies onto the cookie sheet. Place them 2" apart.
Bake 8-10 minutes. Let cool on the baking sheet for 10 minutes before then transferring them to a rack. Allow to cool completely before filling and assembling whoopie pies.
Lemon Filling
Beat the cream cheese with a mixer on high speed for 1 minute. Add the butter and beat on medium high speed for 1 more minute. Mix in the lemon zest. Reduce speed to low and slowly add powdered sugar til incorporated. Add the salt and mix on medium speed a few more seconds, just until combined. If the filling is soft, place the frosting in the fridge to chill for about 30 minutes to thicken.
Use a #40 cookie scoop, an offset spatula, a ziploc bag with a tip snipped off, or a piping bag to frost your pies. Dollop, pipe or spread about 1½ tablespoons of frosting on one half of the whoopie pie. Optional: Add a couple of teaspoons of lemon curd in the middle, if using.
Top with another cookie. For best results, refrigerate whoopie pies 30 minutes before serving (optional). Dust with powdered sugar before serving, if you like.
Video
Notes
Lemon curd:Lemon curd is optional. It adds extra zingy lemon flavor and takes these whoopie pies to the next level! Lemon cream cheese filling: The filling should be somewhat thick so that it doesn't ooze out too much when you bite into the whoopie pies. If it's too soft, just pop the bowl in the fridge for about 30 minutes to thicken up. You could also add an extra 1/4 cup of powdered sugar to thicken the filling, but keep in mind the extra sugar will make the filling sweeter. Total time: Plan ahead if making homemade lemon curd. Lemon curd only takes about 10 minutes of active prep/cooking time, but it needs about 6 hours to chill and thicken in the fridge. Lemon curd keeps well in the fridge. I recommend making it in advance so that you have it ready when you make these whoopie pies. If you're short on time, leave out the lemon curd or use store-bought. Trader Joe's makes delicious lemon curd. You can also find it in most grocery stores near the fruit preserves.Lemon curd substitute: Use a little of your favorite fruit jam or jelly instead of lemon curd.Check for doneness: The edges of the cookies will just start to turn light golden when they are finished baking.Cool cookies completely: Allow cookies to cool completely before filling and assembling. If the cookies are still warm, the filling will melt. Storage: Store lemon whoopie pies in an airtight container in the refrigerator for up to 5 days. Freeze unfrosted cookies in an airtight for up to 3 months. Cream cheese frosting can be stored in the fridge for up to 1 week in an airtight container in the fridge.Nutrition Information: The nutrition information provided is an estimate. The calorie accuracy is not guaranteed.