Dmitrii Sheinkman Author Dmitrii Sheinkman Residence permit expert, tax adviser 13 min read Message the author

MIR residency in Spain for foreign doctors: quota, exam, pay and residence permit

A foreign doctor can do specialist residency in Spain (MIR) by holding a homologated medical degree by 14 September 2026, proving Spanish at C1 level and sitting the exam on 23 January 2027. Candidates without a Spanish residence permit compete for at most 968 of 9,676 posts. Residency is a paid job with a supplement from year one in 2027.

Below: how the 2026/2027 selection works, who falls under the non-EU quota, what Real Decreto 951/2026 changed in the resident’s contract, what a resident earns year by year, which immigration status the resident and their family hold, and what happens after residency. Working as a doctor without MIR, recognition of a specialty obtained abroad and joining the medical college are covered in our guide to working as a doctor in Spain.

What MIR and FSE are

MIR (médico interno residente) means a resident doctor, and it is also the name of the annual exam that allocates residency posts. The whole system is called FSE (formación sanitaria especializada, specialised health training): the same selection recruits pharmacists (FIR), nurses (EIR), psychologists, chemists, biologists and physicists. The 2026/2027 call was approved by Orden SND/854/2026: 12,850 posts in total, 9,676 of them for doctors.

Residency in Spain is not paid tuition but a job. The resident signs an employment contract with the hospital that hosts their training unit (unidad docente), earns a salary and pays social security and tax. The contract runs for one year and is renewed every year of the specialty programme, provided the annual review is positive (Real Decreto 1146/2006, article 3). Part-time residency is not allowed, nor is combining it with other professional work.

A foreign doctor’s route into MIR residency2026/2027 cycle under Orden SND/854/20261Degree homologationdecision needed by the filing deadline, 14.09.20262Spanish C1an official certificate, C1 or higher3Application and fee1–14.09.2026, form 790, fee €31.104The exam23.01.2027: 200 questions, in Spain only5Choosing a postby rank; without a residence permit, 968 posts6Immigration statusvisa or in-country filing before you start7Resident’s contractone year, renewed after each annual review8After residencyswitch to a work permit without a visa
The route into residency for a doctor with a non-EU degree, 2026/2027 cycle. Dates and requirements: Orden SND/854/2026; immigration status: articles 54, 58 and 190 of Real Decreto 1155/2024.

Who can sit MIR with a foreign degree

The call sets four conditions, all checked before the exam, not after.

  • Homologation of the medical degree. The decision of the Ministry of Science, Innovation and Universities must be issued before the application window closes — 14 September 2026 in this cycle. A pending application does not count. The statutory processing time is six months, so apply for homologation at least a year before the exam you are aiming for. Procedure, fee and documents: our guide to degree homologation in Spain.
  • Spanish at C1 or above. Nationals of countries where Spanish is not an official language need an official C1 certificate (Real Decreto 589/2022, article 19). Homologation itself only needs B2, so you either sit the language exam twice or go straight for C1. Which exams are accepted: DELE and SIELE compared.
  • Nationality and status. EU citizens and foreigners with a Spanish residence permit compete on equal terms. Other non-EU nationals without residence are admitted if their country has a cooperation agreement in force with Spain, and they compete within the quota described below.
  • Age. The candidate must not reach the compulsory retirement age before the end of residency.

Your degree average adds up to 10 points to the final score. For a foreign degree you need a declaration of equivalence of the average mark, issued by the same ministry, alongside your transcript; without it you are given 5.00, which can cost a strong graduate many places in the ranking.

The non-EU quota: who it applies to

In Spain it is called the cupo de extracomunitarios, but it is narrower than the name suggests: it applies not to every foreigner but to those who do not hold a Spanish residence permit (autorización de residencia). Under Real Decreto 589/2022 (article 17.2) such candidates may take no more than 10% of medical posts, 3% in pharmacy and 1% in nursing. In the 2026/2027 cycle that is 968 posts for doctors — exactly 10% of 9,676.

