ConditionInfections

HIV (Human Immunodeficiency Virus) Infection

HIV (human immunodeficiency virus) is a virus that infects and gradually destroys CD4 cells, a type of white blood cell that coordinates the immune system. It spreads through blood, semen, vaginal and rectal fluids, and breast milk. Without treatment it progresses over years to AIDS. With daily antiretroviral therapy, people with HIV can expect a near-normal lifespan, and those who keep an undetectable viral load cannot pass HIV to sexual partners. Testing is the only way to know your status.

Also called: Human immunodeficiency virus, HIV infection, HIV/AIDS, HIV-1

At a glance

What it is
A lifelong viral infection that weakens the immune system by destroying CD4 cells.
How it spreads
Condomless anal or vaginal sex, sharing needles, pregnancy, birth and breastfeeding.
Early symptoms
Flu-like illness 2 to 4 weeks after infection in many people; many have none.
Diagnosis
Antigen/antibody blood test; confirmation and viral load testing.
Treatment
Daily antiretroviral therapy (ART); undetectable viral load means untransmittable (U=U).

When to get help

Call 911 or go to the ER

  • Severe breathlessness, high fever, confusion, stiff neck or seizure in someone with HIV or possible HIV

See a doctor within a day or two

  • A possible exposure in the last 72 hours (condom broke, sexual assault, needle sharing): ask an ER or sexual health clinic for PEP now
  • Fever, sore throat, rash and swollen glands 2 to 6 weeks after a possible exposure
  • Someone with HIV who has fever, cough lasting more than 2 weeks, weight loss or new headache

Book a routine appointment

  • Anyone aged 13 to 64 who has never had an HIV test
  • Testing at least once a year with ongoing risk; every 3 to 6 months for some
  • Every pregnancy
  • A new diagnosis of another sexually transmitted infection, tuberculosis or hepatitis B or C

How HIV affects the body

HIV targets CD4 T cells. It inserts its genetic material into the cell's DNA and uses the cell to make new viruses, killing it in the process. A healthy adult has roughly 500 to 1,500 CD4 cells per microliter of blood. Untreated HIV lowers this count by an average of about 50 to 100 a year. When it falls below 200, or certain infections or cancers appear, the stage is called AIDS (acquired immunodeficiency syndrome).

Antiretroviral therapy stops the virus from copying itself. The viral load falls, usually to undetectable levels within 6 months, and CD4 cells recover.

Stages of HIV infection

StageTimingWhat happens
Acute HIV2 to 4 weeks after exposureVery high viral load, highly infectious; flu-like illness in many
Chronic (clinical latency)Years, often 8 to 10 without treatmentFew or no symptoms; virus slowly damages immunity
AIDSCD4 below 200 or AIDS-defining illnessOpportunistic infections and cancers

Symptoms

Early (acute) HIV symptoms

About 2 in 3 people develop an illness 2 to 4 weeks after infection, often mistaken for flu or mono. See acute HIV infection for details. Symptoms last 1 to 2 weeks and may include:

  • fever and night sweats
  • sore throat and painful mouth ulcers
  • a flat or raised red rash on the trunk
  • swollen lymph nodes
  • muscle and joint aches, headache, tiredness
  • diarrhea

Many people have no symptoms at all, which is why testing matters.

Chronic HIV

Most people feel well for years. Some have persistent swollen glands, recurrent shingles, oral thrush, or skin problems such as seborrheic dermatitis.

Advanced HIV and AIDS

  • unexplained weight loss and chronic diarrhea
  • persistent fever and night sweats
  • opportunistic infections: Pneumocystis pneumonia, tuberculosis, esophageal candidiasis, cryptococcal meningitis, toxoplasmosis, cytomegalovirus
  • cancers: Kaposi sarcoma, lymphoma, cervical and anal cancer
  • memory and thinking problems

How HIV is transmitted

HIV spreads only through specific body fluids from someone with a detectable viral load: blood, semen and pre-seminal fluid, vaginal and rectal fluids, and breast milk.

Main routes:

  • Anal sex: the highest sexual risk, especially for the receptive partner
  • Vaginal sex
  • Sharing needles and injection equipment
  • Pregnancy, birth and breastfeeding, now rare with treatment
  • Needlestick injuries in healthcare (low risk)

HIV is not spread by kissing, hugging, sharing cups, toilets, swimming pools, mosquitoes, sweat or tears. Oral sex carries a very low risk.

