Illustration of chains of round purple bacteria on a dark blue background

How does PCR testing work?

Published July 26 2024 inSexual Health
stopwatch8 minutes read

Summary:

  • A PCR test looks for the genetic material of the infection itself in a urine, swab or blood sample, and copies it until there’s enough to detect.
  • It’s the main test for Chlamydia, Gonorrhoea, Trichomonas and Mycoplasma genitalium, and for Herpes when there’s a sore to swab. HIV, Syphilis and Hepatitis are usually found with blood tests for antibodies or antigens.
  • Timing matters. The Better2Know Chlamydia and Gonorrhoea (Urine) test is a PCR test you can take from 14 days after sex, with results in 2 days.

If you’ve looked at STI tests, you’ll have seen the letters PCR. They stand for polymerase chain reaction, one of the main ways a laboratory finds an infection.

In this blog, we explain how PCR testing works, which STIs it’s used for, how soon after sex it gives a reliable result, and when a result can mislead.

What is a PCR test?

A PCR test looks for the genetic material (DNA or RNA) of a virus, bacterium or parasite in your sample. UK guidelines use a wider name, NAAT, which stands for nucleic acid amplification test. PCR is the most common kind of NAAT.

Other tests work differently:

  • antibody tests: look in your blood for your body’s response to an infection
  • antigen tests: look for a part of the virus itself, such as the p24 antigen in a 4th generation HIV test
  • culture: grows the bacteria in the laboratory, which shows which antibiotics will work

Read more in “What is a 4th generation HIV test?”

How does a PCR test find an infection?

The laboratory copies a small piece of the infection’s genetic material again and again, until there’s enough to detect.

  1. The genetic material is taken out of your sample.
  2. It’s mixed with primers, which are short pieces that match the infection being looked for, an enzyme and the building blocks of DNA.
  3. A machine heats and cools the mixture again and again. Each cycle doubles the target, and a typical test runs up to 40 cycles.
  4. Fluorescent markers give off a signal as the copies build up. No signal means the target wasn’t found.

Doubling adds up quickly: 30 cycles turn one copy into about a billion. That’s why a PCR test can find an infection from a very small amount of genetic material.

For viruses whose genetic material is RNA, such as HIV and Hepatitis C, the RNA is copied into DNA first.

Which STIs are tested with PCR?

PCR is the main test for Chlamydia, Gonorrhoea, Trichomonas and Mycoplasma genitalium, and for Herpes when there’s a sore. For most other infections it’s used second, or not at all:

Infection Main test in the UK Sample
Chlamydia PCR Urine for men, a vaginal swab for women, and a throat or rectal swab depending on the sex you’ve had
Gonorrhoea PCR, with a culture swab before treatment to check which antibiotics will work The same as Chlamydia
Trichomonas PCR A vaginal swab for women, urine or a swab from the penis for men
Mycoplasma genitalium PCR, for people with symptoms or a partner who has it A vaginal swab for women, urine for men
Herpes PCR A swab of a blister or sore
HIV A blood test for antibodies and the p24 antigen. PCR is used when a very recent infection is suspected, and to monitor treatment Blood
Hepatitis B A blood test for the surface antigen. PCR measures how much virus is in the blood Blood
Hepatitis C An antibody blood test, then PCR to show whether the infection is current Blood
Syphilis Antibody blood tests. PCR is only used on a swab of a sore Blood
HPV A test for high-risk HPV, as part of cervical screening A sample from the cervix

PCR tests also exist for Ureaplasma and Gardnerella. UK guidelines don’t recommend testing for either, because both are commonly found in the genitals without causing harm. Read more in “Which STIs can be checked with a blood test?”

How accurate is a PCR test?

Very accurate, when the right sample is taken at the right time. UK guidelines say PCR tests for Gonorrhoea find more than 95% of infections, and that a vaginal swab finds 96% to 98% of Chlamydia infections. No test is 100% accurate.

A PCR test can miss an infection if:

  • it’s taken too early: before there’s enough of the infection to find
  • the sample is from the wrong place: a urine test won’t find an infection in the throat or rectum, and for women a vaginal swab works better than urine

False positives are less common. They’re most likely with Gonorrhoea in the throat, where harmless related bacteria live, so laboratories confirm some positive results with a second test. Read more in “How to test for Chlamydia: which sample you need and when”

How soon after sex can a PCR test find an STI?

It depends on the infection. For Chlamydia and Gonorrhoea, a PCR test is reliable from 2 weeks after sex. The gap between catching an infection and a test being able to find it is called the window period.

  • Chlamydia and Gonorrhoea: 2 weeks. If you have symptoms, test straight away. UK guidelines say that if you test sooner than 2 weeks, you should test again 2 weeks after the sex
  • Hepatitis C: the virus can usually be found by PCR within 2 weeks. Antibodies can take 12 weeks or more to appear
  • HIV: a PCR test can typically find the virus from about 10 days, but for some people it takes much longer. UK guidelines don’t recommend PCR tests for routine HIV diagnosis, and say a laboratory blood test is reliable from 45 days
  • Herpes: there’s no window period, because the test needs a blister or sore to swab

