While some metabolic tests are not affected by black coffee–coffee and caffeine products, in general, are typically prohibited before a fasting blood test. To be on the safe side, do not drink coffee, even decaf coffee (which still has a little caffeine); stick to pure water. If drinking coffee that day means a lot to you, ask your medical practitioner.