The present invention relates to an injectable composition for controlled delivery of a bioactive agent, the composition comprising a biodegradable, thermoreversible, non-linear block copolymer, an aqueous solvent, and a bioactive agent. The injectable composition is capable of spontaneous gelation in situ upon administration to a subject to form a gel from which an effective amount of the bioactive agent can be released over a period of 7 days or more.