The most common cause of swallowing difficulties is an infection that results in discomfort, edema, and an excessive amount of mucus production at the back of the throat. However, if you have trouble swallowing or pain when doing so that is not caused by a sore throat, you should consult your doctor right away.