Durgical
EN
Open the app

Endocrine and metabolic problems in HIV

  • Diagnostic approach

HIV, the infections it lets in and the medicines that control it all touch the glands. Most problems are found by asking which of the three is to blame.

Updated

See it in 3D: Right adrenal gland · Left adrenal gland · Thyroid gland

What it is

People living with HIV have more endocrine and metabolic disease than the general population, and since effective antiretroviral therapy (ART) the pattern has moved from wasting and opportunistic gland destruction to metabolic and drug-related problems. The adrenal can be destroyed by cytomegalovirus, tuberculosis, histoplasmosis, cryptococcus, lymphoma or Kaposi sarcoma in advanced disease; drugs matter more today: rifampicin speeds cortisol breakdown, ketoconazole blocks its synthesis, megestrol acts as a glucocorticoid, and the boosters ritonavir and cobicistat block CYP3A4 so that inhaled, nasal, injected or intra-articular corticosteroids such as fluticasone, budesonide or triamcinolone build up and cause Cushing syndrome followed by adrenal insufficiency. Male hypogonadism is common and usually secondary. Thyroid tests show non-thyroidal illness in sick patients, and Graves disease can appear as a late immune reconstitution event once CD4 counts recover. Bone density is lower, especially early after starting ART and with tenofovir disoproxil, which can also cause a phosphate-wasting tubulopathy and osteomalacia. Older thymidine analogues caused lipoatrophy, older protease inhibitors central fat gain and dyslipidaemia, and some modern regimens cause weight gain; insulin resistance and diabetes are common. Hyponatraemia usually reflects SIADH from lung or brain infection, hypovolaemia, or adrenal insufficiency.

What to know

  • Boosted regimens (ritonavir or cobicistat) plus an inhaled, nasal, injected, epidural or intra-articular corticosteroid metabolised by CYP3A4 (fluticasone, budesonide, triamcinolone) cause iatrogenic Cushing syndrome; stopping the steroid then causes adrenal insufficiency.
  • In that case measured cortisol and ACTH are low, because the steroid is exogenous; the diagnosis is the drug history, not a dexamethasone test.
  • Primary adrenal insufficiency in advanced HIV: CMV adrenalitis, tuberculosis, histoplasmosis, cryptococcus, lymphoma; drugs such as ketoconazole (blocks synthesis) and rifampicin (speeds breakdown) unmask a marginal adrenal.
  • Megestrol, used for appetite, has glucocorticoid activity: Cushingoid features, hyperglycaemia and adrenal suppression on withdrawal.
  • Male hypogonadism is common and usually secondary (illness, weight loss, opioids); SHBG is often high in HIV, so total testosterone can look normal while free testosterone is low.
  • Thyroid: non-thyroidal illness in sick patients; subclinical hypothyroidism; Graves disease as immune reconstitution typically one to three years after starting ART, later than the infectious IRIS of the first months.
  • Bone: lower density is common; ART initiation causes early loss, and tenofovir disoproxil lowers density and can cause proximal tubulopathy with phosphate wasting and osteomalacia; tenofovir alafenamide has less effect.
  • Fat and metabolism: lipoatrophy (face, limbs, buttocks) with older thymidine analogues; central fat, insulin resistance and high triglycerides with older protease inhibitors; weight gain with integrase inhibitor-based regimens.
  • HbA1c can underestimate glycaemia in people with HIV; confirm with glucose when they disagree.
  • Statin choice must respect boosted regimens: simvastatin and lovastatin are contraindicated with ritonavir or cobicistat.

Step-by-step approach

  1. List every drug: inhaled, nasal, injected and over-the-counter steroids, megestrol, azoles, rifampicin, opioids, and the ART regimen with its booster.
  2. Note the CD4 count, viral load and opportunistic infections: advanced disease raises the risk of gland invasion.
  3. Cushingoid features: if a booster and a CYP3A4-metabolised corticosteroid are on the list, measure morning cortisol; low means exogenous steroid excess.
  4. Fatigue, hypotension, hyponatraemia or hyperkalaemia: morning cortisol and ACTH; stimulation test if equivocal; look for infection or drug cause.
  5. Low libido, erectile problems or weight loss in men: morning testosterone with SHBG or free testosterone, plus LH and FSH.
  6. Screen bone (DXA by risk and age), lipids, glucose and weight at baseline and after starting or switching ART.
  7. Treat by cause: change the steroid or the booster, treat the infection, replace what is missing, switch an implicated antiretroviral with the HIV team.

Endocrine problems in HIV: virus, visitor or drug?