A foreign candidate’s status in the MIR lists and the quota
Status in Spain when applying How you compete
EU citizen or family member of an EU citizen On equal terms
Long-term residence permit On equal terms
Temporary residence permit (work, family, digital nomad and others) On equal terms
Study stay (estancia por estudios) Within the quota
No status in Spain, or a visitor’s entry Within the quota

Student status does not take you out of the quota: a study stay is not residence. A doctor who already holds a Spanish residence permit on any basis is outside the quota and not limited to the 968 posts. A family moving to Spain on another basis should settle the doctor’s residence permit before applying for MIR.

The quota is a ceiling, not a reservation: a candidate without residence gets a post by their rank in the general list, as long as the 968 posts have not run out.

The MIR exam: date, format, scoring

Applications for the 2026/2027 cycle were accepted from 1 to 14 September 2026 on form 790, with a fee of €31.10. The exam is set for Saturday 23 January 2027. It is held only in Spain: candidates choose one of 26 cities on the application and can change it later only in exceptional cases. A doctor living outside the Schengen area needs a separate trip, and any visa for it should be planned early.

  • Format: 200 questions plus 10 reserve questions, four options each, 4 hours 30 minutes in total.
  • Marking: +3 for a correct answer, −1 for a wrong one, 0 for a blank.
  • Scaling: the average of the top 10% of candidates is set at 90 points and everyone else is scaled proportionally. The degree average is scaled the same way to 10 points.
  • Threshold: anyone with an exam score above zero may choose a post. There is no separate pass mark — your rank decides.

With four options and a −1 penalty, a random guess averages zero, so guessing does not help.

Choosing a post and taking it up

Posts are chosen in order: the top-ranked candidate picks first — specialty, region and hospital from the catalogue. The choice is made online or in person at the Ministry of Health, including through a representative with a power of attorney. You cannot change later: swapping posts between candidates and transferring to another hospital are prohibited except in exceptional cases (Real Decreto 589/2022, article 23.3).

The Ministry announces the dates for choosing posts and taking them up (toma de posesión) after the results. Before starting you need a medical examination, membership of the medical college, a certificate of no sexual offences and, for non-EU nationals, the immigration permit for residency. Miss the deadline and you lose the post together with your exam result.

The resident’s contract: what Real Decreto 951/2026 changed

A resident’s working conditions have been governed by Real Decreto 1146/2006 since 2006. Its amendment, Real Decreto 951/2026 of 4 November, was published in the BOE on 6 November 2026 and has been in force since 7 November, but the main changes apply later: pay from 1 January 2027, working time from 1 September 2027.

The resident’s contract before and after Real Decreto 951/2026
What Before After From
Ordinary working week Up to 37.5 h, averaged over six months Up to 35 h, averaged over six months 01.09.2027
A single on-call shift No limit in the decree Up to 17 h, on top of ordinary hours 01.09.2027
On-call shifts per month Up to 7 Up to 68 h (usually 4 shifts); up to 7 with the resident’s consent 01.09.2027
Total hours including on-call No limit in the decree Up to 45 h a week, averaged over a quarter 01.09.2027
Training-year supplement From year two: 8, 18, 28, 38% From year one: 18, 28, 38, 48, 58% as a minimum 01.01.2027
Sick leave, birth of a child, pregnancy risk Regional rules Top-up to 100% of normal pay from day one 01.01.2027
Work schedule No rule in the decree Known before starting; changes notified two months ahead 07.11.2026

Hospitals must also record working time, with the resident able to see their own records, and move a resident to another training unit in the same specialty if the work endangers their health — without loss of pay or completed years. The decree did not create a residence allowance (plus de residencia): the Interterritorial Health Council will only assess common criteria for one within six months.

Resident pay by year

A resident’s pay in the public system consists of the base salary, the training-year supplement, on-call pay and regional allowances. The base salary equals that of public health staff with a medical degree — group A1. In 2026 it is €1,387.24 a month (Real Decreto-ley 14/2025, Ministry of Finance table). Two extra payments in June and December are at least one month’s salary plus supplement each, so there are 14 payments a year.

