Provided is: a resin compound having an immobilized sugar chain, obtained by reacting a an epoxy-group-containing compound (B) with a hydrophilic resin (A), followed by reacting an amino-group-containing compound (C) therewith, and then reacting a sugar therewith; a virus-removal-polymer substrate obtained by coating the resin compound on a polymer support to immobilize a sugar chain that can adsorb a virus; and a biocompatible material using the resin compound.