Odynophagia” is the medical term for painful swallowing. Pain can be felt in your mouth, throat, or esophagus. You may experience painful swallowing when drinking or eating food.