Extranjeros

Is HIV treatment free in Spain? Testing, PrEP and medication for foreigners

Is HIV treatment free in Spain? Testing, PrEP and medication for foreigners
Hospital Universitario La Paz, Madrid. Foto: Luis García (Zaqarbal) / Wikimedia Commons, CC BY-SA 3.0 (recortada).

Reviewed against the official source: · Author: · How we check facts

In short: is HIV treatment free in Spain? It runs through public healthcare (SNS). The test is free at health centres and at NGOs, PrEP is funded by the SNS, and antiretrovirals handed out by the hospital pharmacy carry no copay (art. 102.2 of RDLeg 1/2015). You first need access to public healthcare, also without legal residence (RD 180/2026), and each region organises where each medicine is dispensed.

Requirements

Access depends on your situation; foreign nationals with HIV who live in Spain can receive care and treatment on the same terms as Spanish nationals, and what changes is the route in (gTt-VIH, 2024 leaflet, which predates RD 180/2026).

  • With legal residence: the health card.
  • Without legal residence: RD 180/2026 and the guide to getting the card. When you apply you get a provisional document that lets you use public healthcare.
  • Temporary protection or asylum: the temporary protection and asylum card.
  • None of the above: the social worker at the health centre or social services can guide you, and in an emergency you can go to the hospital. If you receive an emergency-care bill, gTt-VIH explains in its leaflet how to request a responsibility declaration of lack of means; discuss it with the hospital social worker.
  • Visiting with the European health card: according to Your Europe, you are entitled to the treatment considered necessary during your stay, including for a chronic condition, but not to planned treatment.

Testing. CESIDA states that at Spanish health centres the HIV test is done free of charge: you can book with your usual doctor and do not have to give reasons. The NGOs on its list do it free, anonymously and confidentially in most regions; some see you without an appointment. The same page describes a self-test and the Línea Positiva support line.

PrEP. PrEP (pre-exposure prophylaxis: medication to prevent infection in HIV-negative people) has been funded by the SNS since 1 November 2019, at no direct cost to the patient, prescribed by professionals expert in HIV and STIs and dispensed at the hospital pharmacy or authorised centres (Ministry of Health note). On 26 February 2026 funding was also agreed for injectable PrEP, given every two months, in situations where oral PrEP is not an alternative. For the criteria to receive it, ask at your health centre or an HIV/STI unit.

Treatment. Art. 102.2 of RDLeg 1/2015 applies the user contribution (copay) to outpatient pharmaceutical provision dispensed with an official prescription or dispensing order at the pharmacy. What the hospital pharmacy hands out falls outside that rule. Ask your HIV unit whether your medication comes from the hospital pharmacy or the high-street pharmacy.

Cost

Your situation Medication
Resident with a health card Hospital pharmacy: no copay (art. 102.2). Pharmacy with a prescription: the percentage that applies to you, in the pharmaceutical copay 2026 card.
No legal residence (RD 180/2026) Hospital pharmacy: no copay (art. 102.2). Pharmacy with a prescription: 40% of the price with a cap of €8.23 a month, per the same card.
Convenio especial According to the Ministry of Health, outpatient pharmaceutical provision is paid 100% by the patient; art. 102.1 of RDLeg 1/2015 includes in it what is dispensed with a hospital dispensing order. Ask your health service what you would pay for your medication before choosing the convenio. Card: convenio especial.
Temporary protection or asylum Ask at your health centre (card linked above).

Private health insurance. The fifth additional provision of Law 50/1980 says people with HIV/AIDS cannot be discriminated against: the insurer cannot refuse you the contract or impose heavier conditions, unless there is a justified, proportionate, reasonable cause documented beforehand and objectively. Before signing, read the policy exclusions (card on private health insurance).

Where

For testing and support: the NGO list from CESIDA and the leaflets from gTt-VIH, available in several languages (including English, French, Arabic, Russian and Portuguese). For treatment and PrEP: ask at your health centre which HIV or STI unit you should go to. Rules vary by region: ask your regional health service. Treatment decisions are made by your doctor.

Informational only; check the official source and a professional for your specific case.

Frequently asked questions

Is HIV treatment free in Spain for foreigners?

It depends on what you mean. According to CESIDA, the HIV test is free at Spanish health centres, and PrEP funded by the SNS is dispensed at no direct cost to the patient. If your medication is handed out by the hospital pharmacy, art. 102.2 of RDLeg 1/2015 applies no copay; what is dispensed at a pharmacy with a prescription can carry one (without legal residence, 40% of the price with a cap of €8.23 a month). Ask your HIV unit where each medicine is dispensed.

Can I get a free HIV test in Spain without a health card?

CESIDA publishes a list of NGOs in most regions that do the test free of charge, anonymously and confidentially; some see you without an appointment. At health centres the test is also free and you can ask for it without giving reasons. Without a card, start with one of those NGOs and ask what you need to bring.

Is PrEP funded by Spanish public healthcare?

Yes. The Ministry of Health announced that from 1 November 2019 PrEP (medication to prevent infection in HIV-negative people) is funded by the SNS at no direct cost to the patient, prescribed by professionals expert in HIV and STIs and dispensed at the hospital pharmacy or authorised centres. On 26 February 2026 funding was also agreed for injectable PrEP (every two months) when oral PrEP is not an alternative. For the current criteria, ask at your health centre or an HIV/STI unit.

What can I do if I have HIV and no legal residence or health card?

RD 180/2026 lets you apply for the health card without legal residence with a responsibility declaration, and the provisional document gives access while the file is decided. If you need help to start, the social worker at the health centre or social services can guide you, and in an emergency you can go to the hospital. The gTt-VIH leaflet (2024) predates RD 180/2026: follow the procedure in our linked cards.

Can an insurer refuse me health insurance because of HIV?

The fifth additional provision of Law 50/1980 on Insurance Contracts says people with HIV/AIDS cannot be discriminated against: insurers cannot refuse the contract or impose heavier conditions, unless there is a justified, proportionate, reasonable cause documented beforehand and objectively. Still read the policy exclusions before signing.

Official source: sanidad.gob.es

On video: this guide explained

Is HIV treatment free in Spain? Testing, PrEP and medication for foreigners

Order a guide or ask a question

Tell us which guide you need or your question — we’ll get it and reply on Telegram.

No spam. This is not individual legal advice.

General information, not individual legal advice. Check the official source and consult a professional for your case.

Want to keep up with changes for foreigners in Spain?

One email every Tuesday. Free gift: the «Arraigo in Spain: the 5 types» guide (PDF). No spam · privacy

Have a question about your case?

Describe your situation and your questions — we study them and reply in writing. The first look is free.

Leave my questions →

If you prefer, also directly to @spain_asesor on Telegram (the form is better).

Get the free guide

Guide «Arraigo in Spain: the 5 types» (PDF), instantly

No spam · privacy

or on Telegram
Get it on Telegram

Can’t find what you need? Message us on Telegram →