Pharmacogenetics
HLA-B*57:01 and abacavir: preventing a serious HIV-medicine reaction
Abacavir is an antiretroviral used in HIV treatment. In people who carry a variant of the immune gene HLA-B called HLA-B*57:01, it can trigger a serious hypersensitivity reaction. A simple genetic test before treatment identifies these people so that another medicine can be used. It is one of the clearest examples of gene testing preventing harm.
Last checked: 2026-10-03
Key facts
At a glance.
-
What is being tested
HLA-B encodes an immune protein that helps the body tell its own proteins from foreign ones, and HLA-B*57:01 is one version of it.
-
What the reaction involves
MedlinePlus Genetics describes fever, rash and gastrointestinal symptoms in people with HLA-B*57:01 who take abacavir.
-
FDA wording
The FDA table of pharmacogenetic associations says not to use abacavir in patients who are positive for HLA-B*57:01.
-
Not an enzyme issue
Unlike CYP2D6 or TPMT, this is an immune reaction, so a dose change does not solve it; the answer is a different medicine.
-
The same variant can protect
MedlinePlus Genetics notes HLA-B*57 is also associated with slower progression of HIV infection, so the gene is not simply harmful.
Two very different kinds of gene-drug link
Many pharmacogenetic stories involve enzymes that speed up or slow down a medicine. The abacavir story is different. HLA genes belong to the immune system. MedlinePlus Genetics explains that the HLA-B gene produces a protein that displays small pieces of other proteins on the surface of cells so that immune cells can recognise invaders.
For people with the HLA-B*57:01 version, abacavir appears to alter what is displayed in a way that provokes an unwanted immune response. The reaction is therefore not about too much drug in the blood but about the way the immune system sees the drug, which is why simply lowering the dose is not a safe workaround.
What the reaction looks like
MedlinePlus Genetics describes the adverse reaction in HIV patients taking abacavir as involving fever, rash and gastrointestinal symptoms. These features can look like a viral illness, which is part of why a test before the first dose is so valuable: it removes the guesswork.
Any new fever, rash, vomiting or breathlessness after starting an HIV medicine should be reported to the HIV clinic promptly, and sudden breathing difficulty, facial swelling or collapse needs 999. Do not simply stop an antiretroviral medicine on your own without speaking to the clinic, unless you are advised to in an emergency, since gaps in HIV treatment carry their own risks.
The test and the result
The FDA states that abacavir should not be used in patients positive for HLA-B*57:01. In practice the test is done once, before abacavir is prescribed, because the gene variant is inherited and does not change over a lifetime. A negative result means the strongest predictor of this reaction is absent, and a positive result means abacavir is avoided and other antiretrovirals are chosen instead.
The NHS describes HIV treatment as daily tablets from specialist clinics, with the goal of an undetectable viral load, typically reached after around six months. The NHS pages retrieved do not describe the abacavir test itself, so ask your HIV team how it is handled locally and whether your result is documented in your records.
-
The test is done before treatment, not after a reaction begins.
-
The result stays valid for life because it reflects inherited DNA.
-
A positive result is recorded as an allergy-type warning in your health record.
Living with a positive result
A positive HLA-B*57:01 result does not affect your health in daily life. It only means one medicine should be avoided. Many other effective antiretroviral options exist, and the specialist team can choose between them.
It is sensible to mention the result to any new prescriber or pharmacist, and to keep it in a personal note. Because the gene is inherited, blood relatives may share it, but there is no need for relatives to be tested unless they are going to be prescribed abacavir.
Context: HIV care in the UK
The NHS describes HIV care as delivered through specialist clinics, with monitoring of viral load, adjustment of treatment where needed and counselling and peer support. Charities such as the Terrence Higgins Trust are named as sources of help. Getting tests and medicines right at the start is part of that clinic-led approach.
People who are newly diagnosed can find the wider picture in the HIV condition guide on this site.
Other HLA gene-drug links
HLA-B*57:01 is the best-known pairing, but not the only one. MedlinePlus Genetics also describes HLA-B*15:02 with carbamazepine, linked to Stevens-Johnson syndrome and toxic epidermal necrolysis, and HLA-B*58:01 with allopurinol. A separate guide covers the carbamazepine link.
The pattern is consistent: for immune-mediated reactions, the test is used to avoid a medicine rather than to adjust a dose.
Frequently asked
Questions people ask.
Quick, plain-English answers to the questions we hear most.
-
What is HLA-B*57:01?
A variant of the HLA-B immune gene. People who carry it have a higher risk of a serious reaction to the HIV medicine abacavir.
-
Why am I being tested before abacavir?
Because the FDA and prescribing information advise not using abacavir in people with HLA-B*57:01, and the test identifies them in advance.
-
What symptoms does the reaction cause?
MedlinePlus Genetics lists fever, rash and gastrointestinal symptoms.
-
Can the dose be lowered instead?
No. The reaction is immune-mediated rather than dose-related, so the safe approach is to choose a different medicine.
-
Will the test result change over time?
No. It reflects inherited DNA and stays the same for life.
-
Is HLA-B*57:01 always harmful?
No. MedlinePlus Genetics notes HLA-B*57 is associated with slower HIV progression, so it is not a bad gene.
-
What if I have a positive result?
Abacavir is avoided and other antiretrovirals are used. Tell any new prescriber about the result.
-
Should my relatives be tested?
Only if abacavir is being considered for them. The variant is inherited, but it causes no problems unless the drug is taken.
-
When do I need urgent help?
Call 999 for breathing difficulty, facial swelling or collapse. For new fever or rash after starting an HIV medicine, contact your HIV clinic promptly.
Where this comes from
Sources and checking.
This guide is for information, not medical advice.
Your GP or consultant knows your history and can tell you which parts apply to you. If your symptoms are severe, rapidly worsening, or come with red-flag features, seek urgent medical care. Figures and availability change, so treat them as a guide and confirm with the provider.
Published 2026-10-03, next review 2027-10-03.
-
MedlinePlus Genetics (US National Library of Medicine): HLA-B gene (https://medlineplus.gov/genetics/gene/hla-b/), retrieved October 2026
-
US Food and Drug Administration: Table of Pharmacogenetic Associations (https://www.fda.gov/medical-devices/precision-medicine/table-pharmacogenetic-associations), retrieved October 2026
-
NHS: HIV and AIDS, treatment (https://www.nhs.uk/conditions/hiv-and-aids/treatment/), retrieved October 2026
-
NHS: HIV and AIDS, living with HIV (https://www.nhs.uk/conditions/hiv-and-aids/living-with/), retrieved October 2026