top of page
Rinnit logo – modern health products and health news

HIV Test: Types, Window Periods, How It Works and Results

Nov 6
8 min read

Updated: 2 days ago

Written and medically reviewed by Dr. Baraa Alnahhal, MD · Last reviewed: November 2026 · How we review

Quick Answer: What is an HIV test?

An HIV test shows whether you have the human immunodeficiency virus (HIV), which attacks the immune system. It uses a blood sample or an oral fluid swab, and some rapid tests give a result in 20 minutes. Everyone ages 15 to 65 should be tested at least once, and a positive result needs a second test to confirm it. [1]

What the research says

  • HIV self-testing roughly doubles how many people get tested. A meta-analysis of five randomized trials with 4,145 participants found that offering free oral-fluid self-tests doubled testing uptake among men (relative risk 2.12) and nearly doubled how often men who have sex with men tested, with no sign of harm. (Johnson et al., Journal of the International AIDS Society, 2017) [2]

  • People can run rapid HIV tests on themselves reliably. A review of 25 studies found almost perfect agreement between self-testers and trained health-care workers (pooled kappa 0.97 to 0.98). The most common error was collecting the sample incorrectly, such as the oral swab or finger prick. (Figueroa et al., The Lancet HIV, 2018) [3]

Key takeaways

  • HIV often causes no symptoms early on, so a test may be the only way to know you have it. [1]

  • There are three main test types: nucleic acid (NAT), antigen/antibody and antibody tests. [1]

  • Every test has a window period. Testing too soon after exposure can miss an infection. [1]

  • Two FDA-approved home tests are available for people 17 and older: OraQuick and INSTI. [1]

  • A positive result always needs a confirmatory test, and modern tests are more than 99% accurate after the window period. [1]

What is an HIV test?

An HIV test checks your blood or oral fluid for signs of HIV. HIV is a sexually transmitted infection (STI) that weakens your immune system and, in some people, leads to acquired immunodeficiency syndrome (AIDS), which can be life-threatening. [1]

Oral fluid used for testing contains cells from inside your mouth, so it is different from spit. Getting tested matters because the sooner you know about an infection, the sooner you can start treatment, and newer medicines protect both people living with HIV and their HIV-negative partners. [1]

Who should get an HIV test, and how often?

The U.S. Preventive Services Task Force recommends that everyone ages 15 to 65 get tested for HIV at least once. You should also be tested if you are pregnant or at increased risk. [1]

You may need regular HIV tests if you: [1]

  • Have sex with a partner who has HIV

  • Have a new partner, or several partners, whose HIV status you do not know

  • Are a sexually active man who has sex with other men

  • Have another STI, or your partner has one

  • Share needles or syringes

Testing is recommended during pregnancy, especially in the first trimester, because early treatment helps prevent passing HIV to the baby. People at high risk should be retested later in the pregnancy. Ask your provider how often you personally should be tested. [1]

What are the types of HIV tests?

Comparison table of the three main HIV tests: nucleic acid test, antigen/antibody test and antibody test, with what each detects, the sample used and how soon each detects infection. Image: rinnit.com

There are three main types of HIV test. To screen for HIV, most people first take an antibody test or a combined antigen/antibody test. The nucleic acid test costs more, so it is mainly used when someone has symptoms or to measure viral load after a diagnosis. [1]

Test

What it looks for

Sample

Nucleic acid test (NAT)

HIV RNA (genetic material) and how much virus is in the blood

Blood drawn from a vein

Antigen/antibody test

The p24 antigen and HIV antibodies

Blood draw or finger prick

Antibody test

HIV antibodies made by the immune system

Blood or oral fluid (most rapid and home tests)

Sources: [1]

What is the HIV test window period?

HIV tests cannot detect the virus right after exposure, because the body needs time to make antibodies and for the virus to build up. The window period is the time between infection and when a test can reliably detect HIV. A test taken during the window period may be falsely negative. If you think you were exposed to HIV in the last 72 hours, get care right away and ask about post-exposure prophylaxis (PEP), medicine that can prevent infection if started within 72 hours. [1]

Bar chart of HIV test window periods: nucleic acid test 10 to 33 days, antigen/antibody blood draw 18 to 45 days, antigen/antibody finger prick 18 to 90 days and antibody test 23 to 90 days after exposure. Image: rinnit.com

Test

Can detect HIV

Nucleic acid test (NAT)

10 to 33 days after exposure (shortest window)

Antigen/antibody test, blood draw

18 to 45 days after exposure

Antigen/antibody test, finger prick

18 to 90 days after exposure

Antibody test (most rapid and home tests)

23 to 90 days after exposure

Sources: [1]

How do you prepare for an HIV test?

You do not need to do anything to prepare for a blood test. For home tests that use oral fluid, you may need to avoid eating or drinking for 30 minutes beforehand. Always follow the instructions on the kit. [1]

What happens during an HIV test?

Lab HIV tests

Most HIV tests involve a provider drawing blood in an office or clinic and sending it to a lab. If the result is positive, the lab runs more tests to confirm it, usually in this order: [1]

Three-step lab sequence for confirming HIV: antigen/antibody test, then an antibody differentiation test for HIV-1 and HIV-2, then a nucleic acid test if the second result is negative or unclear. Image: rinnit.com
  1. Antigen/antibody test: checks for the p24 antigen and HIV antibodies. A reactive (positive) result leads to a second test.

  2. Antibody test: checks for HIV-1 and HIV-2 antibodies. A positive result means you have HIV. A negative or unclear result leads to a third test.

  3. Nucleic acid test (NAT): checks for HIV genetic material in the blood.

