My doctor put me on Morphine ER for chronic pain and i kept having nightmares, He then switched me to Morphine IR and I would still have nightmares vivid ones on both medications.