The sustained-release topical preparation of the invention has a compound having a pharmacological action and at least one active ester group introduced into a polysaccharide side chain and capable of reacting with an active hydrogen-containing group, and contains an active ester group and an active hydrogen. A crosslinkable polysaccharide derivative capable of forming a cross-linked product by a covalent bond with a group, and a pH adjusting agent for forming a biodegradable gel containing the compound at the time of mixing. The sustained-release topical preparation forms a biodegradable gel containing the compound at the time of mixing, and the formed biodegradable gel has a pH of 5 or more.発明の徐放性局所投与剤は、薬理作用を有する化合物と、多糖側鎖に導入された、活性水素含有基と反応しうる活性エステル基を少なくとも1つ有し、活性エステル基と活性水素含有基との共有結合による架橋物を形成しうる架橋性多糖誘導体と、混合時において、前記化合物を含有する生体内分解性ゲルを形成するpH条件とするためのpH調整剤とを有する。徐放性局所投与剤は、混合時において、化合物を含有する生体内分解性ゲルを形成し、かつ形成される生体内分解性ゲルのpHが5以上である。