Sources: [1]

Rapid HIV tests

Rapid tests check blood or oral fluid for HIV antibodies, and some also check for the p24 antigen. Some give results in as little as 5 minutes. These results are preliminary, so a positive result needs further testing by a provider. [1]

At-home HIV tests

You can buy an at-home HIV test in stores or online if you are 17 or older. The FDA has approved two self-tests: [1]

  • OraQuick: you swab your upper and lower gums, place the swab in a vial and read the result in about 20 to 40 minutes.

  • INSTI: you prick your fingertip, add a drop of blood to the device and read the result in about 1 minute.

If a home test is positive, see a provider for a confirmatory test. You can also get tested at a provider's office, clinic or community health center, and the CDC's testing-site search and the HIV.gov locator list many free testing sites. [1]

What do HIV test results mean?

Result

What it means

What to do next

Negative

No sign of HIV was found, or you tested too soon after exposure

Retest after the window period if there is a chance you tested too early

Positive

Signs of HIV were found

Take a confirmatory test with your provider, then start a treatment plan

Sources: [1]

Some rapid antigen/antibody and antibody tests give results in under 20 minutes. Results from a nucleic acid test may take several days. [1]

If your test is positive

Confirm the result with another test. Once HIV is confirmed, your provider will check how far it has progressed and prescribe highly active anti-HIV medicines that help your body fight the virus and prevent AIDS. You may also be referred to a specialist. Tell your sexual partners so they can be tested too. [1]

If your test is negative

If there is a chance you tested too soon, take a second test after the window period. Keep protecting yourself: use condoms or dental dams, do not share needles or other injection equipment, and ask about pre-exposure prophylaxis (PrEP) if you are at increased risk. [1]

How accurate are HIV tests?

Accuracy depends on the type of test and how soon after exposure you take it. Modern HIV tests are more than 99% accurate when used correctly and after the window period. [1]

HIV-1 and HIV-2 tests

There are two types of HIV. HIV-1 is the most common and spreads more easily. Some antibody tests detect HIV-1 antibodies, HIV-2 antibodies or both. [1]

Questions to ask your provider

  • Which HIV test is right for me, given when I may have been exposed?

  • When should I retest if this result is negative?

  • How often should I be tested based on my risk?

  • Is PrEP a good option for me?

Conclusion

An HIV test is quick, often free and sometimes something you can do at home. Knowing which test you are taking and its window period helps you trust the result, and a positive result always needs confirmation. Early diagnosis opens the door to effective treatment and protects the people close to you. If you are worried about the result, lean on people you trust or a counselor for support. [1]

Keep learning: Read our guides to HIV and AIDS and sexually transmitted diseases. To find a testing site near you, use the CDC's HIV testing information.

FAQ

What is an HIV test?

An HIV test checks your blood or oral fluid for signs of the human immunodeficiency virus (HIV), such as antibodies, the p24 antigen or the virus's genetic material [1].

Who should get tested for HIV?

Everyone ages 15 to 65 should be tested at least once, plus anyone at increased risk and anyone who is pregnant [1].

How soon after exposure can an HIV test detect HIV?

A nucleic acid test can detect HIV 10 to 33 days after exposure, an antigen/antibody blood test 18 to 45 days, and an antibody test 23 to 90 days [1].

How long do HIV test results take?

Some rapid tests give results in under 20 minutes, while a nucleic acid test can take several days [1].

Are home HIV tests accurate?

Yes, when used correctly and after the window period. Studies show self-testers agree with trained health workers almost perfectly [3]. A positive home result must be confirmed by a provider [1].

What does a negative HIV test mean?

It means no sign of HIV was found, or you tested too soon. If you may have tested inside the window period, test again after it ends [1].

What happens if my HIV test is positive?

You will need a follow-up test to confirm it. If confirmed, your provider will start a treatment plan and your sexual partners should be tested [1].

Do I need to prepare for an HIV test?

Blood tests need no preparation. For oral fluid home tests, you may need to avoid eating or drinking for 30 minutes first [1].

Can a routine blood test detect HIV?

Not unless the lab is asked to look for HIV. The blood draw is the same, but the sample must be checked specifically for HIV antigens, antibodies or RNA [1].

How accurate are HIV tests?

Modern HIV tests are more than 99% accurate when used correctly and after the window period [1].

Related Reading

Post-Exposure Prophylaxis (PEP): How It Works and When to Start explains emergency HIV prevention after a possible exposure.

CD4 Count: Normal Range, What a Low CD4 Count Means and How Often It's Checked explains the blood test that tracks helper T cells and immune strength.

References

  1. Cleveland Clinic. HIV Test: Types, How Often, What To Expect & Results. Cleveland Clinic. Last updated September 16, 2026. https://my.clevelandclinic.org/health/diagnostics/4849-hiv-testing

  2. Johnson CC, Kennedy C, Fonner V, et al. Examining the effects of HIV self-testing compared to standard HIV testing services: a systematic review and meta-analysis. J Int AIDS Soc. 2017;20(1):21594. PMID 28530049. https://doi.org/10.7448/IAS.20.1.21594

  3. Figueroa C, Johnson C, Ford N, et al. Reliability of HIV rapid diagnostic tests for self-testing compared with testing by health-care workers: a systematic review and meta-analysis. Lancet HIV. 2018;5(6):e277-e290. PMID 29703707. https://doi.org/10.1016/S2352-3018(18)30044-4

Medical disclaimer

This article is for general education only and does not replace advice from a qualified healthcare professional. Talk to your doctor about your own diagnosis and treatment, and seek emergency care right away for severe or sudden symptoms.

Comments


bottom of page