In this article
The answer depends on the window period, the interval between infection and the point when a particular test can detect it. During this period, a person may be infected but still receive a negative result, and may also transmit the virus.
The window period is not the same for every test because different tests look for different things: the virus's genetic material, a viral protein (the p24 antigen) or antibodies produced by the body. This article explains these differences, gives the approximate intervals used in European and British recommendations, shows how prophylaxis can change the schedule and helps you plan testing at the right time. It does not replace assessment by a professional, who will tailor the dates to each situation.
What happens in the body after infection?
During the first few days after infection, the virus multiplies in tissues near the point of entry and in the lymph nodes, and cannot yet be detected in the blood by any test. This initial stage is sometimes called the eclipse phase. The virus's genetic material (RNA) then begins to appear in the blood, followed by p24 antigen, a protein from the virus itself. Only later does the immune system produce enough antibodies to be detected.
Each type of test can 'see' the infection from the point when one of these markers appears. Tests that look for RNA are the first to become positive, followed by those that look for antigen, while tests that look only for antibodies are the last. This sequence explains the differences in the window period.
| Marker | What it is | When it appears, approximately |
|---|---|---|
| Viral RNA | The virus's genetic material in the blood | Around 1 to 2 weeks after infection |
| p24 antigen | Viral protein | Shortly after RNA, around 2 to 3 weeks |
| Antibodies | The body's response | Around 3 to 4 weeks, sometimes later |
These intervals are approximate averages and vary from person to person.
Window period for each type of test
4th-generation laboratory tests detect antibodies and p24 antigen at the same time. They are the tests most commonly used in laboratories and are recommended as the first choice by the 2021 European guideline on HIV testing. Most infections can be detected by these tests after around four weeks, but the interval regarded as conclusive in the recommendations is around six weeks, or 45 days, to allow for people whose response is slower.
Rapid tests and most self-tests detect antibodies only. Because antibodies appear later, the recommended interval for a conclusive result is longer: around three months, or 90 days. Tests that look for viral RNA can detect infection earlier, but are not routinely used for screening; a doctor may request them in specific circumstances, such as suspected acute infection.
| Type of test | Markers | Interval after exposure for a conclusive result (approximate) |
|---|---|---|
| 4th-generation laboratory test | Antibodies and p24 antigen | Around 6 weeks (45 days) |
| Antibody-only rapid test | Antibodies | Around 3 months (90 days) |
| Self-test (usually antibody only) | Antibodies | Around 3 months (90 days), according to the product instructions |
| RNA test | The virus's genetic material | Used in specific circumstances on medical advice |
Early testing also has value
Many people ask whether it is worth testing before the end of the window period. In several situations, it is. An early test may detect an earlier infection the person did not know about. A 4th-generation test taken after four weeks already detects most recent infections, and a negative result at that stage is reassuring, although it should be confirmed at six weeks. When symptoms are consistent with acute infection, early testing allows a faster diagnosis.
What you should not do is regard a negative result obtained too early as definitive. The most practical approach is to agree a plan with a healthcare professional: an initial test, where appropriate, and a final test when the result becomes conclusive.
| Time of the test | Value of a negative result |
|---|---|
| First few days after exposure | Only assesses earlier infections |
| Around 4 weeks (fourth-generation) | Reassuring, but requires confirmation |
| Around 6 weeks (4th generation) | Generally conclusive |
| Around 3 months (antibody-only tests) | Generally conclusive |
Post-exposure prophylaxis and the window period
Post-exposure prophylaxis (PEP) is a 28-day course of antiretroviral treatment, started as soon as possible, ideally within the first few hours and no more than 72 hours after a potential exposure. It is a prescription-only medicine, usually assessed and prescribed in a hospital emergency department. The 2021 British guideline on PEP recommends taking an HIV test before starting prophylaxis, to establish a baseline, and a follow-up test after completing it.
During PEP, replication of the virus may be suppressed if infection has occurred, delaying the appearance of markers. The testing schedule is therefore counted from the end of prophylaxis, not the date of exposure. The exact dates are set by the team that prescribed PEP, and it is important to follow them.
| Situation | General testing schedule |
|---|---|
| Without prophylaxis | Count from the date of exposure |
| With PEP | Test before starting; final test counted from the end of PEP, as medically advised |
| While taking PrEP | Regular tests during PrEP follow-up, as advised by the doctor |
PrEP and testing
People taking pre-exposure prophylaxis (PrEP) have regular HIV tests, usually every three months, as part of their follow-up. If infection occurs despite PrEP, for example because doses have been taken irregularly, the medication can reduce and delay the appearance of markers in the blood, making interpretation more difficult. This is uncommon, but it is one reason why PrEP should only be taken under medical supervision and should never be started without a recent negative HIV test.
What if the result is reactive or indeterminate?
The window period concerns negative results, but it also helps explain unclear results. During the early stage of infection, some tests may give a weakly reactive or indeterminate result because antibodies are still developing. On the other hand, some reactive results do not indicate infection (false reactive results), particularly with rapid tests and self-tests.
In any of these cases, the rule is the same: a reactive result from a rapid test or self-test is never a diagnosis and must be confirmed in a laboratory. An indeterminate result is generally repeated a few weeks later or supplemented with other tests, as medically advised. Results must always be interpreted by the doctor caring for the person, taking the date of exposure into account.
| Result | Possible explanations | Usual next step |
|---|---|---|
| Reactive rapid test or self-test | Infection or false reactive result | Laboratory confirmation |
| Indeterminate | Very recent infection or interference | Repeat or additional tests |
| Negative before the end of the window period | No infection or infection not yet detectable | Repeat when the result will be conclusive |
Repeated exposures and the window period 'clock'
A common question is what to do when there have been several exposures over time. The practical rule is that the window period is always counted from the most recent potential exposure. A negative result six weeks after the first exposure does not cover an exposure that occurred three weeks later.
For people with frequent exposures, it makes more sense to agree a regular testing plan with a doctor and discuss preventive measures, such as condoms and PrEP, than to try to calculate the window period for each individual exposure.
| Situation | How to count |
|---|---|
| A single exposure | From that date |
| Several exposures | From the most recent one |
| Frequent exposures | Regular testing and a discussion of prevention with the doctor |
What to do if the exposure was very recent
If the potential exposure occurred less than 72 hours ago, testing is not the priority: the priority is to attend a hospital emergency department for an assessment for post-exposure prophylaxis, which is more effective the earlier it is started. Situations such as sex without a condom with a partner who has HIV and is not known to have a suppressed viral load, or whose status is unknown in a higher-risk context, a condom breaking, sharing needles or sexual violence warrant this urgent assessment. In cases of sexual violence, you should also seek support and, if you are in danger, call 112.
If you are unsure where to go, SNS 24 can advise on 808 24 24 24.
At Clínica Alegre in Setúbal and Seixal, you can have laboratory tests and discuss any questions about the results with our team, including the best time to test.
Frequently asked questions
What is the window period?
It is the time between infection and the point when a test can detect it. During this period, the test may be negative even though infection is present.
How long should I wait for a conclusive result?
Around 6 weeks with a 4th-generation laboratory test. Around 3 months with antibody-only tests.
Is a test at 4 weeks reliable?
A 4th-generation test detects most infections at this stage, but confirmation at 6 weeks is recommended.
Does a self-test have the same window period?
Most self-tests detect antibodies only and have a longer window period of around 3 months.
I have taken PEP. When should I have the final test?
The schedule is counted from the end of prophylaxis and is set by the team that prescribed it.
Can I transmit the virus during the window period?
Yes. In fact, the early stage of infection is a time when there is a higher amount of virus in the blood. You should use a condom until you have a conclusive result.
I have had several exposures. When do I count from?
From the most recent potential exposure.
Did you enjoy this article?
Scientific references2
- Gökengin D, Wilson-Davies E, Nazlı Zeka A, Palfreeman A, Begovac J, Dedes N, et al. 2021 European guideline on HIV testing in genito-urinary medicine settings. J Eur Acad Dermatol Venereol. 2021;35(5):1043-1057.
- Cresswell F, Asanati K, Bhagani S, Boffito M, Delpech V, Ellis J, et al. UK guideline for the use of HIV post-exposure prophylaxis 2021. HIV Med. 2022;23(5):494-545.





