Painkillers, specifically narcotics, can cause constipation. A lot of receptors for the narcotic class of drugs are in the digestive tract, so it tends to bring everything to a halt, says Thomas Park, MD, a gastroenterologist with the University of Rochester Medical Center Park in New York.