Check your other medications. Opioids aren’t the only drugs that can cause constipation. Antihistamines, some antidepressants, some medicines for heart disease, and chemotherapy drugs can have the same effect. Check with your doctor to see if any other medications you’re taking may be adding to the problem.