Different signals in addition to the antigenic signal are required to initiate an immunological reaction. In the context of sulfamethoxazole allergy, the Ag is thought to be derived from its toxic nitroso metabolite, but little is known about the costimulatory signals, including those associated with dendritic cell maturation. In this study, we demonstrate increased CD40 expression, but not CD80, CD83, or CD86, with dendritic cell surfaces exposed to sulfamethoxazole (250-500 microM) and the protein-reactive metabolite nitroso sulfamethoxazole (1-10 microM). Increased CD40 expression was not associated with apoptosis or necrosis, or glutathione depletion. Covalently modified intracellular proteins were detected when sulfamethoxazole was incubated with dendritic cells. Importantly, the enzyme inhibitor 1-aminobenzotriazole prevented the increase in CD40 expression with sulfamethoxazole, but not with nitroso sulfamethoxazole or LPS. The enzymes CYP2C9, CYP2C8, and myeloperoxidase catalyzed the conversion of sulfamethoxazole to sulfamethoxazole hydroxylamine. Myeloperoxidase was expressed at high levels in dendritic cells. Nitroso sulfamethoxazole immunogenicity was inhibited in mice with a blocking anti-CD40L Ab. In addition, when a primary nitroso sulfamethoxazole-specific T cell response using drug-naive human cells was generated, the magnitude of the response was enhanced when cultures were exposed to a stimulatory anti-CD40 Ab. Finally, increased CD40 expression was 5-fold higher on nitroso sulfamethoxazole-treated dendritic cells from an HIV-positive allergic patient compared with volunteers. These data provide evidence of a link between localized metabolism, dendritic cell activation, and drug immunogenicity.