If you think you’ve been exposed to HIV in the last 72 hours, get urgent medical care about PEP, emergency medicine that can stop you getting infected.

Can a PCR test be positive after treatment?

Yes. A PCR test can pick up genetic material from dead bacteria for a few weeks after an infection has been cured. UK guidelines say Chlamydia DNA can be found for 3 to 5 weeks after treatment.

That’s why most people don’t need a test straight after treatment. Where a follow-up test is recommended, UK guidelines say to wait:

  • Chlamydia: at least 3 weeks after finishing treatment
  • Gonorrhoea: at least 2 weeks after treatment
  • Trichomonas: 4 weeks after starting treatment

Read more in “Can an STI come back after treatment?”

What can’t a PCR test tell you?

A PCR test shows whether an infection is there now. It can’t show whether you’ve had one in the past.

  • past infection and immunity: only an antibody test can show these. For example, Hepatitis B antibodies can show that you’re protected, and Syphilis antibodies usually stay in your blood for life, even after you’ve been cured
  • how long you’ve had it: a positive result can’t tell you when you caught an infection, or who from
  • whether the infection is alive: PCR finds genetic material, not living bacteria, which is why timing matters after treatment

Better2Know’s Instant Tests, which give a result while you wait, aren’t PCR tests. They’re lateral flow tests that look for antibodies or antigens.

Which test do you need?

Better2Know offers:

  • Chlamydia and Gonorrhoea (Urine): a PCR test on one urine sample, from 14 days after sex, or straight away if you have symptoms, with results in 2 days. You can book it at one of our clinics or have a nurse visit you, and there’s also a home test kit.
  • Chlamydia and Gonorrhoea (Vaginal Swab): for women, a swab that’s tested for the genetic material of both bacteria, from 14 days after sex, with results in 2 days. It’s available at a clinic, with a nurse visit or as a home test kit.
  • Full Screen: tests for 7 infections, including HIV, Syphilis, Hepatitis B, Chlamydia and Gonorrhoea, from 28 days after sex, with results in 3 days (5 days for the home test). It’s available at our clinics or as a Full Screen home test.
  • Early Detection Screen: tests a blood sample for HIV, Hepatitis B and Hepatitis C from 10 days after a risk, by looking for the viruses themselves instead of antibodies, with results in 3 days, at a clinic.

If you test before 45 days, a negative HIV result needs a repeat test, and an early negative Hepatitis B or Hepatitis C result may need one too. A Syphilis test in the first 3 months after sex can miss the infection, so you may need a repeat test. Not sure which test you need? Our Patient Care Team is available 24/7 on 020 7099 0955.

FAQs

Is a PCR test the same as a NAAT?

Nearly. NAAT (nucleic acid amplification test) is the name for all tests that copy an infection’s genetic material. PCR is the most common kind, so the two names are often used to mean the same thing.

Is a PCR test better than an antibody test?

They do different jobs. PCR shows whether an infection is there now, and often sooner. An antibody test shows whether your body has ever met the infection. For HIV, Hepatitis and Syphilis, blood tests for antibodies or antigens are the standard first test.

Are home test kits PCR tests?

Our Chlamydia and Gonorrhoea home test kit is. You collect the sample at home and post it to the laboratory, which tests it by PCR.

Final thoughts

So, how does PCR testing work? It finds the genetic material of an infection and copies it until there’s enough to detect. That makes it very good at finding Chlamydia and Gonorrhoea, even when you have no symptoms. It still depends on timing: test too early and it can miss an infection, and test too soon after treatment and it can find one that has already gone.

Book a Chlamydia and Gonorrhoea (Urine) test at a clinic near you or order a home test kit. Our Patient Care Team is available 24/7 on 020 7099 0955.

Don’t leave your sexual health to chance

A PCR test can find Chlamydia and Gonorrhoea even when you have no symptoms. Protect your sexual health by booking a Chlamydia and Gonorrhoea (Urine) test with Better2Know today.

About this article

Not in the UK? Choose your country from the selector at the top of the page for local tests and prices.

This article originally appeared on 26 July 2024 and was last updated on 3 October 2026.

Medical review. This article was medically reviewed by Dr Steve Chapman, Doctor with a wealth of clinical experience in the field of STIs, on 16 July 2025. It is general information and not a substitute for personal medical advice.

