- The residence ground determines where you apply. A residence visa is applied for in person at the consulate for the district where you live (Article 26 of the Reglamento). Arraigo and changes of status are applied for in Spain without a visa [1].
- Under the Reglamento, no lucrativa is applied for only as a visa at a consulate, and the visa application also requests the authorisation (Article 63). It cannot be applied for from Spain [1].
- DNV: a visa at a consulate, or an application to the UGE from Spain if you are in the country lawfully, for example on a short-stay visa. Applications under Ley 14/2013 are filed only electronically [2][3].
- The condition for residence visas and permits: you must not be in Spain irregularly (Article 38.b of the Reglamento, Article 62.3.a of Ley 14/2013). Days under the 90-in-180 rule are counted over a rolling window [1][2][10].
- In judgments of 8 and 29 July 2026, the Tribunal Supremo annulled paragraph 2 of Article 197 on mandatory electronic filing for a number of procedures. This does not remove electronic filing for the UGE, which follows from Ley 14/2013 and the authority’s own procedure [3][4][9].
Applying for residence from Spain or via a consulate: what the choice depends on
A consular visa, an initial authorisation and a change of an existing status are different procedures. Each has its own authority, time limits and consequences of administrative silence, and the rules of one cannot be carried over to another [1]. Before paying for assistance, ask for the name of the procedure in Spanish, the legal basis for the application and the authority that decides. The answer “everything is done online” only describes the technology and does not confirm that this route is open to you. The general way to choose a residence ground: where to start with a residence permit in Spain.
Table: where each residence ground is filed
| Ground | Where to apply | What the rule says |
|---|---|---|
| No lucrativa | Consulate, visa | Article 63 of the Reglamento: the visa also requests the authorisation; applying from Spain is not provided for [1] |
| DNV | Consulate or UGE from Spain | Articles 74 quater and 74 quinquies of Ley 14/2013: a visa for up to a year, or an authorisation for those lawfully in Spain [2] |
| Arraigo | Only from Spain | Article 130 of the Reglamento: the authorisation does not require a visa; you apply at the oficina de extranjería or through Mercurio [1][5] |
| Employment (initial) | The employer applies in Spain, then a visa at the consulate | Article 40 of the Reglamento: visa within a month of the decision on the authorisation [1] |
| Family reunification | The resident applies in Spain, the relative obtains a visa | Article 40: visa within two months of the decision [1] |
| Study | Consulate; from Spain only for higher education, healthcare and some programmes | Article 54: from Spain during a lawful stay, application two months before the start; decision in two months, silence is negative [1] |
| Larga duración | From Spain at the oficina, from abroad through the consulate | Articles 177 and 184 [1] |
| Change of status while holding a valid authorisation | In Spain, without a visa | Article 191 [1] |
| Family members of a Spanish citizen | Consulate; if both are in Spain, relatives on the list may apply there | Article 97.1.c as amended by Real Decreto 316/2026 [1][6] |
Every row has caveats depending on nationality, family and dates; the table is only a framework. More on no lucrativa: no lucrativa: applying through the consulate. On the DNV: DNV from Spain on a tourist visa.
Legal stay in Spain: the main condition for applying from within the country
For residence visas and permits, Article 38.b of the Reglamento and Article 62.3.a of Ley 14/2013 require that you are not in Spain irregularly [1][2]. You can apply from Spain as long as your stay is lawful: with a visa, or without one within ninety days in any period of one hundred and eighty, and days on a national visa or residence authorisation do not count (Article 48) [1].
The window rolls: for each day of stay, you count 180 days back, and the days spent in Schengen in that stretch must not exceed 90 (under Reglamento (UE) 2016/399, to which Article 48.2 refers). The words of Article 48, “a partir de la fecha de la primera entrada en el Espacio Schengen”, repeat the wording of the regulation and do not set a single fixed count from the first entry [1][10]. Check your remaining days in the European Commission calculator [10]. Crossing the border does not by itself give you the right to apply for any kind of residence permit.
An application extends your current position: for the DNV, Article 76 of Ley 14/2013 says that the application extends your previous stay situation until a decision is made [2], and for study from Spain, filing extends your lawful position until a decision (Article 54.3) [1]. Draw up a calendar: date of entry, end of the permitted stay, planned filing date. Do not work out the deadline from the stamps in a single passport. A screenshot of an open appointment calendar does not replace a registered application; keep the registration confirmation.
If your stay is already irregular, choose the route with a lawyer. Irregular stay in itself is a serious infringement (Article 53.1.a of Ley Orgánica 4/2000) [8], while for some grounds, such as arraigo, it is no obstacle, because the law is designed for people who are already in the country: arraigo in plain words.
How to identify the competent consulate
The visa is applied for in person at the consulate in whose district you live: this is set out in Article 26 of the Reglamento. Applications may be accepted at a service centre that has an agreement with the Spanish Ministry of Foreign Affairs. A representative is allowed where the rule expressly provides for it, and in exceptional cases where there are serious obstacles to travel [1]. The Ministry of Foreign Affairs may designate another consulate for a justified reason [1].
Citizenship alone does not always tell you where to apply. What matters is the consular district where you legally live, and the appointment system, document forms and how you collect the result are described on the page of the specific consulate. For Russian, Belarusian and Kazakh citizens these are different pages, and we cover them in separate articles: where Russians apply for a visa and how Kazakh citizens apply for a national visa. Check how appointments work and what role intermediaries play on your consulate’s page.
Electronic filing and representatives: what changed in 2026
Article 197.1 of the Reglamento says that applications for residence and work authorisations are filed in person at the oficina de extranjería, but if the person is in Spain, the requirement to appear in person is met both by filing in person and by filing electronically. A representative may file the application only with a notarised proxy or an apud acta in the register of representatives, or if they are listed in the register of organisations cooperating with the immigration service (paragraph 4) [1]. Paragraph 2 of the same article contained a list of procedures in which electronic communication was mandatory for individuals.
In a judgment of 8 July 2026 (sentencia 868/2026), repeated on 29 July in another case, the Tribunal Supremo annulled paragraph 2 of Article 197 in its entirety. Both judgments were published in the BOE on 22 September 2026. The government may again require electronic communication for specific procedures if it justifies the requirement and makes it proportionate (Article 14.3 of Ley 39/2015) [3][7][9]. So you cannot claim without checking that every applicant must have a personal certificate and file only online.
At the same time, the Ministry of Inclusion states that applications under Ley 14/2013 and all related documents (requests, appeals, notices) are filed electronically through the sede, and that this requires an electronic certificate [4]. The authority describes this obligation for the DNV separately, and we have not yet found it challenged. Certificate and representative: certificado digital and representative; how to file: applying online through the sede.
From Spain or through a consulate: a substantive comparison
| Parameter | From Spain | Through a consulate |
|---|---|---|
| Who can apply | People staying lawfully or with a suitable status [1] | People living in the consulate’s district [1] |
| Where you wait | In Spain; for some procedures your status is extended until the decision [1][2] | Abroad until the visa is issued |
| Documents | The same, plus proof of lawful stay | Usually also a medical certificate and a passport valid for at least a year [1] |
| Filing | In person, electronically (Mercurio, UGE sede) or through a representative [1][4] | In person, sometimes through a representative; by appointment [1] |
| Decision period | Depends on the procedure: DNV 20 days, study from Spain 2 months; the Reglamento sets no period for arraigo, and the ministry’s information sheets give three months [1][2][5] | A month for the authorisation, then the visa; the wait for a consulate appointment comes on top [1] |
Comparing “fast” and “slow” in general makes no sense: compare the routes open to you for your ground and your dates.
Common mistakes
- Arriving as a tourist without checking the route. Applying from Spain is not available for every ground [1].
- Counting the 90 days only in Spain or from a single date. Days in all Schengen countries count, and the 180-day window rolls [1][10].
- Assuming any consulate in any city will do. What matters is the district of your place of residence [1].
- Confusing an appointment receipt with registration of the application. You need a confirmed filing [1].
- Relying on a proxy for acts that must be done in person. A representative is allowed not everywhere, but only where the rule permits it [1].
- Using outdated instructions. Paragraph 2 of Article 197 was annulled by Tribunal Supremo judgments of July 2026, published in September [3][9].
- Leaving it until the last moment. You must apply while your stay is still lawful.
When you need an individual review
A review is needed if your stay is close to the end of the lawful period, you have had a refusal or left Schengen, your ground allows both routes, family members are on different routes, you need a consular district in a country where you are not a citizen, or you are not sure your procedure is filed online. The answer depends on dates and documents, not on a general scheme. We do not give opinions on specific cases; these are checked by a lawyer or a gestor.
How we can help
The ReloVictory team in Barcelona will draw up a filing plan for you: what the application is called, where it can lawfully be filed, who files it (you or a representative), how to prove it was registered and how to keep track of notifications. The legal side is handled by the team’s lawyer, the administrative side by a graduada social. We are not responsible for how long the authorities take to reply. Book: consultation; the procedure: residence permit in Barcelona and the route cards for DNV, no lucrativa, arraigo.
Frequently asked questions
Can you apply for a residence permit from Spain after arriving as a tourist?
Which residence permits are applied for only through a consulate?
Which residence permits are applied for only from Spain?
Is electronic filing of residence permit applications mandatory in 2026?
Can a representative apply on my behalf?
Does an electronic receipt guarantee that the case is accepted?
How do I know which consulate is competent for me?
Official sources
- BOE · Real Decreto 1155/2024 (Reglamento de Extranjería), Articles 26-28, 38, 40, 48, 54, 63, 97, 130, 177, 184, 191, 197 ↗
- BOE · Ley 14/2013, Articles 62, 74 quater, 74 quinquies and 76 ↗
- BOE · Sentencia Tribunal Supremo 868/2026 of 08.07.2026 and Auto of 01.09.2026 on the Reglamento (BOE 22.09.2026) ↗
- Ministry of Inclusion · Unidad de Grandes Empresas: filing applications ↗
- Ministry of Inclusion · Hoja 28: arraigo social (place of filing, decision period) ↗
- BOE · Real Decreto 316/2026, amendments to the Reglamento (BOE 15.04.2026) ↗
- BOE · Ley 39/2015, Article 14 (right and duty to communicate electronically) ↗
- BOE · Ley Orgánica 4/2000, Article 53.1.a ↗
- BOE · Sentencia Tribunal Supremo of 29.07.2026 (recurso 21/2025), again annulled Art. 197.2 (BOE 22.09.2026) ↗
- European Commission · Short-stay calculator: the 90/180-day rule, counting 180 days back from each day of stay ↗
Sources reviewed on 02.10.2026. Consolidated texts and government reference pages are for information only: applying the law depends on official publications, amendments and the specific circumstances. Reviewed by lawyer Francisco Romero Jiménez (ICAB 33641) on 21.10.2026.
Turn the information into questions.
The navigator helps you gather topics for an individual review. It does not determine your right to a residence permit and does not submit an application.
Build your checklistHow ReloVictory works: a 15-minute consultation is free, a full consultation costs €121 for 45 minutes; case handling is priced by quote, and fees and translations are paid separately. The legal side is handled by the team’s lawyer, tax and administrative matters by a graduada social. More: about the team.
Prefer to do it yourself? Step-by-step guides: residence permit in Barcelona: from empadronamiento to TIE and route cards by residence ground.
Related articles
ReloVictory · Sources reviewed 02.10.2026 · Not a substitute for individual legal advice.
