Trimethoprim fumaric acid is used as a generic hapten for antibacterial synergists (ASGs) to develop broadly specific monoclonal antibodies (mAbs) against ASGs; the resulting mAbs can be applied in ELISA for the detection of ASG residues in animal-derived food products.