Sources

  1. UK Health Security Agency, UK Standards for Microbiology Investigations Q 4: Good practice when performing molecular amplification assays, 20 March 2025. https://www.rcpath.org/resourceLibrary/uk-smi-q-4i5-1-good-practice-when-performing-molecular-amplification-assays-march-2025.html
  2. Public Health England, Understanding cycle threshold (Ct) in SARS-CoV-2 RT-PCR, October 2020. https://www.gov.uk/government/publications/cycle-threshold-ct-in-sars-cov-2-rt-pcr
  3. Lab Tests Online UK, Chlamydia test. https://labtestsonline.org.uk/tests/chlamydia-test
  4. British Association for Sexual Health and HIV, UK national guideline for the management of infection with Chlamydia trachomatis, 2026. https://www.bashh.org/_userfiles/pages/files/national_guideline_for_the_management_of_infection_chlamydia_trachomatis_2026.pdf
  5. British Association for Sexual Health and HIV, UK national guideline for the management of infection with Neisseria gonorrhoeae, 2025. https://www.bashh.org/_userfiles/pages/files/fiferetal2025britishassociationofsexualhealthandhivuknationalguidelineforthemanagementofinfection_1.pdf
  6. British Association for Sexual Health and HIV, UK national guideline on the management of Trichomonas vaginalis, 2021. https://www.bashh.org/_userfiles/pages/files/resources/tv_2021.pdf
  7. British Association for Sexual Health and HIV, National guideline for the management of infection with Mycoplasma genitalium, 2025. https://www.bashh.org/_userfiles/pages/files/sonietal2025britishassociationofsexualhealthandhivnationalguidelineforthemanagementofinfectionwith.pdf
  8. British Association for Sexual Health and HIV, UK national guideline for the management of anogenital herpes, 2024. https://www.bashh.org/_userfiles/pages/files/pateletal2024britishassociationofsexualhealthandhivuknationalguidelineforthemanagementofanogenital.pdf
  9. British Association for Sexual Health and HIV, UK guidelines for the management of syphilis, 2024. https://www.bashh.org/_userfiles/pages/files/syphilis_2024.pdf
  10. British Association for Sexual Health and HIV, Guidelines on the management of viral hepatitis, 2026. https://www.bashh.org/_userfiles/pages/files/guidelines_on_the_management_of_viral_hepatitis_2026.pdf
  11. British Association for Sexual Health and HIV, Summary guidance on testing for sexually transmitted infections, 2023. https://www.bashh.org/_userfiles/pages/files/resources/bashh_summary_guidance_on_stis_testing_2023.pdf
  12. British Association for Sexual Health and HIV, STI testing through private providers, patient information leaflet, September 2024. https://www.bashh.org/_userfiles/pages/files/private_pil_mobilepdf_03.pdf
  13. British HIV Association, British Association for Sexual Health and HIV and British Infection Association, Adult HIV testing guidelines, 2020. https://bhiva.org/wp-content/uploads/2024/10/HIV-testing-guidelines-2020.pdf
  14. UK Health Security Agency, UK Standards for Microbiology Investigations V 11: Laboratory diagnosis of HIV infection, 8 May 2025. https://www.rcpath.org/resourceLibrary/uk-smi-v-11i5-1-laboratory-diagnosis-of-hiv-may-2025-pdf.html
  15. Public Health England, Guidance for the detection of gonorrhoea in England, March 2021. https://www.gov.uk/government/publications/guidance-for-the-detection-of-gonorrhoea-in-england
  16. Delaney KP and others, Time Until Emergence of HIV Test Reactivity Following Infection With HIV-1, Clinical Infectious Diseases, 2017. https://academic.oup.com/cid/article/64/1/53/2194435
  17. NHS, What is cervical screening?, reviewed 26 June 2025. https://www.nhs.uk/tests-and-treatments/cervical-screening/what-is-cervical-screening/
  18. NHS, Genital herpes, reviewed 27 June 2023. https://www.nhs.uk/conditions/genital-herpes/
  19. NHS, HIV and AIDS, reviewed 9 July 2025. https://www.nhs.uk/conditions/hiv-and-aids/
ABOUT THE AUTHOR

Mike has been delivering world class Sexually Transmitted Infections testing services to Better2Know patients around the world for over ten years. He has written extensively on the subject, including numerous blogs for Better2Know which are designed to demystify the complex intricacies of sexual health testing. Mike wants to help his readers understand the risks they take in their daily sexual lives and provide the information they need when choosing an STI or STD test in a clear, concise and understandable way. Mike is particularly interested in writing about viral STIs like HIV and Hepatitis, as these infections can have a devastating impact on people's lives if they are not diagnosed quickly. Only through being well informed can you best care for your health, and Mike is passionate about sharing his knowledge and experience to help you and all his readers lead a happier, healthier life.