Skip to main content
General practice·General practice

Post Exposure Prophylaxis For HIV Prevention

Overview

PEP stands for post-exposure prophylaxis. It means taking a short course of HIV medicines very soon after a possible exposure to HIV, to stop the virus from getting a hold in your body. 'Prophylaxis' is just a medical word for prevention. PEP is not a vaccine and not a single 'morning-after' pill. It is a 28-day course of tablets that you start as soon as possible, and no later than 72 hours (3 days) after the exposure. The sooner you start, the better it works — ideally within 24 hours.

Key facts

  • PEP must be started within 72 hours of the possible exposure. Sooner is much better — aim for the first 24 hours.
  • It is a 28-day course of HIV medicines. Finishing the whole course matters, even if you feel fine.
  • You can get PEP free and confidentially at sexual health clinics, HIV clinics, and hospital emergency departments.
  • PEP greatly lowers the chance of getting HIV, but it does not remove the risk completely. You will need follow-up blood tests.
  • PEP does not protect against other sexually transmitted infections or pregnancy — ask about those at the same visit.

PEP is not something most people will ever need. It is prescribed many thousands of times a year, mostly after condom accidents, sexual assault, or needle injuries at work. Staff in sexual health clinics have these conversations every day and will treat you with respect.

Anyone can need PEP — at any age, gender, or background. It is offered after sex without a condom or a condom accident, after sexual assault, after sharing needles, and after needle-stick or blood-splash injuries at work. It is also used for children and young people after assault or a needle injury. If you are pregnant, PEP can still be considered with specialist advice.

Symptoms

Call emergency services immediately if you notice:
  • Swelling of the face, lips, tongue or throat, or difficulty breathing or swallowing — this could be a severe allergic reaction.
  • A fast-spreading rash with peeling or blistering skin, or a rash with fever, sore mouth or sore eyes.
  • Fainting, collapse, a seizure (fit), or being too unwell to stay awake.
  • Heavy bleeding or a serious injury after a sexual assault or needle injury.
  • Thoughts of harming yourself or ending your life — call your local emergency number or a crisis line straight away.
See a doctor urgently (same day) if you notice:
  • ⚠You may have been exposed to HIV in the last 72 hours — go to a sexual health clinic or emergency department now. Do not wait for a routine appointment.
  • ⚠You have been sexually assaulted — you can get care, and you do not have to report it to the police to be treated.
  • ⚠A needle-stick or sharps injury at work — report it and go to occupational health or the emergency department the same day.
  • ⚠Fever, sore throat, rash or swollen glands in the weeks after an exposure.
  • ⚠Severe vomiting or diarrhoea, or you cannot keep fluids down.
  • ⚠Dark urine, yellow eyes or skin, or pain under your ribs — these can be signs of liver effects from medicines.
  • ⚠Any widespread or blistering skin reaction while taking PEP.

Common symptoms

  • Most people taking PEP have no symptoms at all, apart from perhaps mild tablet side effects.
  • About 1 in 10 people feel sick, get loose stools, a headache, tiredness or dizziness in the first week or two. These usually settle.
  • If HIV infection did happen despite PEP, some people get a flu-like illness 2 to 4 weeks after exposure: fever, sore throat, swollen glands, a rash on the body, aching muscles and feeling very tired.
  • Many people with early HIV have no signs at all, which is why follow-up blood tests matter more than watching for symptoms.
  • A rash or fever can also be a reaction to the medicines rather than HIV — get it checked instead of guessing.

Symptoms in children

  • Children and young people rarely need PEP, but it is used after sexual assault, accidental needle injuries, or needle-sticks while playing.
  • The 72-hour window and 28-day course are the same as for adults, but a children's doctor or sexual health specialist will usually be involved.
  • Children may be frightened or unable to explain what happened. Calm, patient support and a trusted adult present can help a lot.
  • Side effects like sickness or loose stools can be harder for a child to cope with — tell the clinic early so they can help.

Symptoms in older adults

  • The same 72-hour rule applies at any age — being older is not a reason to be refused PEP.
  • Older adults often take other medicines, so the clinic will check for interactions before choosing which HIV medicines to use.
  • Kidney and liver function may be checked more closely, as these can change with age.
  • Dizziness or loose stools can matter more if you are frail or at risk of falls — mention this to the team.

Causes

Main causes

  • PEP is needed after an event where HIV could have got into your body. HIV is passed through blood, semen, vaginal fluid, rectal fluid and breast milk entering your bloodstream or landing on a soft lining such as the vagina, anus or inside of the mouth.
  • Sex without a condom, or a condom that broke or slipped off, with someone whose HIV status you do not know or who is not on effective treatment.
  • Sexual assault or rape.
  • Sharing needles or other equipment to inject drugs.
  • A needle-stick, cut or splash to the eyes or mouth at work, such as in healthcare, cleaning or laboratory jobs.
  • A needle injury in the community, for example stepping on or handling a used needle.

