Requests

Laboratory tests

HIV prophylaxis before and after exposure (PrEP and PEP)

In addition to using a condom and treating people living with HIV, there are now two ways of using anti-HIV medicines to prevent infection in people who do not have HIV.

Clínica Alegre practitioner pipetting a sample into a test tube beside sample collection tubes

Reviewed by Dr Fernando Alegre

Clinical Director · OMD, registration no. 9688

Written by the Clínica Alegre team9-minute read

In this article

Pre-exposure prophylaxis (PrEP) is taken regularly or according to a planned schedule before potential exposure by people at increased risk. Post-exposure prophylaxis (PEP) is an emergency treatment started as soon as possible after a specific risk exposure.

Both strategies are highly effective when used correctly, but each has its own rules, indications and monitoring requirements, including tests before and during treatment. This article explains the differences, who they are suitable for, which tests are needed and their limitations. These are prescription medicines: the decision to use them, and how to take them, is always made with a doctor.

PrEP and PEP: what is the difference?

The key difference is timing. PrEP is preventive and planned: medication is taken regularly, or according to a schedule around sex, to provide protection if exposure occurs. PEP is reactive: it is used after a risk exposure has already happened, such as a condom breaking, sex without a condom with a partner who has HIV and is not known to have a suppressed viral load, sharing needles or sexual violence.

Both use antiretroviral medicines, but they are not interchangeable. Anyone who needs PEP repeatedly will generally benefit from discussing PrEP with their doctor.

FeaturePrEPPEP
WhenBefore potential exposureAfter a specific exposure
AimContinuous or planned preventionEmergency
OnsetPlanned, following assessment and testsAs soon as possible, within 72 hours
DurationFor as long as the risk continues28 days
Where it is generally availableSpecialist appointments, with a prescriptionHospital emergency department or specialist service
Follow-upRegular appointments and testsTests at the start and after completion

How PrEP works and how effective it is

The most widely studied form of PrEP combines two antiretroviral medicines in one tablet. When adequate levels of the medicine are present in the body at the time of exposure, the virus cannot establish an infection. The PROUD study, conducted in England and published in 2016, compared men who started daily PrEP immediately with men who started it one year later. There were 3 infections in the immediate group versus 20 in the deferred group, a relative reduction of 86%.

Effectiveness depends greatly on adherence: protection is high when the medication is taken as prescribed and falls sharply when doses are missed or taken irregularly. In addition to the daily regimen, there is an ‘event-based’ regimen, with doses before and after sex. This has been validated for anal sex between men, but is not recommended for vaginal exposure, where more days of regular dosing are needed to achieve protection. Long-acting injectable options are also available, although availability varies between countries. Your doctor will explain which regimen is suitable.

FactorEffect on PrEP protection
Regular doses, as prescribedHigh level of protection
Missed or irregular dosesReduced protection
Event-based regimen for vaginal sexNot recommended
Recently started treatmentIt may take time to achieve protection, depending on the regimen

Who may benefit from PrEP

PrEP is intended for people without HIV who are at increased risk of infection. This includes, for example, people who have anal or vaginal sex without a condom with multiple partners or partners whose status is unknown, those who have recently had a sexually transmitted infection, those who have used PEP more than once, those with a partner who has HIV but does not yet have an undetectable viral load, or those who share injecting equipment. The decision is individual and follows a discussion with a doctor.

In Portugal, PrEP is available through the Portuguese National Health Service (SNS), following assessment and a prescription at a specialist appointment. You can ask your GP or SNS 24 (808 24 24 24) how to obtain a referral.

Tests before and during PrEP

Before starting PrEP, it is essential to confirm that the person does not have HIV, because taking only these medicines when an infection has not been diagnosed can lead to drug resistance. Kidney function, hepatitis B, hepatitis C and other sexually transmitted infections are also assessed. Hepatitis B is particularly important: some PrEP medicines also act against this virus, and stopping them in someone with hepatitis B can cause the condition to worsen.

During PrEP, monitoring includes regular appointments and tests, usually every three months: an HIV test, screening for other infections and periodic kidney function checks. This follow-up is an opportunity to detect and treat other infections, such as gonorrhoea, chlamydia or syphilis, at an early stage.

TestBefore PrEPDuring PrEP
HIV testYes, essentialRegularly, usually every three months
Kidney functionYesPeriodically
Hepatitis BYesDepending on circumstances and vaccination status
Hepatitis CYesPeriodically, according to risk
Other sexually transmitted infectionsYesRegularly

How PEP works

PEP involves taking a combination of antiretroviral medicines for 28 days, starting as soon as possible after exposure. The 2021 British guideline on PEP stresses that it is more effective the sooner it is started and is no longer recommended after 72 hours. Anyone who has had a risk exposure should therefore not wait until the next day or for a scheduled appointment: they should go to a hospital emergency department.

At the emergency department, a healthcare professional assesses the type of exposure, the partner’s status when known and the time elapsed. If the partner with HIV is receiving treatment and has an undetectable viral load, PEP is generally not needed because the risk of sexual transmission is considered to be zero, according to studies such as PARTNER2. An HIV test and other tests are carried out before treatment begins; after treatment is completed, follow-up tests are performed according to a schedule set by the team.

