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.
| Feature | PrEP | PEP |
|---|---|---|
| When | Before potential exposure | After a specific exposure |
| Aim | Continuous or planned prevention | Emergency |
| Onset | Planned, following assessment and tests | As soon as possible, within 72 hours |
| Duration | For as long as the risk continues | 28 days |
| Where it is generally available | Specialist appointments, with a prescription | Hospital emergency department or specialist service |
| Follow-up | Regular appointments and tests | Tests 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.
| Factor | Effect on PrEP protection |
|---|---|
| Regular doses, as prescribed | High level of protection |
| Missed or irregular doses | Reduced protection |
| Event-based regimen for vaginal sex | Not recommended |
| Recently started treatment | It 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.
| Test | Before PrEP | During PrEP |
|---|---|---|
| HIV test | Yes, essential | Regularly, usually every three months |
| Kidney function | Yes | Periodically |
| Hepatitis B | Yes | Depending on circumstances and vaccination status |
| Hepatitis C | Yes | Periodically, according to risk |
| Other sexually transmitted infections | Yes | Regularly |
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 load | Generally recommended |
| Sex without a condom with a partner whose status is unknown, in a higher-risk context | Assessed case by case |
| Sharing needles | Assessed case by case |
| Sexual violence | Assessed urgently, alongside other care |
| Partner with HIV and an undetectable viral load | Generally 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.
| Effect | Frequency and action |
|---|---|
| Nausea, abdominal discomfort | Relatively common at first; usually improve |
| Headache, tiredness | Common at first |
| Changes in kidney function | Uncommon; monitored through tests |
| Severe reaction or intense symptoms | Contact 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
- 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.
- 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.
- 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.





