Skip to content

Key points

  • Regularly missing doses of HIV treatment can lead to drug resistance and treatment no longer working.
  • If you maintain an undetectable viral load, your HIV cannot become resistant to the anti-HIV drugs that you are taking.
  • Some people contract a strain of HIV which is already drug resistant.
  • Resistance tests are used to help choose the best drug combination for you.

One of the possible consequences of not taking your HIV treatment properly is that your HIV will develop resistance to anti-HIV drugs. Resistance is an important reason why HIV medication can stop working.

HIV reproduces itself very quickly, making billions of new viruses every day. Because the virus often makes mistakes when copying itself, each new generation differs slightly from the one before. These tiny differences are called mutations.

Some mutations occur in the parts of HIV which are targeted by anti-HIV medications. This can result in strains of HIV developing that are less easily controlled by the drugs. These HIV strains are called drug-resistant.

Drug-resistant HIV strains vary – some may be highly resistant to anti-HIV medications, while others may be less so. When an anti-HIV drug is started, HIV that is fully susceptible to that drug disappears rapidly and drug-resistant viruses remain. If the HIV replication is not fully suppressed, these resistant viruses can continue to reproduce themselves despite the drug's presence. The diagram below shows how this works.

Resistance is an important reason why HIV treatment can fail. Viral load, which should drop when you start a new drug combination, will increase again if drug-resistant HIV is able to emerge. However, newer anti-HIV medications provide treatment options for people who have developed resistance to other drugs and resistance does not need to be a reason for someone to become seriously ill because of HIV. 

This diagram explains how resistance to anti-HIV drugs can develop. The line represents viral load level. Before starting treatment the viral load is high and is made up of both drug-sensitive and drug-resistant HIV.

Graph showing drug resistance.

How to reduce the risk of resistance

  • Take your HIV treatment exactly as prescribed.
  • Maintain an undetectable viral load. If you have an undetectable viral load, your HIV cannot become resistant to the anti-HIV drugs that you are taking. 
  • Take a resistance test before starting HIV treatment for the first time, or before changing treatment. The results will help you and your doctor to choose the combination of medications that is likely to be most effective against your HIV. There’s more information on resistance tests below.
  • Be honest with yourself and your doctor about the way you live your life. If it’s likely that you won’t take your HIV treatment properly, then it’s important that your doctor knows this. This will allow your doctor to prescribe a combination of anti-HIV medications that has a lower risk of resistance. For example, HIV treatment that includes an integrase inhibitor or a boosted protease inhibitor has a lower risk of resistance than treatment that is based on an NNRTI.

Cross-resistance

Once resistance to one anti-HIV drug has developed, this may mean that your HIV is also resistant to other, similar anti-HIV drugs (that is, drugs from the same ‘class’) you haven’t yet taken. This is called cross-resistance.

However, cross-resistance isn’t inevitable if you develop resistance to one drug. The use of resistance tests will help you and your HIV doctor select the anti-HIV drugs that are likely to be most effective against your virus if resistance does develop. The risk of cross-resistance is lower if your treatment combination is changed promptly and also for many newer anti-HIV medications. For these reasons, an undetectable viral load is a realistic aim for most people.

Resistance tests

Blood tests are available which detect whether the HIV in your body is resistant to any anti-HIV drugs. 

It's recommended that you have a drug resistance test before you start HIV treatment. This will usually happen when you are first diagnosed with HIV, in case you have a strain of the virus which is already resistant to one or more drugs. Again, you should have a resistance test if you are changing treatment because your viral load is detectable.

Resistance tests are also recommended to help guide the choice of treatment in women who are pregnant, and in children.

Results should be interpreted by someone who is experienced in their use. Test results should be considered alongside your full treatment history, rather than in isolation. This is because drug resistance is not the only reason why HIV treatment can fail – missed doses, poor absorption and drug interactions are other possible causes to consider.

Resistance tests can only be done if your viral load is detectable. They will be more accurate if done while you are still taking a failing combination rather than after you've stopped it. Once you stop taking a drug, the sensitive viruses start to grow rapidly as they are usually more ’fit’ than the resistant viruses. The test may give a misleading answer as it may not be possible to detect the smaller number of resistant viruses. 

Transmission of drug-resistant virus

Some people contract HIV that is already resistant to one or more anti-HIV drugs (this has been the case for around 7% of people in the UK). This can happen regardless of how HIV is passed on.

While contracting a drug-resistant strain of HIV can sometimes limit your treatment options, in many cases these strains are resistant to a drug (or drugs) that is no longer widely used. So resistance will not necessarily cause much trouble.

If you have a detectable viral load and drug-resistant virus, then there’s a risk that you could pass on a drug-resistant strain of HIV to someone else. Condoms, used carefully and consistently, are a very good way of preventing sexual transmission of HIV.  

If you would like to discuss protecting your own or a partner’s sexual health, a health adviser at your HIV treatment centre or another member of your healthcare team can help.

Roger Pebody

Roger Pebody

Commissioning Editor

Roger joined aidsmap in 2008 and was Managing Editor from 2018 to 2024. As a freelancer, he now edits aidsmap’s news and conference coverage, as well as working on updates to About HIV pages. He is also a contributing science editor for TheBodyPro, a freelance journalist for The Lancet HIV, and a medical writer helping researchers prepare articles for peer-reviewed journals. He began working on HIV at Gay Men Fighting AIDS in the mid-1990s.

Basic information

How treatment works

How treatment works

Taking drugs on time

Taking drugs on time

Drug resistance

Drug resistance

Side effects

Side effects

HIV and the immune system

HIV and the immune system

Myths and facts

Myths and facts

What should I do if I throw up after taking my HIV meds?

If I change HIV treatment and find that I don’t like my new meds, can I go back to the old ones?

How long will it take for HIV to develop resistance to my medications?

What is an elite controller?

A to Z of antiretroviral medications

Antiretroviral drug chart

Antiretroviral drug chart

Starting HIV treatment

Pill in hand

Recommended treatments for HIV

A man in a blue t-shirt gets HIV treatment out of a blister pack.

One-pill-a-day HIV treatments

Image: carballo/Shutterstock.com

Anti-HIV drugs

Anti-HIV drugs booklet

Taking your HIV treatment

Taking your HIV treatment booklet

An introduction to HIV medicines

An introduction to HIV medicines

Blood tests before starting or changing HIV treatment

A close up of a person's arm while they are having their blood taken. The person taking the blood is wearing surgical gloves. We can see some of the blood is already in the tube.

Why taking your HIV treatment properly is important

Image: Domizia Salusest | www.domiziasalusest.com

Adherence to HIV treatment

Image: Domizia Salusest | www.domiziasalusest.com

What happens to HIV drugs in the body, and do missed doses matter?

Mareike Günsche | www.aspect-us.com

Where to get HIV treatment

Image: PongMoji/Shutterstock.com

Changing HIV treatment

A man in a bathroom holding two bottles of medication and reading the label of one of them.

Side-effects of HIV treatment

An older man sitting in a chair with a blanket over his knees. He's resting his head on his hand.

Allergic reactions to HIV medications

Photoroyalty/Shutterstock.com

HIV treatment side-effects and mental health

Image: Domizia Salusest | www.domiziasalusest.com

HIV treatment breaks

A white pill bottle is tipped over with white pills spilling out on to a table.

Should HIV controllers take HIV treatment?

A doctor and patient talking in a doctor's office.

HIV lifecycle

RAJ CREATIONZS/Shutterstock.com

The stages of HIV infection

An illustration of an HIV virus.