Biodegradable intraocular and intraarticular drug delivery systems comprising ketorolac and a biodegradable polymer matrix that can release ketorolac into an eye or joint for an extended period of time are described. The drug delivery systems may be in the form of an extruded implant and may be used to treat one or more medical and ocular conditions, such as post-operative pain and inflammation following an ocular surgery such as cataract surgery.