Quick answer: Painful swallowing that begins hours or days after you start doxycycline can be a sign of pill esophagitis, which is irritation or a small ulcer in the food pipe where a capsule or tablet lingered. It is most often linked to taking the pill with too little water.