Morphine, a potent narcotic analgesic used for the treatment of acute and chronic pain, was chemically incorporated into a poly(anhydride-ester) backbone. The polymer termed “PolyMorphine”, was designed to degrade hydrolytically releasing morphine in a controlled manner to ultimately provide analgesia for an extended time period. PolyMorphine was synthesized via melt-condensation polymerization and its structure was characterized using proton and carbon nuclear magnetic resonance spectroscopies, and infrared spectroscopy. The weight-average molecular weight and the thermal properties were determined. The hydrolytic degradation pathway of the polymer was determined by in vitro studies, showing that free morphine is released. In vitro cytocompatibility studies demonstrated that PolyMorphine is non-cytotoxic towards fibroblasts. In vivo studies using mice showed that PolyMorphine provides analgesia for 3days, 20 times the analgesic window of free morphine. The animals retained full responsiveness to morphine after being subjected to an acute morphine challenge.