Base salary and training supplement, € gross, at the 2026 salary rate, excluding on-call pay and regional allowances
Residency year Monthly before 2027 Monthly from 01.01.2027 Annual before 2027 (14 payments) Annual from 2027 (14 payments)
R1 1,387.24 1,636.94 19,421.36 22,917.20
R2 1,498.22 1,775.67 20,975.07 24,859.34
R3 1,636.94 1,914.39 22,917.20 26,801.48
R4 1,775.67 2,053.12 24,859.34 28,743.61
R5 1,914.39 2,191.84 26,801.48 30,685.75

Calculation: €1,387.24 × (1 + supplement rate). The rise is €249.70 a month in year one and €277.45 a month in later years, or €3,884.27 a year. The 2027 base salary has not yet been set; once it is, the figures are recalculated with the same formula.

The table is a floor: regions may pay a higher supplement and set their own on-call rates and allowances. The exact figure is in the pay table of the regional health service, and in private hospitals in their collective agreement. How salaries work in general and what remains after tax: average salary in Spain.

Tell us your situation — we reply within the hour

or leave your contact and we will write first
We reply within an hour during working hours. We never call without warning.

Which immigration status residency gives

A non-EU resident who did not already hold a Spanish residence permit gets not a residence permit but a long-term study stay (estancia de larga duración) under a special rule for residency, article 58 of Real Decreto 1155/2024. It is granted once the candidate has been allocated a post. No work permit is needed: the residency contract is covered by the status itself, and the resident only has to notify the immigration office.

  • Duration: the whole residency, not one year as for ordinary study. It starts a month before and runs 15 days past the end.
  • Where to apply: from abroad, a visa at a Spanish consulate; if the candidate is lawfully in Spain, for example after travelling for the exam, at the immigration office (via Mercurio) of the province where residency starts, at least two months before the start date.
  • Funds: €600 a month for yourself; the residency salary counts towards it.
  • Health insurance: for the resident, social security registration replaces it; family members need their own policy.

A residency post does not by itself justify residence on exceptional grounds (Real Decreto 589/2022, article 17.3): the status described above is the only basis.

If the doctor already holds a Spanish residence permit

Article 58 lets a doctor who held a residence permit before residency keep that status: there is no need to switch to a study stay, and residency work needs no separate work permit. Such a doctor sits MIR on equal terms, outside the quota. A typical family scenario: the spouse obtains the digital nomad residence permit, the doctor gets residence as a family member and applies for MIR from inside Spain. The nomad permit and its family permits are processed by the UGE, separately from residency; details in bringing your family on a digital nomad visa.

A non-lucrative residence permit is trickier: the residency rule allows the work, but renewing that permit requires living on your own means, not on a salary. This scenario should be reviewed before applying for MIR.

MIR preparation courses as a basis for stay

Preparation courses for the FSE exams are also a basis for a study stay (article 52.1.e of the regulation), but the degree must already be homologated, the stay lasts up to a year, and it can be extended once and only if the candidate sat the exam. You cannot switch from that status to a work permit under article 190, and for MIR the candidate stays within the quota.

The resident’s family

A spouse or partner, minor children and adult children with disabilities can live with the resident in Spain on a family stay for the same period (article 56 of the regulation, which also applies to residents). You need proof of the relationship, health insurance and funds: €450 a month for the first family member and €300 for each additional one, on top of the resident’s own amount. A child born in Spain must be registered for the permit within six months of birth. A family policy that the consulate and immigration office will accept can be arranged through our health insurance for residence permits service.

The main limitation: family members on this stay may not work (article 56.6). If a spouse needs their own job or business in Spain, they need their own basis — and then the resident can be the family member rather than the other way round. Family options are compared in our guide to family reunification in Spain.

The resident’s tax and the family’s capital

A resident who spends more than 183 days a year in Spain becomes tax resident and pays IRPF on worldwide income, including dividends and capital gains abroad. For a family with savings this matters more than the resident’s salary. Article 93 of the IRPF law (the Beckham Law) also covers special employment relationships, and the residency contract is one: under this regime, foreign investment income is not taxed in Spain for six years. The conditions are no Spanish tax residence in the previous five years and filing form 149 within six months of social security registration — a deadline that cannot be reopened. We have found no published practice applying the regime to medical residents, so confirm this with a tax adviser before filing form 149. Decide this before the move; the general rules are in our guide to Spanish tax residency.