Risk factors

  • The type of sex — anal sex carries the highest risk, then vaginal sex, then oral sex (which is very low risk).
  • No condom, or a condom used incorrectly or with oil-based lubricant.
  • A partner with a high level of virus in their blood, or not taking HIV treatment.
  • Blood present, or small tears and sores in the vagina or anus.
  • Sharing injecting equipment.
  • Having another sexually transmitted infection, which can make HIV easier to pass on.
  • Working in healthcare or another job with sharps exposure.
  • Being drunk or using drugs, which can make condoms less likely to be used and is also linked to assault.
  • Not knowing a partner's HIV status — this is very common and not a reason to feel judged.

When to see a doctor

See a doctor urgently if:

  • Any possible HIV exposure in the last 72 hours — go now to a sexual health clinic, HIV clinic or hospital emergency department. You do not need an appointment at most emergency departments.
  • Sexual assault — ask for a sexual assault service too. They can offer a forensic examination, infection prevention and an advocate.
  • A needle-stick or sharps injury at work — report it and get seen the same day.
  • Signs of an allergic reaction — swelling, breathing trouble, or a spreading rash.
  • Side effects so severe that you cannot keep taking the tablets — call your clinic rather than stopping on your own.

Book a routine appointment if:

  • Your scheduled follow-up HIV tests — these are essential, even if you feel completely well.
  • Side effects that are manageable but unpleasant — the team can often adjust things.
  • Questions about the course, missed doses, or how to take the tablets.
  • Ongoing risk — ask about PrEP (pre-exposure prophylaxis), a medicine taken before sex to prevent HIV.
  • Vaccinations you may need, such as hepatitis B.
  • Emotional support after an assault, a scare, or a difficult few weeks.
Asking for PEP is a sensible, responsible thing to do, and staff are not there to judge you. Even if some hours have passed, starting at hour 60 or 70 is still worth doing. Most people finish the course without problems, and help is available if side effects or feelings become hard to manage.

Diagnosis

PEP is not a diagnosis — it is a decision made together with you after a short risk assessment. A doctor or nurse will ask what happened and when, then check your HIV status with a blood test before you start. If it turns out you already have HIV, PEP is not the right treatment and the team will help you get proper care instead. Tell them if you are pregnant, breastfeeding, taking other medicines, or have had PEP before. The aim is to give you the first dose the same day, which is why you should go straight to a clinic or emergency department rather than waiting.

Tests that may be done

  • A blood test for HIV, sometimes with a quick finger-prick test first.
  • Blood tests for hepatitis B and hepatitis C.
  • Tests for other sexually transmitted infections such as chlamydia, gonorrhoea and syphilis — usually a urine sample and swabs.
  • A pregnancy test, if this is relevant for you.
  • Blood tests to check your kidneys and liver before you start, and sometimes during the course.
  • Follow-up HIV tests, usually a few weeks later and again around 3 months after exposure — your clinic will give you the exact schedule.
  • For workplace injuries, a test of the source person's blood may be offered if they agree.

What to expect at your appointment

You will have a private conversation about what happened and when. If PEP is right for you, you will usually be offered the first dose there and then, plus either a supply of tablets or a clear plan to collect the rest. The full course lasts 28 days. You will leave with a follow-up plan, including HIV test dates, and instructions on what to do if you miss a dose or feel unwell. You are welcome to bring someone with you for support.

Treatment

PEP means taking HIV medicines every day for 28 days. These medicines block the steps the virus needs to copy itself inside your body. If they are in your blood early enough, HIV cannot get established. The exact combination is chosen for you by a clinician, based on your health, other medicines you take, and what is available locally. You may also be offered other medicines and vaccines at the same visit.

Self-care at home

  • Take your tablets at the same time each day — set a phone alarm or use a pill box.
  • If you miss a dose, take it as soon as you remember, then carry on as normal. Do not take two doses at once. Ask your clinic or pharmacist if you are unsure.
  • If tablets upset your stomach, taking them with a light snack often helps, unless your clinic says otherwise.
  • Drink plenty of water, especially if you have loose stools.
  • Use condoms for all sex during the course and until your final test. PEP does not protect your partners, and you could still pass HIV on if the course does not work.
  • Avoid sharing needles; use a needle exchange for clean equipment if you inject drugs.
  • Write down any side effects so you can tell your clinic.
  • Do not stop the course early without speaking to your clinic first.

Medical treatments

PEP is a combination of HIV medicines — usually two or three — taken once or twice a day for 28 days. Your prescriber chooses the combination and explains what each medicine is for. Alongside PEP you may be offered: a hepatitis B vaccine or protective medicine if you are not already protected; emergency contraception if there is a pregnancy risk; antibiotics or treatment for other infections found on testing; medicines to prevent other infections; and anti-sickness tablets if the HIV medicines upset your stomach. Blood tests check your kidneys and liver, and the team can switch medicines if side effects are hard to live with. Specific drug names and doses are not listed here — your prescriber will explain exactly what you are taking and why.

