Yes, it is safe to take Valtrex (valacyclovir) while drinking coffee. Coffee does not interact with Valtrex and should not affect its effectiveness in treating herpes outbreaks. Just be sure to follow the dosage instructions provided by your healthcare provider or pharmacist for optimal results. If you have any specific concerns about mixing medications with food or drinks, consult a healthcare professional for personalized advice.