Exposure (examples)Assessment for PEP
Anal or vaginal sex without a condom with a partner who has HIV and is not known to have a suppressed viral loadGenerally recommended
Sex without a condom with a partner whose status is unknown, in a higher-risk contextAssessed case by case
Sharing needlesAssessed case by case
Sexual violenceAssessed urgently, alongside other care
Partner with HIV and an undetectable viral loadGenerally not needed

Side effects and adherence

Both PrEP and PEP are generally well tolerated. During the first few weeks, some people experience nausea, abdominal discomfort, headache or tiredness, which tend to improve. Changes in kidney function or other effects may occur rarely and can be detected through monitoring.

The most important factor in effectiveness is taking the medication as prescribed. With PEP, completing the 28 days is essential; with PrEP, it is important to follow the agreed regimen. Do not stop or change the medication without speaking to your doctor, and never use someone else’s medication.

EffectFrequency and action
Nausea, abdominal discomfortRelatively common at first; usually improve
Headache, tirednessCommon at first
Changes in kidney functionUncommon; monitored through tests
Severe reaction or intense symptomsContact your doctor; in an emergency, call 112

Pregnancy, breastfeeding and other special circumstances

Pregnancy and breastfeeding do not, in themselves, prevent the use of prophylaxis. The 2021 British guideline specifically covers PEP during pregnancy and breastfeeding, and the doctor chooses the medicines with the safety of both mother and baby in mind. The same applies to people with chronic hepatitis B, kidney disease or other regular medication, where interactions may occur.

It is therefore essential to tell the healthcare team about a pregnancy, even if only suspected, breastfeeding, known conditions and all medicines and supplements being taken.

What prophylaxis does not do

PrEP and PEP prevent HIV, but do not protect against other sexually transmitted infections such as gonorrhoea, chlamydia, syphilis or hepatitis. Condoms remain important for preventing these infections, and regular tests are part of monitoring. Prophylaxis is also no substitute for treating people living with HIV, which is the most effective way to prevent transmission.

Evidence on some issues, such as the best strategy for people who find it difficult to adhere to treatment, is still evolving. Recommendations are updated regularly, and your doctor will explain what applies to your circumstances.

At Clínica Alegre in Setúbal and Seixal, you can have the tests and discuss any questions about the results with our team, in confidence.

Frequently asked questions

What is the difference between PrEP and PEP?

PrEP is taken before potential exposure; PEP is started after a specific exposure and lasts for 28 days.

How soon do I need to start PEP?

As soon as possible, ideally within the first few hours and no later than 72 hours.

Where can I obtain PEP?

Usually at a hospital emergency department. If in doubt, call SNS 24 (808 24 24 24).

Does PrEP protect against other infections?

No. It protects only against HIV. Condoms and regular tests remain important.

Can I take PrEP only when I have sex?

There is an event-based regimen validated for anal sex between men, but not for vaginal exposure. Your doctor will determine the appropriate regimen.

Do I need tests to take PrEP?

Yes. A negative HIV test is essential, as are checks of kidney function, hepatitis and other infections, with regular tests while taking PrEP.

If my partner has HIV and an undetectable viral load, do I need PrEP?

When an undetectable viral load is maintained, HIV cannot be transmitted sexually. The decision about PrEP depends on other factors and should be discussed with your doctor.

Did you enjoy this article?

Scientific references3
  1. McCormack S, Dunn DT, Desai M, Dolling DI, Gafos M, Gilson R, et al. Pre-exposure prophylaxis to prevent the acquisition of HIV-1 infection (PROUD): effectiveness results from the pilot phase of a pragmatic open-label randomised trial. Lancet. 2016;387(10013):53-60.
  2. Cresswell F, Asanati K, Bhagani S, Boffito M, Delpech V, Ellis J, et al. UK guideline for the use of HIV post-exposure prophylaxis 2021. HIV Med. 2022;23(5):494-545.
  3. Rodger AJ, Cambiano V, Bruun T, Vernazza P, Collins S, Degen O, et al. Risk of HIV transmission through condomless sex in serodifferent gay couples with the HIV-positive partner taking suppressive antiretroviral therapy (PARTNER): final results of a multicentre, prospective, observational study. Lancet. 2019;393(10189):2428-2438.
Article information
Written by
Clínica Alegre team
Clinical review
Dr Fernando Alegre, Clinical Director · OMD, registration no. 9688
Published
2 Dec 2026
Last updated
2 Dec 2026
Topic
Laboratory tests
Reading time
9 min

See also

Related treatments

Want to know what is right for you?

Contact us on WhatsApp or book an assessment, in person or online.

Book an appointment

Book your assessment.

Choose Setúbal or Seixal. We reply within opening hours.

Newsletter

Get the latest news from the Clínica Alegre.

Blog articles and clinic news, delivered to your inbox. Unsubscribe at any time.