Yes, you can have doxycycline with coffee. However, it is recommended to take doxycycline on an empty stomach, one hour before or two hours after a meal, to ensure maximum absorption. Drinking coffee or other beverages with high amounts of calcium, iron, or aluminum can reduce the absorption of doxycycline. So, if you do have coffee with doxycycline, it's best to have it with a small amount of liquid and to avoid having dairy products or antacids around the same time.