Preheat and prep: Heat your oven to 325°F (163°C). Line a 9x5-inch loaf pan with parchment, leaving overhang for easy lift-out.
Lightly grease the sides.
Mix dry ingredients: In a medium bowl, whisk the almond flour, coconut flour, baking powder, baking soda, and salt. Break up any lumps with your whisk.
Cream butter and sweetener: In a large bowl, beat the softened butter and sweetener with a hand mixer for 2–3 minutes, until light and fluffy. This helps the crumb stay tender.
Add eggs and flavor: Beat in the eggs one at a time, mixing well after each.
Add the vanilla, lemon zest, and lemon juice. If using lemon extract, add it now.
Add sour cream: Mix in the sour cream until smooth. The batter might look slightly curdled from the lemon juice—don’t worry.
Combine wet and dry: Add the dry mix to the wet mix.
Beat on low until just combined. The batter will be thick but spreadable. Taste and adjust sweetness if needed.
Fill the pan: Scrape the batter into the lined loaf pan, smoothing the top with a spatula.
Tap the pan on the counter to release air bubbles.
Bake: Bake for 45–60 minutes, or until the top is golden and a toothpick inserted in the center comes out mostly clean with a few moist crumbs. If the top browns too fast, tent with foil at the 40-minute mark.
Cool: Let the cake cool in the pan for 15–20 minutes. Use the parchment to lift it out and transfer to a wire rack to cool completely.
Glaze (optional): Whisk the powdered sweetener, lemon juice, cream or water, and a pinch of salt until smooth and pourable.
Drizzle over the cooled cake. Let it set for 10–15 minutes before slicing.