Back to Sexual Health

When Should You Get Tested After Unprotected Sex?

Mens Health Guide Editorial 7 February 2026

After unprotected sex, it is natural to want to get tested straight away. But most tests for sexually transmitted infections cannot detect an infection immediately. Each infection has a window period, the time between being exposed and a test being able to give a reliable result. Testing too early can give a falsely reassuring negative result, which is why timing matters.

What is a window period?

When you are exposed to an infection, it takes time for the bacteria or virus to multiply to detectable levels, or for your body to produce antibodies that tests can pick up. The window period varies between infections and types of test.

If you test during the window period, a negative result may not be accurate. You may need to repeat the test once the window period has passed.

When should you test for chlamydia and gonorrhoea?

Tests for chlamydia and gonorrhoea are generally reliable around two weeks after exposure. Testing earlier can miss infections. If you have symptoms, get tested straight away, regardless of timing.

When should you test for syphilis?

Blood tests for syphilis may not detect infection until around six weeks after exposure and can take up to twelve weeks. You may be advised to test at around four to six weeks and repeat at twelve weeks. If you have a sore or rash, get checked promptly, as a swab of a sore can detect syphilis earlier.

When should you test for HIV?

The standard laboratory HIV test used in clinics, known as a fourth-generation test, looks for both antibodies and part of the virus itself. It can detect most infections four weeks after exposure. A negative result forty-five days after exposure is considered conclusive for this type of test.

Rapid finger-prick tests and HIV self-tests have a longer window period, often ninety days, as they mainly detect antibodies. Check the instructions for the specific test.

When should you test for hepatitis B and C?

Tests for hepatitis B and C may not detect infection for several weeks, and it can take up to three months for reliable results. Your clinic will advise on timing based on your risk.

What if you are worried about HIV right now?

If you think you have been exposed to HIV in the last seventy-two hours, do not wait for a test. Go to a sexual health clinic or, out of hours, A&E and ask about PEP. Post-exposure prophylaxis is a four-week course of medicines that can prevent HIV infection if started quickly, ideally within twenty-four hours and no later than seventy-two hours after exposure.

PEP is usually recommended after higher-risk exposures, such as unprotected anal or vaginal sex with a partner who has HIV and is not on effective treatment, or whose status is unknown and who is from a group with higher rates of HIV.

Should you test now and later?

Often, yes. If you have symptoms or are anxious, many clinics will test you at your first visit and advise a repeat test once the window period has passed. This can pick up infections early and provide reassurance.

What should you do in the meantime?

Avoid sex or use condoms until you have been tested and received your results, to avoid passing on any infection. If you develop symptoms such as a discharge, burning when passing urine, sores, a rash or flu-like illness, get checked straight away.

What if you have symptoms but tested negative?

If you tested within the window period, or symptoms continue after a negative result, go back to the clinic. A repeat test or a different test may be needed, and some symptoms have causes other than STIs.

How often should you test routinely?

If you have new or multiple partners, regular testing is sensible even without symptoms. Gay, bisexual and other men who have sex with men are advised to test at least once a year, and every three months if they have new or multiple partners. Anyone who has had unprotected sex with a new partner should consider testing.

More on this subject, and related ones, sits in the sexual health section.

This page is general information rather than medical advice.