Choose the right mug: Use a microwave-safe mug that holds at least 12 ounces. A wider mug helps the cake cook evenly.
Melt the butter: Add 1 tablespoon butter to the mug and microwave for 15–20 seconds until melted.
Swirl to coat the sides lightly to reduce sticking.
Mix dry ingredients: Add 3 tablespoons almond flour, 1 1/2 tablespoons cocoa powder, 1 1/2 to 2 tablespoons granular keto sweetener, 1/4 teaspoon baking powder, and a small pinch of salt. Stir with a fork until no lumps remain.
Add wet ingredients: Crack in 1 egg, add 1 tablespoon heavy cream (or 1 1/2 tablespoons almond milk), and 1/2 teaspoon vanilla extract. Stir until the batter is smooth and glossy.
Scrape the bottom and edges so no dry pockets remain.
Optional upgrades: Fold in 1 tablespoon sugar-free chocolate chips or 1/8 teaspoon espresso powder for deeper flavor.
Microwave: Cook on high for 45–60 seconds to start. The top should look set but slightly glossy in the center. If needed, continue in 10-second bursts.
Avoid overcooking; it will firm up as it rests.
Rest and serve: Let it sit for 1–2 minutes. Enjoy warm as-is, or top with a small spoon of whipped cream, a drizzle of warm peanut butter, or a few berries.