Most likely, if you are drinking lots of coffee, you are dehydrated. Dehydration causes headaches. Try drinking lots of water and resting. The headaches should clear up quickly. Source(s): I’m a certified medical assistant.