Short answer
An HIV test is the only way to know your HIV status, but timing matters. CDC says no HIV test can detect HIV immediately after infection because each type of test has a window period: the time between a possible exposure and when the test can detect HIV in the body.
The shortest commonly cited window is for a nucleic acid test, or NAT, which looks for HIV RNA in blood from a vein. The most common U.S. lab screening test is an antigen/antibody test using blood from a vein. Rapid finger-stick tests and oral self-tests can have longer window periods, so the exact test type matters.
Window period by HIV test type
| Test type | Sample and target | CDC window period | What to know |
|---|---|---|---|
| Nucleic acid test (NAT) | Blood from a vein; HIV RNA, the virus itself. | Usually 10 to 33 days after exposure. | Can detect HIV sooner than other test types, but is not usually the routine screening test for everyone. |
| Lab antigen/antibody test | Blood from a vein; HIV p24 antigen plus antibodies. | Usually 18 to 45 days after exposure. | Common for lab-based U.S. screening and often what people mean by a fourth-generation HIV test. |
| Rapid antigen/antibody test | Finger-stick blood; antigen plus antibodies. | Usually 18 to 90 days after exposure. | Fast result, but CDC lists a longer window than lab antigen/antibody testing from a vein. |
| Antibody test | Blood or oral fluid; antibodies to HIV. | Usually 23 to 90 days after exposure. | Most rapid tests and self-tests are antibody tests; oral fluid tests can detect later than vein-blood tests. |
How to interpret a negative result
A negative result after a possible exposure may be reassuring, but it is strongest only when the test was taken after that test's window period and there has not been another possible exposure during the window period. CDC says that if you get an HIV test after a possible exposure and the result is negative, you should test again after the window period for the test you took.
This is why two people can both say they had a negative HIV test but mean different things. A negative lab antigen/antibody result at 46 days answers a different timing question than an oral self-test at 20 days, a finger-stick rapid test at 30 days, or a NAT ordered because of early symptoms.
When NAT or urgent care may matter
CDC says a NAT should be considered for people who had a recent possible exposure, have early symptoms of HIV, and tested negative with an antibody or antigen/antibody test. MedlinePlus notes that NAT tests are mostly used for monitoring HIV treatment rather than routine screening because they are expensive, but they may be discussed after known exposure or symptoms.
If the possible exposure was recent, testing is not the only timing issue. CDC says PEP is emergency medicine to help prevent HIV after a possible exposure and must be started within 72 hours. If that window may still be open, contact urgent care, an emergency department, a sexual health clinic, or another qualified clinician quickly.
Self-tests, lab tests, and confirmatory testing
HIV self-tests can be useful because they are private and fast. HIV.gov says the only rapid self-test currently available in the U.S. is an oral fluid test, and CDC describes most rapid tests and self-tests as antibody tests. That means a self-test may not answer a very recent exposure question as early as a vein-blood lab test or NAT.
A positive screening result is not the end of the testing process. CDC says a positive antibody test, community-program test, or self-test needs follow-up testing with a health care provider. If testing is done in a lab or health care setting, follow-up testing is often done on the same blood sample.
PrEP, PEP, and repeat testing
If you are starting or continuing PrEP, HIV testing follows a prevention-specific schedule. CDC clinical guidance says HIV testing is required before PrEP and that ongoing assessments are done at least every 3 months for oral PrEP. If results are ambiguous while on PrEP, clinicians may repeat lab HIV antigen/antibody testing and HIV-1 RNA testing.
If you take PEP after a recent possible exposure, follow the testing schedule from the clinician who prescribed it. PEP and PrEP can change how clinicians think about symptoms, viral-load testing, and follow-up timing, so this guide cannot replace individualized care.
Questions to ask before testing
- Which exact HIV test am I taking: NAT, lab antigen/antibody, rapid antigen/antibody, or antibody-only?
- Is the sample blood from a vein, finger-stick blood, oral fluid, or a mail-in home collection?
- How many days has it been since the possible exposure, and has there been any new possible exposure since?
- If this test is negative, what date would be after this test's window period?
- If the exposure was within 72 hours, should I be evaluated for PEP right now?
- If I use PrEP or recently used PEP, do I need antigen/antibody testing, HIV-1 RNA testing, or a specific follow-up schedule?
- If the result is positive or unclear, where will confirmatory testing and care linkage happen?
FAQ
Can an HIV test detect HIV immediately after exposure?
No. CDC says no HIV test can detect HIV immediately after infection because each HIV test type has a window period.
What is the window period for a lab antigen/antibody HIV test?
CDC says an antigen/antibody lab test using blood from a vein can usually detect HIV 18 to 45 days after exposure.
What is the window period for a rapid or oral HIV self-test?
Most rapid tests and self-tests are antibody tests. CDC says antibody tests can usually detect HIV 23 to 90 days after exposure; rapid antigen/antibody finger-stick tests can usually detect HIV 18 to 90 days after exposure.
What should you do after a negative HIV test following a possible exposure?
If you test after a possible exposure and the result is negative, CDC says to test again after the window period for the type of test used. A negative result is strongest when the most recent test is after the window period and no new exposure happened during that time.
When is HIV PEP time-sensitive?
CDC says PEP must be started within 72 hours after a possible HIV exposure and that every hour counts, so recent possible exposure should be discussed quickly with urgent care, an emergency department, or another qualified clinician.
Does a positive HIV self-test need follow-up?
Yes. CDC says a positive self-test or community-program test should be followed up with a health care provider for confirmatory testing and care linkage.