Site Map

Screening and diagnosis for HIV

HIV testing; HIV screening; HIV screening test; HIV confirmatory test

In general, testing for the human immunodeficiency virus (HIV) is a 2-step process that involves a screening test and follow-up tests.


Blood test

How the Test is Performed

HIV testing can be done by:


These are tests that check if you've been infected with HIV. The most common tests are described below.

An antibody test (also called immunoassay) checks for antibodies to the HIV virus. Your health care provider may order the test for you to have done at a lab. Or, you may have it done at a testing center or use a home kit. These tests can detect antibodies starting a few weeks after you're infected with the virus. Antibody tests can be done using:

An antigen test checks your blood for an HIV antigen, called p24. When you're first infected with HIV, and before your body has a chance to make antibodies to the virus, your blood has a high level of p24. The p24 antigen test is accurate 11 days to 1 month after getting infected. This test is usually not used by itself to screen for HIV infection.

An antibody-antigen blood test checks for levels of both HIV antibodies and the p24 antigen. This test can detect the virus as early as 3 weeks after getting infected.


A follow-up test is also called a confirmatory test. It is usually done when the screening test is positive. Several kinds of tests may be used to:

How to Prepare for the Test

No preparation is necessary.

How the Test will Feel

When taking a blood sample, some people feel moderate pain. Others feel only a prick or stinging. Afterward, there may be some throbbing or a slight bruise. This soon goes away.

There is no discomfort with an oral swab test or the urine test.

Why the Test is Performed

Testing for HIV infection is done for many reasons, including for:

Normal Results

A negative test result is normal. People with early HIV infection may have a negative test result.

What Abnormal Results Mean

A positive result on a screening test does not confirm that the person has HIV infection. More tests are needed to confirm HIV infection.

A negative test result does not rule out HIV infection. There is a period of time, called the window period, between HIV infection and the appearance of anti-HIV antibodies. During this period, antibodies and antigen may not be measured.

If a person might have acute or primary HIV infection and is in the window period, a negative screening test doesn't rule out HIV infection. Follow-up tests for HIV are needed.


With the blood test, veins and arteries vary in size from one patient to another, and from one side of the body to the other. Taking blood from some people may be more difficult than from others. Other risks associated with having blood drawn are slight, but may include:

There are no risks with the oral swab and urine tests.

Related Information

ELISA blood test


Bartlett JG, Redfield RR, Pham PA. Laboratory tests. In: Bartlett JG, Redfield RR, Pham PA, eds. Bartlett's Medical Management of HIV Infection. 17th ed. Oxford, England: Oxford University Press; 2019:chap 2.

Centers for Disease Control and Prevention website. HIV testing. Updated March 16, 2018. Accessed May 23, 2019.

Moyer VA; US Preventive Services Task Force. Screening for HIV: US Preventive Services Task Force recommendation statement. Ann Intern Med. 2013;159(1):51-60. PMID: 23698354


Review Date: 5/10/2019  

Reviewed By: Jatin M. Vyas, MD, PhD, Assistant Professor in Medicine, Harvard Medical School; Assistant in Medicine, Division of Infectious Disease, Department of Medicine, Massachusetts General Hospital, Boston, MA. Also reviewed by David Zieve, MD, MHA, Medical Director, Brenda Conaway, Editorial Director, and the A.D.A.M. Editorial team.

ADAM Quality Logo

A.D.A.M., Inc. is accredited by URAC, for Health Content Provider ( URAC's accreditation program is an independent audit to verify that A.D.A.M. follows rigorous standards of quality and accountability. A.D.A.M. is among the first to achieve this important distinction for online health information and services. Learn more about A.D.A.M.'s editorial policy, editorial process and privacy policy. A.D.A.M. is also a founding member of Hi-Ethics. This site complies with the HONcode standard for trustworthy health information: verify here.

The information provided herein should not be used during any medical emergency or for the diagnosis or treatment of any medical condition. A licensed medical professional should be consulted for diagnosis and treatment of any and all medical conditions. Links to other sites are provided for information only -- they do not constitute endorsements of those other sites. © 1997- 2021 A.D.A.M., a business unit of Ebix, Inc. Any duplication or distribution of the information contained herein is strictly prohibited.

A.D.A.M. content is best viewed in IE9 or above, Firefox and Google Chrome browser.