Sulfa and HIV.
People with HIV โ particularly with low CD4 counts โ have markedly higher rates of cutaneous reactions to sulfamethoxazole/trimethoprim (TMP-SMX) than the general population. Despite this, TMP-SMX remains the cornerstone of Pneumocystis jirovecii pneumonia (PCP/PJP) prophylaxis and treatment because alternatives are less effective. Desensitisation protocols exist for selected patients with reaction history; this site does not describe specific protocols.
- Reaction rate
- Cited variably, often around 15โ60% in older series, depending on context and CD4 count.
- Most common reaction
- Maculopapular rash, often with fever; sometimes more severe patterns.
- Why TMP-SMX matters
- First-line for PCP/PJP prophylaxis and treatment; effective also for toxoplasmosis prevention.
- Desensitisation
- Specialist procedure; protocols exist for patients who genuinely need the drug.
The elevated reaction rate
Patients with HIV โ particularly those with advanced disease and low CD4 counts โ have substantially higher rates of cutaneous and systemic reactions to TMP-SMX than the general population. Reported rates have varied widely across studies, often cited around 15% to 60% depending on the era, CD4 stratum, and definition of "reaction." Even the higher figures are reactions of various severities; severe cutaneous adverse reactions account for a smaller fraction.
The mechanism is not fully understood. Several explanations have been proposed and supported variably: altered drug metabolism with accumulation of reactive metabolites, depletion of glutathione, immune dysregulation in advanced HIV. The clinical reality is that anyone managing HIV is familiar with the elevated rate, and prescribing patterns reflect it.
Why the drug matters
TMP-SMX is the first-line agent for PCP/PJP prophylaxis and treatment in HIV. It is also effective for prevention of toxoplasmosis reactivation in patients with low CD4 counts. The alternatives โ for prophylaxis: dapsone, atovaquone, aerosolised pentamidine; for treatment: pentamidine, primaquine + clindamycin, atovaquone โ are each less effective, less tolerable, or less convenient than TMP-SMX. None replaces it cleanly.
This is why strategies to keep patients on TMP-SMX, including managing through mild reactions and structured desensitisation for selected patients with allergy histories, are an important part of HIV care.
Reactions, in practice
The most common reaction in HIV is a delayed maculopapular rash, often with fever, appearing seven to fourteen days into a TMP-SMX course. The rash may be diffuse, often pruritic, sometimes confluent. In many cases it can be managed without stopping the drug โ close monitoring, antihistamines, sometimes small doses of corticosteroids โ particularly when no other prophylactic option is suitable. The decision to continue belongs to the HIV-specialised prescriber.
Severe reactions โ Stevens-Johnson syndrome, toxic epidermal necrolysis, DRESS, anaphylaxis โ are over-represented in HIV compared with the general population, though they remain rare in absolute terms. Any reaction with fever, mucosal involvement, blistering, severe systemic symptoms, or rapidly worsening rash demands immediate drug discontinuation and assessment. More on severity.
Desensitisation
For patients who have had a documented mild-to-moderate reaction to TMP-SMX in the past and who genuinely need the drug โ most often for PCP/PJP prophylaxis or toxoplasmosis prevention โ a structured desensitisation protocol can build tolerance. The patient is given the drug in slowly increasing doses over hours or days, under close medical supervision, in a setting equipped to respond to reactions.
Desensitisation does not "cure" the allergy. Tolerance is maintained only while the drug is taken regularly; if a course is interrupted for more than a short period, the desensitised state may be lost. Severe past reactions โ SJS, TEN, DRESS, anaphylaxis โ are generally a contraindication to desensitisation in routine practice.
This site does not provide specific desensitisation protocols. Several published protocols exist (different durations, oral vs intravenous, graded dosing schemes), and the choice belongs to the treating HIV/allergy team. The diagnosis page covers the broader assessment context.
Alternatives when TMP-SMX is not used
For PCP/PJP prophylaxis when TMP-SMX cannot be used, alternatives include:
Dapsone โ a sulfone, not a sulfonamide; effective for prophylaxis but less so for treatment than TMP-SMX. Hemolysis risk in G6PD deficiency; methemoglobinemia is a separate concern.
Atovaquone โ well tolerated; expensive in some settings; absorption depends on fatty meals.
Aerosolised pentamidine โ once monthly nebulised dosing; less effective than systemic options for some scenarios; intolerance to aerosol is common.
The choice depends on local availability, patient factors (G6PD status, ability to absorb fat, ability to use a nebuliser), and prescriber judgement. Alternatives if you're sulfa-allergic covers the broader picture.
Antiretroviral and other interactions
TMP-SMX has interactions with several drugs commonly used in HIV care. The combinations and their management belong to specialist HIV pharmacy and prescribing teams. The pharmacist's review at prescribing time is part of routine HIV practice.