Sulfamerazine is a sulfonamide consisting of pyrimidine with a methyl substituent at the 4-position and a 4-aminobenzenesulfonamido group at the 2-position. It has a role as an antiinfective agent and a drug allergen. It is a sulfonamide, a member of pyrimidines and a sulfonamide antibiotic. It is functionally related to a sulfanilamide.