Having another sexually transmitted infection such as syphilis or herpes raises the risk of getting or passing HIV.

Testing for HIV

The CDC recommends that everyone aged 13 to 64 be tested at least once, and people with ongoing risk at least yearly.

TestDetects HIV from aboutNotes
Nucleic acid test (NAT, viral load)10 to 33 days after exposureMost expensive; used for recent exposure or confirmation
Lab antigen/antibody (4th generation)18 to 45 daysStandard blood test
Rapid finger-prick antigen/antibody18 to 90 daysResults in 30 minutes
Antibody tests (including home oral swab)23 to 90 daysHome kits available over the counter

A negative test inside the window period should be repeated. A positive screening test is always confirmed with further testing.

After diagnosis, baseline tests include CD4 count, viral load, resistance testing, kidney and liver function, hepatitis B and C, tuberculosis and other STI screening.

Treatment

Antiretroviral therapy (ART) is recommended for everyone with HIV, started as soon as possible after diagnosis, often the same day.

  • Modern ART is usually a combination of 2 or 3 drugs, often in a single daily pill. Common regimens are built on an integrase inhibitor such as bictegravir or dolutegravir.
  • Long-acting injections (cabotegravir with rilpivirine) every 1 to 2 months are an option for people who are already virally suppressed.
  • Viral load is checked regularly; the goal is an undetectable level (usually below 50 copies/mL).
  • Missed doses can allow drug resistance, so taking ART consistently matters.

People with low CD4 counts also take preventive antibiotics against opportunistic infections until immunity recovers.

Undetectable = Untransmittable (U=U)

People with HIV who take ART and maintain an undetectable viral load for at least 6 months do not transmit HIV through sex. This is supported by large studies of thousands of couples.

Prevention

  • Condoms, used correctly every time
  • PrEP (pre-exposure prophylaxis): daily pills or long-acting injections taken by HIV-negative people, highly effective when used as prescribed
  • PEP (post-exposure prophylaxis): a 28-day course of ART started within 72 hours of a possible exposure, the sooner the better
  • Treatment as prevention: partners with an undetectable viral load
  • Never sharing needles; using syringe services programs
  • Testing and treatment in pregnancy, which lowers transmission to the baby to under 1%

Living with HIV

With treatment, HIV is a manageable long-term condition. People with HIV work, have relationships and children, and age with HIV. Long-term care focuses on taking ART consistently, regular blood tests, vaccinations, and managing heart, bone, kidney and mental health, which can be affected by HIV and aging. Stopping smoking is one of the biggest health gains for people with HIV.

Frequently asked questions

What are the first signs of HIV?

Many people develop a flu-like illness 2 to 4 weeks after infection: fever, sore throat, rash, swollen glands, muscle aches, mouth ulcers and tiredness lasting 1 to 2 weeks. Others have no symptoms. Symptoms alone cannot diagnose HIV, so testing is essential after any possible exposure.

How soon can an HIV test detect infection?

A lab antigen/antibody blood test can usually detect HIV 18 to 45 days after exposure, and a nucleic acid test 10 to 33 days after. Rapid and home antibody tests may take up to 90 days. If you test negative within the window period, test again later.

Can HIV be cured?

There is no widely available cure yet. Antiretroviral therapy controls the virus so well that it becomes undetectable, the immune system recovers, and life expectancy approaches normal. A handful of people have been cured after stem cell transplants for cancer, but this is not a treatment option for HIV alone.

What is the difference between HIV and AIDS?

HIV is the virus. AIDS is the most advanced stage of untreated HIV infection, defined by a CD4 count below 200 or certain serious infections or cancers. With early treatment, most people with HIV never develop AIDS.

What should I do after a possible HIV exposure?

Go to an ER, urgent care or sexual health clinic as soon as possible and ask about PEP (post-exposure prophylaxis). It must be started within 72 hours, ideally within hours, and taken for 28 days. You will be tested at the start and again afterward.

Sources

This guide was written from current patient and clinical guidance, including:

  • CDC: About HIV; HIV testing; PrEP and PEP
  • HIV.gov: Guidelines for the use of antiretroviral agents in adults and adolescents with HIV
  • World Health Organization: HIV fact sheet
  • US Preventive Services Task Force: Screening for HIV infection
  • MedlinePlus: HIV