HIV testing typically involves a blood sample or oral swab, with results available in as little as 20 minutes for rapid tests or a few days for lab-based tests. The type of test you choose determines how soon after a possible exposure it can detect the virus, so timing matters.
Three Types of HIV Tests
There are three categories of HIV tests, and they differ in what they look for and how quickly they can detect an infection after exposure.
Nucleic acid tests (NATs) look for the virus itself in your blood. These detect HIV the earliest, typically 10 to 33 days after exposure. NATs are the most expensive option and aren’t commonly used for routine screening. They’re usually reserved for people who had a recent high-risk exposure or who are showing early symptoms of infection.
Antigen/antibody tests look for two things at once: a protein on the surface of the virus (called p24) that appears early in infection, and the antibodies your immune system produces in response. Lab-based versions of this test, sometimes called fourth-generation tests, can detect HIV roughly 18 to 45 days after exposure. Rapid versions that use a finger prick rather than a full blood draw take slightly longer to become accurate, with a window of 18 to 90 days. This is the standard first-line test used in most clinical settings.
Antibody tests detect only the immune response to HIV, not the virus itself. Because your body needs time to build that response, these tests have the longest window period, typically 23 to 90 days after exposure. Most rapid tests and all currently available home tests fall into this category.
When to Test After Exposure
No HIV test can detect infection immediately. The gap between exposure and when a test becomes reliable is called the window period, and testing too early can produce a false negative. If you had a specific exposure you’re concerned about, the earliest useful test is a NAT at around 10 days. An antigen/antibody blood draw becomes reliable at roughly 18 days, though waiting a full 45 days gives more certainty.
For antibody-only tests, including home oral swab kits, you’ll want to wait at least 23 days, and a negative result is most reliable at 90 days. If you test negative within the window period but still have concerns, retest after the full window has passed.
Where to Get Tested
You have several options depending on your comfort level and how quickly you want results. Most primary care doctors can order an HIV test as part of routine bloodwork. Community health centers, sexual health clinics, and local health departments offer testing, often at no cost. Many of these sites provide rapid testing with results in about 20 minutes.
The federal HIV Services Locator at hiv.gov/locator lets you search for free or low-cost testing near you. It pulls data from multiple government databases to show testing sites, health centers, and related services based on your location. Planned Parenthood locations, urgent care clinics, and some pharmacies also offer testing.
Testing at Home
Home test kits let you collect a sample privately and get results without visiting a clinic. The most widely available option uses an oral swab that you run along your gums, with results in about 20 minutes. Home collection kits that involve a finger-prick blood sample mailed to a lab are also available.
There’s an important accuracy tradeoff to know about. Oral fluid tests have lower sensitivity than finger-prick blood tests. In a study among men who have sex with men in Seattle, oral fluid rapid tests identified significantly fewer infections than rapid tests using finger-prick blood. This means a negative result from an oral home test is somewhat less reliable than a negative result from a blood-based test. A positive result from any home test still needs confirmation through laboratory testing.
What Happens With a Positive Result
A single reactive (positive) test is never considered a final diagnosis. The CDC recommends a specific sequence of follow-up testing. The process starts with a lab-based antigen/antibody test. If that comes back reactive, a second test is run on the same blood sample to differentiate between HIV-1 and HIV-2, the two types of the virus.
If the second test comes back unclear or negative while the first was positive, a nucleic acid test is performed to check for the virus directly. This multi-step process exists because the initial screening tests are designed to cast a wide net. Fourth-generation antigen/antibody tests have a specificity of about 99.9%, which sounds nearly perfect but still means a small number of false positives occur, especially in low-risk populations. The follow-up testing catches those.
If you receive a preliminary positive from a rapid test at a clinic or a home kit, you’ll be directed to get a full lab-based blood draw to start this confirmation process. The entire sequence typically takes a few days to a couple of weeks.
How Often to Test
The CDC recommends that everyone between the ages of 13 and 64 get tested at least once as part of routine healthcare. People with ongoing risk factors benefit from more frequent testing. If you have multiple sexual partners, share injection equipment, or are a man who has sex with men, testing every 3 to 6 months is a reasonable schedule. If you’re taking PrEP (pre-exposure prophylaxis), regular HIV testing is already built into that care plan, typically every three months.
Pregnancy is another standard testing point. Most prenatal care includes HIV screening in the first trimester, and sometimes again in the third trimester for those at higher risk, since early detection allows treatment that dramatically reduces the chance of passing the virus to the baby.