So does that mean you should abstain from your caffeine fix when fasting? According to Dr. Josh Axe, D.N.M., C.N.S., D.C., founder of DrAxe.com, bestselling author of Eat Dirt, and cofounder of Ancient Nutrition, tea and coffee are fine to consume as long as you don't add any milk or sweeteners. He explains on his blog, "If you're on a time-restricted fast and you're in no-eating hours, it's best to stick to no- or low-calorie drinks like water, coffee, (with no milk) and tea. If you're on an alternate day diet or something similar, even during low calorie hours, you can technically drink whatever you'd like — but remember, this will count against your calories." Dr. Palanisamy also agrees that during fasting, the "appetite-suppressing effects of coffee are probably beneficial."
When you eat a meal, your body spends a few hours processing that food, burning what it can from what you just consumed. Because it has all of this readily-available, easy to burn energy (thanks to the food you ate), your body will choose to use that as energy rather than the fat you have stored. This is especially true if you just consumed carbohydrates/sugar, as your body prefers to burn sugar as energy before any other source.