After residency: work and residence

On completing residency the doctor receives the Spanish specialist title. To stay and work, they switch from the study stay to a work and residence permit without a visa — article 190 of the regulation expressly covers residents. The application can be filed in the two months before the stay expires or within three months of finishing residency; while it is pending, a provisional full-time work authorisation applies. This is a general-regime procedure filed via Mercurio with the immigration office.

  • Employment: a contract with an employer is needed; no labour-market test applies.
  • Self-employment: under the self-employed permit requirements — business plan, investment, licences.
  • Family moves to family reunification residence, with sufficient funds and housing.
  • Duration of the first permit is one year, then renewal under the usual rules.

If a private clinic or hospital offers a specialist a high salary, there is a separate route — the highly qualified professional permit or the EU Blue Card. It is processed by the UGE and is a standalone basis with its own contract and salary requirements; see highly qualified professional permit.

Years of residency on a study stay count towards EU long-term residence at only 50%, and only if the doctor already holds a residence permit when applying (article 176 of the regulation). Five years of residency give two and a half years of qualifying time. How qualifying time is counted: permanent residence in Spain; whether study counts towards citizenship: the FAQ of our student visa guide.

Key points about MIR residency for foreign doctors

  • Degree homologation and Spanish C1 are needed before the application window closes; for the January 2027 exam, by 14 September 2026.
  • The 968-post quota applies only to candidates without a Spanish residence permit; with one, a doctor competes on equal terms.
  • From 2027, Real Decreto 951/2026 pays a supplement from year one and caps workload at 35 hours a week and 68 on-call hours a month.
  • A resident without a residence permit lives in Spain on a study stay for the whole residency; the family can join but cannot work.
  • After residency, switch to a work permit without a visa, from two months before to three months after the end.

If you are planning residency in Spain together with your family and capital, map out the order of steps early: whose permit is the main one, when to apply for homologation, how to structure tax. We can go through it in a consultation.

Frequently asked questions

Can a foreign doctor do residency in Spain?

Yes. EU citizens and foreigners with a Spanish residence permit sit MIR on equal terms; others compete within the quota if their country has a cooperation agreement with Spain. Everyone needs degree homologation before the application deadline and Spanish at C1 level.

How many MIR posts are there for non-EU candidates?

In the 2026/2027 cycle, candidates without a Spanish residence permit may take no more than 968 of the 9,676 medical posts, or 10%. Foreigners with a Spanish residence permit are outside this limit and compete for all posts.

Do I need degree homologation for MIR?

Yes. The homologation decision for your medical degree must be issued before the MIR application window closes. For the exam on 23 January 2027 that deadline was 14 September 2026, so apply for homologation about a year before the exam.

How much does a resident doctor earn in Spain?

From 1 January 2027, base salary plus training supplement is at least about €1,637 gross a month in year one and about €2,192 in year five at the 2026 salary rate, with two extra payments a year. On-call shifts and regional allowances are paid on top.

Which visa does a MIR resident get?

A non-EU resident without a Spanish residence permit gets a visa or a long-term study stay for the whole residency. No separate work permit is needed. A doctor who already held a Spanish residence permit keeps that status.

Can a resident’s family work in Spain?

No, if the family lives in Spain as family members of a resident on a study stay: that status does not allow work. A spouse who needs to work requires their own residence basis.

What happens after residency in Spain ends?

You switch to an employment or self-employment residence permit without a visa: apply within the two months before the stay expires or the three months after residency ends. The family moves to family reunification residence.

Sources: Orden SND/854/2026; Real Decreto 589/2022; Real Decreto 1146/2006; Real Decreto 951/2026; Real Decreto 1155/2024; Ley 35/2006, article 93; Ministry of Health, 10.08.2026.

Read next

Ask a question

Describe your situation — we will reply within the hour

or leave your contact and we will write first
We reply within an hour during working hours. We never call without warning.

We use cookies to improve your user experience, analyze traffic and personalize content. Learn more in our Privacy Policy.