Polyethylene glycol (MiraLAX) is available over the counter for short-term use for constipation in children and adults. Linaclotide (Linzess), lubiprostone (Amitiza), and plecanatide (Trulance) are prescription drugs for long-term use in chronic constipation in adults and the elderly. Over-the-counter laxatives are generally safe to use, with few side effects.