100%

This Pearl is provided as free content. Here is the link to our terms of use

HIV: testing in primary care

This article was updated in November 2026.

In 2025, the Department of Health published its HIV action plan and announced significant funding, with the aim of eliminating new HIV transmissions by 2030. The action plan highlights 5 strategic priorities:

  • Prevention.
  • Testing.
  • Treatment.
  • Reduction of stigma.
  • Collaboration between sexual health services and wider health systems.  

In this article, we focus on the role of HIV testing in primary care, but you may find our other HIV/AIDS content helpful when considering the other priorities mentioned above: HIV pre-exposure prophylaxis (PrEP), HIV: managing HIV in primary care, HIV post-exposure prophylaxis (PEP) and HIV and AIDS: background and overview. 

Why does HIV testing matter in primary care?

Early diagnosis and effective treatments not only mean:

  • Near-normal life expectancy for those infected, but also…
  • Undetectable viral load, and therefore…
  • Avoidance of further spread to partners and the wider community. 

U = U (Undetectable = Untransmittable) 

But this requires testing and identification of people with undiagnosed HIV; this is estimated to be 4% of all those living with the virus or about 4700 people in the UK (Department of Health's HIV action plan for England, 2025–30). Undiagnosed HIV is also more likely to result in late presentation, and late presentation is associated with poor outcomes: people diagnosed with HIV late in England in 2023 were 10 times more likely to die within a year of diagnosis than those diagnosed promptly (gov.uk - HIV testing, PrEP, new HIV diagnoses and care outcomes for people accessing HIV services: 2025 report).   

Primary care is well placed to offer HIV testing, but opportunities are often missed. This article uses the BHIVA/BASHH/BIA guidelines from 2020 and the NICE guidelines on HIV testing (NG60, 2016 (updated 2025)), plus UKHSA and Department of Health publications, to help guide us. 

Prevalence of HIV in the UK

107 949 people received care for HIV in 2023 in the UK (National AIDS Trust – UK HIV statistics, accessed May 2025). 

Between 2015 and 2025, annual new HIV diagnosis rates for adults in England fell by almost 50% (Department of Health's HIV action plan for England, 2025–30). However, progress is slowing, with a rise in new diagnoses seen between 2020 and 2023. This is why testing is more important than ever. Late diagnosis remains an issue, and reductions in HIV transmission have been uneven. Inequalities are widening for heterosexual ethnic minority populations, people coming to the UK from high-prevalence countries, and ethnic minority and younger MSM (men who have sex with men). 

Older prevalence data highlights certain groups to be aware of (NICE NG60, 2016 (updated 2025):

Group HIV prevalence in those aged 15–44y in 2014
All MSM 1 in 20
Black African heterosexual women 1 in 22
Black African heterosexual men 1 in 56
For comparison…
Overall population prevalence 1 in 526

But when it comes to HIV testing, prevalence is not the most important part of the story; this is because the vast majority of people living with HIV are on effective treatment and cannot transmit the virus. Rates of new infection by population are more important because these tell us which groups are at most risk of acquiring HIV. The incidence of new HIV diagnoses in ethnic minority MSM, for example, is over 50 times higher than in the background population (Department of Health's HIV action plan for England, 2025–30).  

The Department of Health has listed 5 ‘priority populations’ for HIV care, listed here alongside incidence of new infections for 2024 and trends. This helps illustrate who is at most risk and who to prioritise for testing. See ‘health inequalities’ section for more on approaching ethnicity, sexuality and HIV sensitively:

Population Incidence of new HIV infections 2024 Trend
Ethnic minority MSM (data includes Black African MSM) 35 per 10 000 Stable
White MSM 9 per 10 000 Falling sharply
Black African heterosexual men 6 per 10 000 Rising
Black African heterosexual women 8 per 10 000 Rising

Ethnic minority heterosexual people 

(data doesn't include Black African heterosexual people)

0.5 per 10 000 Rising sharply

Thinking of testing? Also think of pre-exposure prophylaxis (PrEP)!

BASHH guidance on pre-exposure prophylaxis for HIV states that in anyone who we are testing for HIV, we should also consider whether HIV pre-exposure prophylaxis may be appropriate. More on this in our article on HIV PrEP.

Who should we test?

In primary care, we should recommend testing to the groups below, and we should refer any positive results to GUM services urgently (NICE NG60 says that they should ideally be seen within 48h, but by 2 weeks at the latest).  

We have drawn on NICE NG60, 2016 (updated 2025), BHIVA/BASHH/BIA guidelines from 2020 and the Department of Health's HIV action plan for England, 2025–30) to compile this table:

All people living in high-prevalence or extremely-high-prevalence areas (who have not previously tested)

Check your local prevalence at HIV Lens.

  • If your local prevalence is ‘extremely high’ (5+/1000):
    • Offer HIV testing to everyone at registration with the surgery.
    • Offer HIV testing to everyone who is having blood tests for any reason (if they’ve not been screened in the past year).
    • Consider offering opportunistic testing to all patients at all consultations, even if they’re not having bloods for another reason, based on clinical judgement.  
  • If your local prevalence is ‘high’ (2–5/1000), offer HIV testing to:
    • Everyone at registration with the surgery.
    • Everyone who is having blood tests for any reason (if they’ve not been screened in the past year).
All people in high-risk groups

Our references name the following populations, but NICE says this can apply to any group known to be at increased risk:

  • Men who have sex with men (MSM) and their sexual contacts.
  • Black African people. (This term refers to self-identified ethnicity, and is used to highlight this important at-risk group across all source documents.)
  • “People known to be from a group with high rate of HIV infection” (NICE). This is broad, and includes the DoH’s 'priority populations':
    • Ethnic minority MSM.
    • White MSM.
    • Black African heterosexual men.
    • Black African heterosexual women.
    • Ethnic minority heterosexual people (data doesn't include Black African heterosexual people).
  • People known to be from a country with a high rate of HIV infection (World Population Review - HIV rates by country) and their sexual contacts.
  • People who inject drugs (past and current).
  • People who report sex work.
  • People who are or have been in prison.
  • Trans women who have sex with men (also consider trans men).
  • Children of mothers living with HIV.
  • Sexual contacts of people diagnosed with HIV or at high risk of HIV.
  • People who report high-risk sexual practices (e.g. ‘chemsex,’ meaning the use of drugs to enhance the experience of sex).
  • People diagnosed with, or requesting testing for, any STI.
People with clinical indicator conditions 

These are any medical conditions associated with an undiagnosed HIV seroprevalence of ≥1/1000. There are 2 categories:

  • Non-AIDs-defining conditions (see separate table for conditions we may see in primary care).
  • AIDs-defining illnesses:
    • Less likely to be diagnosed in primary care due to their severity and specialist nature.
    • Examples include Kaposi’s sarcoma, TB and other severe systemic infection.
    • For a full list of these, NICE refers us to HIV in Europe's guidance on indicator conditions.

Testing elsewhere

Routine screening is offered in other settings such as (BHIVA/BASHH/BIA guidelines):

HIV and health inequalities 

Contextualising health inequalities

Anyone from any population can contract HIV, and NICE is clear in its 2025 HIV testing guidance that we should be broad in our approach, and make offering HIV testing a routine and normalised part of our practice. 

NICE, BASHH and the Department of Health all recommend targeted screening for at-risk groups. These populations represent significantly marginalised groups in UK society. Stark health inequalities exist here: these groups all have a higher incidence of HIV infection than the baseline population, and Black and ethnic minority people also face worse outcomes, including later diagnosis and poorer treatment retention. Factors that contribute to these inequalities include structural racism, homophobia and sexism. For more detail, you may find our article: Health inequalities: the social determinants of health useful.

A note on language…..

Definitions: Black African people

Black African people are consistently emphasised as an important high-risk group throughout HIV guidance. The Department of Health clarifies that ‘Black African’ refers to anyone who self-identifies as this ethnicity. All Black African people are exposed to health inequalities, and the incidence data quoted earlier in this article refers to Black African people born both in the UK and abroad. However, Black African people born in Africa are at particularly elevated risk from HIV (gov.uk - HIV testing, PrEP, new HIV diagnoses and care outcomes for people accessing HIV services: 2025 report). 19 of the top 20 countries in terms of global adult HIV prevalence in 2024 are African (World Population Review - HIV rates by country).

Definitions: men who have sex with men 

We use ‘men who have sex with men’ (MSM) in our resources to align with NICE, but note that the UKHSA and Department of Health use ‘gay and bisexual men,’ and the UKHSA cites stakeholder consultation in this decision. When speaking to patients, it’s important to echo the terms people use to describe their own identity and sexuality.

Communication skills and cultural sensitivity

When we offer HIV testing based on someone's birthplace, ethnicity, sexuality or another potentially marginalised factor, we need to communicate this extremely sensitively. While routine, normalised screening is key, NICE reminds us that we need to exercise clinical judgement as to whether it’s the right time to offer opportunistic HIV testing during any one primary care consultation. This is a complex area, and we need to balance the need for sensitivity against the potential harms of missed screening opportunities. 

Listening to the voices of people from marginalised populations as to how best to deliver all aspects of HIV care, including testing, is a key principle highlighted in the Department of Health action plan. Are there communities or organisations you could connect with to guide your local approach? 

These resources offer further support around inclusivity and cultural awareness for clinicians:

Key message

If the patient in front of you belongs to any of the named at-risk groups or any other group known to be at increased risk of HIV, and it feels appropriate in the context of your consultation, offer routine HIV screening. 

And remember, for those of us who work in areas defined as extremely-high prevalence, this applies to every single patient we see, regardless of their demographics!

How often should we test?

This should be guided by ongoing risk. BASHH recommends:

  • Annual testing for some people (e.g. people who report sex work or inject drugs, MSM).
  • 3-monthly testing for higher-risk activity (e.g. repeated unprotected sex with multiple sexual partners).
  • Repeat testing following any episodes of high-risk sexual contact (taking account of any window period). In practice, this usually means that for those with a negative HIV test result and a high-risk exposure, we should consider repeating the test 45 days after the exposure (BMJ 2025;388:r129).

We should suggest that people with ongoing high risk of infection engage with local sexual health services to facilitate preventative strategies (condom use, health promotion and pre-exposure prophylaxis). 

Clinical indicator conditions that we may see in primary care

We should offer HIV testing to patients with clinical indicator conditions. Below is a list of indicator conditions that may present to us (HIV in Europe's guidance on indicator conditions). Note that none of these are AIDS-defining illnesses:

Respiratory Neurology Gastroenterology
  • Community-acquired pneumonia.
  • Lung cancer.
  • Invasive pneumococcal disease.
  • Peripheral neuropathy.
  • Mononeuritis.
  • Guillain-Barré syndrome.
  • Subcortical dementia.
  • Multiple sclerosis-like disease.
  • Hepatitis A/B/C.
  • Unexplained chronic diarrhoea.
  • Unexplained weight loss.

 

Dermatology Haematology ENT/oral medicine
  • Herpes zoster.
  • Seborrhoeic dermatitis.
  • Severe or atypical psoriasis.
  • Malignant lymphoma.
  • Unexplained lymphadenopathy.
  • Unexplained leukocytopenia/thrombocytopenia lasting >4w.
  • Mononucleosis-type illness.
  • Unexplained oral candidiasis.
  • Oral hairy leukoplakia.
Oncology GUM Other
  • Anal cancer/dysplasia.
  • Cervical dysplasia.
  • Any sexually transmitted infection.
  • Persistent (>1m) herpes simplex.
  • Unexplained chronic renal impairment.
  • Unexplained fever.
  • Visceral leishmaniasis.

How might seroconversion illness present?

Around 80% of people who newly contract HIV will have a short illness, typically 2–4 weeks, following exposure, as they seroconvert. 

Some have very minimal symptoms, such as mild lethargy, but others have a marked flu-like illness, and we might even see acute neurological signs, including facial palsy or transverse myelitis. 

Have a look at the most common clinical manifestations of primary HIV infection, and think about how likely a patient would be to present to us if they were experiencing these (we think pretty likely!):

  • Febrile illness.
  • Lymphadenopathy (often generalised).
  • Pharyngitis.
  • Maculopapular rash.
  • Myalgia, headaches, diarrhoea.
  • Nausea/vomiting.

We should proactively discuss and offer HIV testing in primary care if we are investigating a flu-like illness and intending to do bloods (BMJ 2025;388:r129).

Types of HIV test 

This table is summarised from BMJ 2025;388:r129. Note that fourth-generation testing with a window period of 45d is now routine in most laboratories. 

  Laboratory-based tests 

Rapid self-sampling/point-of-care tests 

(offer these if venepuncture is declined)

Used where? Primary care or hospital setting.

Can be used in community clinics or home setting.

Free and low-cost home tests can be ordered online through a number of providers, including the Terrence Higgins Trust.

Sample site Venepuncture (serology). Finger-prick blood or saliva test.
Measures…

HIV antibodies (third-generation tests).

HIV antibodies and p24 antigen – a viral-derived protein present in early stages of infection (fourth-generation tests). 

Measures HIV antibodies or antigens. Result is available immediately.
Window period (time interval between HIV exposure and accurate detection on testing)

Third-generation test: 60d.

Fourth-generation test (now routine in most labs): 45d.

90d.
Confirmation test required? Not required – refer GUM for ongoing care. 

Yes – in the event of a positive or ‘reactive’ (non-negative) result, due to lower sensitivity and specificity compared with laboratory-based serological tests. 

We may refer to GUM for this. Note that self-sampling (distinct from community point-of-care testing) relies on patients to self-present to us for referral.

Pretest discussion  

Lengthy pretest discussion is not required, and we should normalise HIV testing as a routine part of care. At Red Whale, we suggest phrasing the offer of screening something like this:

"We offer HIV screening to everyone with (for example) unexplained weight loss. Is it OK if I request that as part of the blood tests we're arranging?"

We should make patients aware:

  • That they are being tested and this is voluntary.
  • How their result will be communicated to them and managed.
  • That testing enables early diagnosis and initiation of treatment, which ensures they remain healthy and do not transmit the virus to others.
  • That HIV treatment is effective and enables affected people to have a normal life expectancy. 

Barriers to testing

Patients may avoid testing due to: 

  • Fears about the stigmatisation of a positive diagnosis due to perceived associations or behaviour.
  • Lack of knowledge and fear of illness, discrimination or death.
  • Assumption that they are at low risk of HIV. 

We should focus on the positive health benefits of knowing HIV status, as well as the confidential nature of the testing. Significant stigma still exists, and displaying confidentiality notices in our surgeries can help encourage patients to seek support when they need it (BMJ 2025;388:r129).

What about insurance?

Back in the 1980s and 90s, potential customers for life insurance were routinely asked not only whether they'd ever had a positive HIV test, but also whether they'd ever had an HIV test at all. Data at the time suggested that this practice was deterring people from having HIV testing, and, in 1994, the Association of British Insurers updated its code of practice to recommend that applicants should not be asked about negative HIV tests (BMJ 1994;309:360). 

We can’t find a current publication confirming that this remains the Association of British Insurers' position. However, it would make little sense for a modern-day insurer to use a history of having had an HIV test as a meaningful indicator of being at risk of contracting HIV, given that screening practices are so widespread (encompassing, for example, all pregnant women, all patients who attend A&E in high-prevalence areas and the extensive primary care screening recommended in this article). It's also worth noting that neither NICE nor BHIVA’s guidance on testing recommends that we mention insurance in pretest counselling, implying that patients’ eligibility for insurance is not considered at risk due to routine HIV testing by these bodies.

As with any other medical condition, insurance applicants do need to declare a positive HIV result. The good news is that access to insurance is improving for those living with HIV as insurers increasingly recognise that many people have a normal life expectancy (Terrence Higgins Trust: Telling people - healthcare and insurance).  

HIV: testing in primary care

  • Early diagnosis and treatment of HIV can mean near-normal life expectancy for those infected.
  • Effective treatment also leads to an undetectable viral load and therefore avoidance of further spread to partners and the wider community (undetectable = untransmittable).
  • An estimated 4% of cases remain undiagnosed, and finding these people is key to eliminating HIV.
  • We should offer HIV tests to people who live in high-prevalence areas, those in high-risk groups and patients presenting with indicator conditions.
  • All patients with newly diagnosed HIV should be seen by an HIV specialist within 2w.

Do you know the HIV prevalence in your area? 

Do you have a practice policy for HIV testing and the communication of results?

Do you know what type of HIV test your local lab offers and therefore what your ‘window period’ should be?

Useful resources:
Websites (all resources are hyperlinked for ease of use on Red Whale Knowledge)

This information is for use by clinicians for individual educational purposes, and should be used only within the context of the scope of your personal practice. It should not be shared or used for commercial purposes. If you wish to use our content for group or commercial purposes, you must contact us at sales@red-whale.co.uk to discuss licensing, otherwise you may be infringing our intellectual property rights.

Although we make reasonable efforts to update and check the information in our content is accurate at the date of publication or presentation, we make no representations, warranties or guarantees, whether express or implied, that the information in our products is accurate, complete or up to date.

This content is, of necessity, of a brief and general nature, and this should not replace your own good clinical judgment or be regarded as a substitute for taking professional advice in appropriate circumstances. In particular, check drug doses, side effects and interactions with the British National Formulary. Save insofar as any such liability cannot be excluded at law, we do not accept any liability for loss of any type caused by reliance on the information in these pages.

Here is the link to our terms of use.