ProblemTypical causes in HIVClueFirst test
Cushing syndromeRitonavir or cobicistat + inhaled, nasal or injected corticosteroid; megestrolCushingoid with LOW cortisol and ACTHDrug history; morning cortisol
Adrenal insufficiencyCMV, TB, histoplasmosis, cryptococcus, lymphoma; rifampicin, ketoconazole; withdrawal of boosted steroidHypotension, hyponatraemia, hyperkalaemia (primary)Morning cortisol, ACTH; stimulation test
HypogonadismIllness, weight loss, opioids; mostly secondaryHigh SHBG hides low free testosteroneMorning testosterone, SHBG, LH, FSH
ThyrotoxicosisGraves disease as immune reconstitution, 1–3 years after ARTCD4 recovery, then goitre or eye signsTSH, free T4, TRAb
Low bone density, osteomalaciaART start, tenofovir disoproxil, vitamin D deficiency, hypogonadismLow phosphate, glycosuria with normal glucoseDXA, phosphate, urine glucose and protein
Lipodystrophy, dyslipidaemia, diabetesOlder thymidine analogues and protease inhibitors; integrase inhibitors (weight)Facial lipoatrophy, central fat, high triglyceridesLipids, glucose, HbA1c
HyponatraemiaSIADH (pneumonia, CNS infection), hypovolaemia, adrenal insufficiencyVolume status and potassiumSerum and urine osmolality, urine sodium, cortisol

Keys to the differential

  • A patient with HIV and asthma who becomes Cushingoid after starting a boosted regimen has a drug interaction until proven otherwise; stopping the inhaled steroid abruptly can cause adrenal crisis.
  • An adrenal crisis can follow the start of rifampicin for tuberculosis in a patient with a marginal adrenal reserve.
  • Hyponatraemia with hyperkalaemia and hypotension in advanced HIV is adrenal insufficiency until cortisol is known; SIADH keeps potassium normal and volume normal.
  • Bone pain with low phosphate and glycosuria with normal glucose in a patient on tenofovir disoproxil is proximal tubulopathy with osteomalacia, not osteoporosis.

Next step / Initial management

  • Baseline and periodic: glucose or HbA1c, lipids, TSH by symptoms, creatinine, phosphate and urinalysis on tenofovir disoproxil, 25-OH vitamin D by risk, DXA for those at risk of fracture or over 50.
  • Suspected adrenal insufficiency: morning cortisol and ACTH, then a stimulation test; give hydrocortisone at once if unstable, without waiting.
  • Suspected iatrogenic Cushing: change the corticosteroid to one less dependent on CYP3A4 or the regimen to an unboosted one with the HIV team, and taper rather than stop, because the axis is suppressed.
  • Male hypogonadism: repeat morning testosterone with SHBG or free testosterone before treating.
  • Refer to endocrinology adrenal insufficiency, iatrogenic Cushing syndrome needing a taper, confirmed hypogonadism, thyrotoxicosis, or osteomalacia; involve the HIV team before changing ART.

Common traps

  • A Cushingoid patient with a low cortisol cannot have Cushing syndrome: a boosted regimen raising an inhaled or injected corticosteroid causes exogenous Cushing, which suppresses the patient's own cortisol and ACTH.
  • Inhaled and nasal steroids are too weak to matter: with ritonavir or cobicistat blocking CYP3A4, fluticasone or budesonide accumulates enough to cause Cushing syndrome and adrenal suppression.
  • Thyrotoxicosis after ART is infectious IRIS: Graves disease as immune reconstitution comes typically one to three years after ART, much later than the infectious IRIS of the first months.
  • A normal total testosterone excludes hypogonadism in HIV: SHBG is often high, so free testosterone can be low while total looks normal.
  • Low bone density on tenofovir disoproxil is simple osteoporosis: the drug can cause renal phosphate wasting and osteomalacia, which needs phosphate and drug change, not only an antiresorptive.

Test yourself

Think of the answer, then tap the question to see it.

A man with HIV on a ritonavir-boosted regimen gets intra-articular triamcinolone; weeks later he has a round face and striae, and his morning cortisol is very low. Why?

Ritonavir blocks CYP3A4, so triamcinolone accumulates: exogenous Cushing syndrome that suppresses ACTH and his own cortisol. He is at risk of adrenal insufficiency as the steroid wears off.

Two years after starting ART with CD4 recovery, a woman develops weight loss, tremor and a diffuse goitre with high TRAb. What is the link?

Graves disease as a late immune reconstitution event: the recovering immune system makes stimulating antibodies, typically one to three years after ART.

A patient with advanced HIV has hypotension, sodium 126 mmol/L and potassium 5.8 mmol/L. Which gland and which infections do you suspect?

Primary adrenal insufficiency: CMV adrenalitis, tuberculosis, histoplasmosis or cryptococcus. Draw cortisol and ACTH and give hydrocortisone without waiting.

Why can a man with HIV have a normal total testosterone yet be hypogonadal?

HIV often raises SHBG, which binds more testosterone; the free fraction that acts on tissues can be low. Measure free testosterone, or SHBG to calculate it.

Add to my cards (4)

Elsewhere in DurgiPedia

Connections

← All of endocrinology

Educational content; it does not replace a medical assessment and is not a clinical instruction. For confusion, persistent vomiting with diabetes, fainting or very low blood pressure in someone who takes or has stopped glucocorticoids, go to an emergency department at once.

Sources: HIV-Related Endocrinopathies (StatPearls (NCBI Bookshelf), 2024); Immune Reconstitution Inflammatory Syndrome (StatPearls (NCBI Bookshelf), 2023); Hypercortisolism (Cushing Syndrome) (StatPearls (NCBI Bookshelf), 2025).

Spotted a mistake?We are always improving for the community. Tell us what is wrong and our team will review it.Report a mistake

Representative model, for educational purposes only.