Choose the right mug: Use a microwave-safe mug that holds at least 10–12 ounces. This gives the batter room to rise without spilling.
Mix dry ingredients: In the mug, whisk together almond flour, cocoa powder, sweetener, baking powder, and salt.
Break up any cocoa lumps with the back of a spoon.
Add the wet: Crack in the egg, then add melted butter, almond milk, and vanilla. Whisk until the batter is smooth and glossy, scraping the bottom and sides.
Make the lava center: Gently press the chocolate square into the center of the batter until just covered. Don’t push it to the bottom—keep it in the middle.
Microwave: Cook on high for 40–60 seconds.
Start checking at 40 seconds. The edges should look set, and the center should be slightly shiny and soft. Add 5–10 seconds at a time if needed.
Rest briefly: Let the cake sit for 30–60 seconds.
The carryover heat finishes the edges while keeping the center molten.
Serve warm: Top with a dollop of sugar-free whipped cream or a few berries. Eat straight from the mug while the center is still gooey.