When is surgery considered?

Surgery is not part of PEP. In rare cases, a tear or injury from an assault may need surgical repair. If so, the specialist team will arrange this alongside your other care, and it will not delay you starting PEP.

Living with this condition

The 28 days can feel like a lot, especially the first week when side effects are most likely. Plan around it: keep tablets with you, set reminders, tell someone you trust if you can, and keep every appointment. Most people carry on with work, study and normal life. If you feel unwell, contact your clinic rather than stopping the tablets on your own.

Lifestyle tips

  • Use condoms consistently until your clinic confirms you are HIV negative at the end of follow-up.
  • Avoid sharing needles, and use a needle exchange service if you inject drugs.
  • Go easy on alcohol — it makes condom use and remembering tablets harder.
  • Tell recent sexual partners so they can be tested. Clinics can help you do this anonymously, without naming you.
  • Have regular STI checks if you are sexually active with more than one partner.
  • Ask about PrEP if there is a chance the same situation could happen again.

Diet and exercise

No special diet is needed. If the tablets make you feel sick, a light snack with them can help. Ask your clinic before taking herbal supplements or drinking grapefruit juice, as some can affect HIV medicines. Gentle, regular exercise, fresh air and good sleep help you feel steadier. Choose water over alcohol if you are feeling rough.

Mental health and emotional wellbeing

A possible HIV exposure brings up a lot — fear, shame, anger, or feeling out of control. This is normal, and it usually eases once the course is underway and your first tests are clear. Anxiety, low mood and poor sleep are common in the first few weeks. If you have been assaulted, distress, flashbacks or feeling numb are also common. You do not have to cope alone. If you ever feel you might harm yourself, contact your local emergency number or a crisis line straight away, or tell someone you trust and stay with them until help arrives.

Prevention

Yes. HIV can be prevented, and there are several layers of protection. Condoms, used correctly every time, are very effective. PrEP is a medicine taken before sex that greatly lowers the chance of getting HIV through sex — ask your sexual health clinic about it. If a partner is living with HIV and taking treatment that keeps the virus undetectable, they cannot pass it on sexually; this is often called U=U, meaning undetectable equals untransmittable. Never sharing needles, and using needle exchanges, removes another major route. PEP itself is prevention — it is how you stop HIV after a possible exposure.

Vaccines

There is no vaccine against HIV yet. You can be vaccinated against hepatitis B, which spreads in similar ways and can be prevented. Ask your clinic if you are not sure whether you are protected.

Screening programmes

Regular HIV and STI testing is part of good sexual health, especially with new or multiple partners. Testing is free, quick and confidential at sexual health clinics. After PEP you will need follow-up HIV tests, usually a few weeks after exposure and again around 3 months — your clinic will confirm the dates.

Complications

If left untreated

  • If HIV is not treated, the immune system slowly weakens over years. This can lead to serious infections and some cancers — the late stage is called AIDS.
  • Without treatment, HIV can be passed to sexual partners and from a pregnant person to their baby.
  • Untreated HIV raises the long-term risk of heart, kidney and brain problems.
  • Other infections picked up at the same time, such as hepatitis B or C, can be missed if you do not attend follow-up tests.

Long-term outlook

The outlook is genuinely good. PEP works well, especially when started early, and most people who take it do not get HIV. If infection does happen, modern HIV treatment keeps the virus suppressed, protects your health, and means you can live a long, full life and cannot pass the virus on. Finishing the course and attending follow-up tests are the two things that make the biggest difference. Whatever the result, you deserve support, not blame.

Find support

External links open third-party websites. Ruqelo Health is not responsible for external content. Listing an organisation does not imply endorsement.

Always verify with your doctor

Health guidance differs by country and region. This page is general education and may not match the guidelines, medicines, or practice where you live. Discuss your concerns with your own doctor or healthcare provider, and follow local guidance where it exists.

Important notice This information is for educational purposes only. It does not replace professional medical advice, diagnosis, or treatment. Always consult a qualified healthcare provider about your specific situation. If you are experiencing a medical emergency, call your local emergency services immediately.

Related conditions

Sources and guidance

No guideline names this topic

No health guideline or clinical chapter that names this exact topic is cited here. This page is for general education and information only. It is not a diagnosis, a treatment plan, or personal medical advice. Check with your own doctor and follow their advice. If symptoms are severe, sudden, or worrying, get medical care promptly, and call your local emergency number in an emergency. Ruqelo LLC is not responsible for medical or legal outcomes from decisions based on this information.

Last updated: October 25, 2026

Educational note: This information is for education only and is not a diagnosis.

Use it to support, not replace, advice from a licensed clinician.

If symptoms are severe, worsening, or urgent, call your local emergency number or seek emergency care.

Guidance may differ by country or region. Confirm local recommendations with a qualified healthcare provider.

Questions about this article