HIV testing looks for the virus or your body's response to it, using a finger-stick, oral swab, or blood draw. Because antibodies and viral proteins take time to appear, each test has a window period: a nucleic-acid test can detect HIV roughly 10–33 days after exposure, a lab antigen/antibody test 18–45 days, and antibody-only rapid tests 23–90 days CDC, HIV Testing.

38,800
New diagnoses

in 2023

1.12 million
Living with HIV
~65%
Virally suppressed

≈723,000 — U=U

381,000
On PrEP
HIV in the US at a glance, 2023. Source: CDC AtlasPlus, 2023.
HIV in the US at a glance, 2023
ItemValue
New diagnoses38,800 — in 2023
Living with HIV1.12 million
Virally suppressed~65% — ≈723,000 — U=U
On PrEP381,000

How HIV testing actually works

HIV is a virus that attacks the immune system, and the body can't clear it on its own CDC, About HIV. A test has to catch one of three things: the virus's genetic material, a viral protein called p24 antigen, or the antibodies your immune system makes in response. Which one a given test detects determines how soon after a risk it can find an infection.

There are three test families, and they don't all detect HIV at the same speed:

  • A nucleic-acid test (NAT) measures the virus's RNA directly from a blood draw. It turns positive earliest because the virus multiplies long before antibodies show up. NAT is usually reserved for recent high-risk exposures or to confirm an unclear result.
  • An antigen/antibody (4th-generation) lab test runs on blood and looks for both the p24 antigen and HIV antibodies at once. This is the standard screening test most clinics order.
  • Antibody tests — including the rapid finger-stick and oral-swab kits that give an answer in minutes — detect only antibodies, so they take the longest to turn positive.

The sample is simple: a small finger-stick of blood, a swab of the gums for the oral test, or a vial of blood drawn from your arm for the lab assays. Rapid versions you do in a clinic or at home give results while you wait; lab tests come back in a few days.

When to test after exposure: the window period

The window period is the gap between a possible exposure and when a test can reliably detect HIV. Testing too early can give a falsely reassuring negative, which is the single most common mistake people make. Here's how the three test types compare:

Test typeSampleDetectsDetection window after exposure
Nucleic-acid test (NAT)Blood drawViral RNA10–33 days
Antigen/antibody (4th-gen) lab testBlood drawp24 antigen + antibodies18–45 days
Antibody / rapid testFinger-stick or oral swabAntibodies only23–90 days

A negative result is only conclusive once you're past the window for the test you used and you had no further exposure during that time. If you test early and it's negative, you'll need to retest after the full window closes to be sure. For a deeper walkthrough of timing by exposure type, see our guide on when to test — when to test after exposure.

One urgent exception overrides all of this. If you think you were exposed in the last three days, don't wait to test — that's a same-day conversation about post-exposure prophylaxis (PEP), a 28-day course of HIV medicine that must start within 72 hours to work. In the original occupational study, prompt PEP cut HIV seroconversion by about 81% CDC, PEP. After that 72-hour window passes, PEP is no longer an option, so treat a recent high-risk exposure as an urgent-care or ER visit.

Who should get screened

The USPSTF gives HIV screening a Grade A recommendation: every adolescent and adult ages 15–65 should be tested at least once, with younger and older people screened if they have risk factors USPSTF, Grade A. People at increased risk — including those with new or multiple partners, men who have sex with men, anyone who injects drugs, and partners of people with HIV — should test more often, at least once a year per CDC.

HIV isn't spread evenly across the country. In 2023, about 38,800 people were newly diagnosed in the US, and an estimated 1.12 million are living with HIV CDC AtlasPlus, 2023. Diagnosis rates cluster in the South and the capital — highest in Washington DC, followed by Georgia, Florida, and Louisiana. If a screening recommendation feels abstract, the practical version is simpler: a once-in-a-lifetime test is for everyone, and routine retesting is for anyone with ongoing risk.

Getting tested: the visit, at-home kits, and cost

In a clinic, a rapid test is fast and low-drama: a finger-stick or oral swab, then results in minutes. A lab antigen/antibody test means a blood draw and a few days' wait. HIV testing is free at many health departments and community clinics, and at-home kits — both rapid oral swabs and mail-in blood-collection kits — let you screen privately. The one rule with at-home testing is the same as everywhere: respect the window period, because an oral rapid kit used a week after exposure can't rule anything out.

If you're not sure where to go, you can get tested through a range of options — get tested — and it's worth checking how labs differ on test type, turnaround, and price before you book; you can compare testing providers to find one that runs a 4th-generation or NAT test rather than antibody-only. For the full breakdown of HIV testing methods and windows, see our complete hiv testing guide.

Reading your results

A negative result past the window, with no exposure during it, means you don't have HIV. A reactive (preliminary positive) screening result isn't a final diagnosis — it always gets confirmed with a second, different test before anyone tells you you have HIV. That confirmation step is standard and exists to rule out the rare false positive.

Symptoms can't substitute for a test in either direction. About 90% of people develop flu-like symptoms 2 to 4 weeks after infection — fever, sore throat, swollen glands, rash — but those look exactly like dozens of common illnesses, and a real share of people feel nothing at all hiv.gov, Symptoms. Symptoms can't confirm or rule out HIV; only a test can. Notably, that early acute phase is when the viral load peaks above a million copies/mL and the virus is most transmissible — so flu-like symptoms after a genuine risk are a reason to test urgently, not to wait it out.

If your result is positive

A positive result is the start of a treatment plan, not a crisis without a path forward. Modern antiretroviral therapy (ART) controls the virus so well that a 20-year-old who starts before their CD4 count falls below 200 now has a life expectancy approaching the general population's Lancet HIV. Start with our guide to the first steps after a diagnosis if you've just gotten the news — hiv-positive — and read how hiv treatment works day to day.

The single most important fact about treatment is U=U: a person who takes HIV medicine as prescribed and reaches an undetectable viral load does not transmit HIV to sex partners. This isn't optimism — across the PARTNER studies, mixed-status couples logged tens of thousands of condomless sex acts with zero linked transmissions while the HIV-positive partner was undetectable PARTNER, Lancet. Treatment is both your health and your partner's protection.

When to see a clinician

See someone the same day if you may have been exposed in the past 72 hours — that's the PEP window and it doesn't wait. Book a routine visit if you've never been tested, if you've had a new partner or other risk since your last test, or if you have flu-like symptoms after a possible exposure. And if you're HIV-negative but have ongoing risk, ask about PrEP, daily or long-acting medicine that reduces HIV risk from sex by about 99% when taken as prescribed CDC, PrEP.