Matrices of poly(styrene‐co‐maleic anhydride) with surface containing functional anhydride groups of different percentage was prepared by solution polymerization. Ampicillin was bound on the surface of this matrix by chemical bonding in organic medium. The amount of Ampicillin chemically bound to the matrix was spectroscopically characterized and the in vitro release rate of Ampicillin in weakly basic medium was established along with the determination of its antimicrobial activity. This prodrug allows a prolonged release (6–8 days) of the drug.