A negative photoresist composition comprising a polymer having a unit represented by the general formula (1), a crosslinking agent of a compound having a functional group represented by the general formula (5), and a photo-acid generating agent capable of generating an acid by exposure. ##STR51## (in the general formula (1), R.sup.1 represents a hydrogen atom or a methyl group, and G represents an alicyclic group having a 1,2-diol structure) ##STR52## (in the general formula (5), R.sup.10 represents a hydrogen atom, an alkyl group having 1 to 6 carbon atoms, or an oxoalkyl group having 3 to 6 carbon atoms).