<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Papeles en Orden</title>
    <description>The latest articles on DEV Community by Papeles en Orden (@papelesenorden).</description>
    <link>https://dev.to/papelesenorden</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4190603%2F80cc59ba-c930-42d7-a3f0-8022aa812548.png</url>
      <title>DEV Community: Papeles en Orden</title>
      <link>https://dev.to/papelesenorden</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/papelesenorden"/>
    <language>en</language>
    <item>
      <title>Moving to Spain as a developer: the visa routes, and the government tech you will have to fight</title>
      <dc:creator>Papeles en Orden</dc:creator>
      <pubDate>Sat, 17 Oct 2026 14:04:10 +0000</pubDate>
      <link>https://dev.to/papelesenorden/moving-to-spain-as-a-developer-the-visa-routes-and-the-government-tech-you-will-have-to-fight-1ob6</link>
      <guid>https://dev.to/papelesenorden/moving-to-spain-as-a-developer-the-visa-routes-and-the-government-tech-you-will-have-to-fight-1ob6</guid>
      <description>&lt;p&gt;If you write software and are thinking about moving to Spain, you will probably research the legal side first. Oddly, that tends to be the smoother part. What eats your weekends is the tooling: certificates stuck in one browser profile, a signing app that talks to a web page through a local protocol handler, and an appointment system with no appointments.&lt;/p&gt;

&lt;p&gt;This post covers the routes that tend to fit developers, then the government tech you will need to get working. It is general information, not legal advice. Rules change, consulates interpret them differently, and one detail of your case can change the answer.&lt;/p&gt;

&lt;h2&gt;
  
  
  The routes that usually fit developers
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;International teleworking (the "digital nomad" route).&lt;/strong&gt; Introduced by Ley 28/2022, which amended Ley 14/2013, it is for people working remotely for a company outside Spain, or freelancers whose clients are mostly abroad. You apply for a visa at a consulate or, in some situations, for a residence authorisation from inside Spain if you are already there legally. The Unidad de Grandes Empresas y Colectivos Estratégicos (UGE) handles it, with much shorter deadlines than the general immigration offices. Expect to show a real, existing relationship with your employer or clients, qualifications or professional experience, and enough income. The UGE measures income as a multiple of the Spanish minimum wage, plus extra per family member, so check the current figure before applying.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Highly qualified professional.&lt;/strong&gt; If a Spanish company is hiring you for a qualified role, this is often faster than the general work permit. It also goes through the UGE, and the employer usually drives the application.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;EU family member.&lt;/strong&gt; If your spouse, registered partner or parent holds an EU, EEA or Swiss passport, there is a separate route under the EU regime. When it applies it is usually the quickest, and people often miss that they qualify.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Students.&lt;/strong&gt; Some developers arrive on a study stay and later switch to a work authorisation. That switch has its own timing, and doing it late is an expensive mistake.&lt;/p&gt;

&lt;p&gt;There is an overview of every route, and the situation each one starts from, on this &lt;a href="https://papelesenorden.es/residencia" rel="noopener noreferrer"&gt;residence routes page (in Spanish)&lt;/a&gt;. Settle which one fits you before you collect a single document.&lt;/p&gt;

&lt;h2&gt;
  
  
  Your NIE comes first
&lt;/h2&gt;

&lt;p&gt;Almost everything below depends on the NIE, your foreigner identification number. It is only an identifier and does not let you live or work in Spain; the physical card, the TIE, is a separate thing. You need the NIE before you can get a digital certificate or register for Cl@ve, so expect a chicken-and-egg phase where nothing works online yet. During that phase, things get done in person or through a representative filing for you.&lt;/p&gt;

&lt;h2&gt;
  
  
  The FNMT digital certificate
&lt;/h2&gt;

&lt;p&gt;The FNMT (the Spanish Royal Mint) issues a free personal digital certificate to any adult with an NIE. You do not need a Spanish DNI. It is an X.509 certificate with a private key, and it acts as your login and signature on almost every government site. What trips people up:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The key is generated on your machine.&lt;/strong&gt; You install the FNMT's configuration software, request online, get a code by email, prove your identity, then download. The download must happen on the same device where you made the request, because that is where the private key was created.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Identity checks for foreigners are usually in person.&lt;/strong&gt; Video identification needs a Spanish electronic DNI, so foreigners usually go to an accreditation office, some of which need an appointment.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Back it up immediately.&lt;/strong&gt; Export a .p12/.pfx with a strong password. Requesting a new certificate revokes the old one.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Know which store it lives in.&lt;/strong&gt; Firefox has its own store. On Linux, Chromium-based browsers usually read the NSS database in your home directory; on Windows and macOS, the system store. "No certificate found" usually means it is in a store your browser isn't reading.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check the expiry date.&lt;/strong&gt; Current certificates carry a fixed end date rather than a set lifetime, so look at the details after installing.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The full process, including what to bring to the office if you are an EU or non-EU national, is in this &lt;a href="https://papelesenorden.es/blog/certificado-digital-fnmt-extranjeros" rel="noopener noreferrer"&gt;guide to the FNMT certificate for foreigners (in Spanish)&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Cl@ve
&lt;/h2&gt;

&lt;p&gt;Cl@ve is the shared login for public administration sites, based on passwords and SMS PINs rather than certificates. To register as a foreigner you need your NIE, the document that proves it (TIE, EU registration certificate or residence permit) and your passport. One mobile number can only be linked to one NIE or DNI.&lt;/p&gt;

&lt;p&gt;Automatic video ID in the app is, for now, only for Spanish DNI holders. Foreigners use a postal invitation letter, a video call or an in-person office, and the remote options only give the basic level. If you already have the FNMT certificate, you can register through the tax agency's site instead.&lt;/p&gt;

&lt;h2&gt;
  
  
  AutoFirma and the sede electrónica
&lt;/h2&gt;

&lt;p&gt;The sede electrónica is where you file applications, track your file and request appointments. Signing is usually handed off to &lt;strong&gt;AutoFirma&lt;/strong&gt;, a desktop app the page calls through a custom URL scheme. When signing fails, the usual causes are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;AutoFirma isn't installed, or was installed before the browser and never registered its protocol handler. Reinstalling fixes this more often than it should.&lt;/li&gt;
&lt;li&gt;Browser hardening or an extension blocks the local handoff. Try a clean profile.&lt;/li&gt;
&lt;li&gt;The certificate is in a store AutoFirma doesn't read.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Turn on electronic notifications and check them: a notification can count as delivered even if you never open it, and deadlines run from there. And everything on the official sede is free, so a lookalike site charging to "file" or "get an appointment" is selling you nothing.&lt;/p&gt;

&lt;h2&gt;
  
  
  Cita previa, and why you should not write a bot
&lt;/h2&gt;

&lt;p&gt;Sooner or later you need an in-person appointment, at least for fingerprints and the TIE. In Madrid the system is saturated, and every developer's first thought is to script it.&lt;/p&gt;

&lt;p&gt;Don't. Automated grabbing of slots is part of what feeds the resale market for appointments that are free, and an appointment obtained irregularly can complicate your application. What helps is duller:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Check whether your procedure can be filed online at all. The best appointment is the one you don't need.&lt;/li&gt;
&lt;li&gt;Book the right type at the right body. In Madrid, filing is at the immigration office, but fingerprints and the TIE go through the National Police.&lt;/li&gt;
&lt;li&gt;Choose any office in the province, not the nearest.&lt;/li&gt;
&lt;li&gt;Try at different times; cancelled slots reappear unpredictably.&lt;/li&gt;
&lt;li&gt;Have every document ready so you can take a slot immediately.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Which Madrid office does what is on this &lt;a href="https://papelesenorden.es/tramites/cita-previa-extranjeria-madrid" rel="noopener noreferrer"&gt;page about cita previa in Madrid (in Spanish)&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  A sensible order of operations
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Settle which route fits you before you gather any paperwork.&lt;/li&gt;
&lt;li&gt;Get your NIE through that route.&lt;/li&gt;
&lt;li&gt;Get the FNMT certificate, back it up, and note its expiry date.&lt;/li&gt;
&lt;li&gt;Register for Cl@ve, using the certificate if you have it.&lt;/li&gt;
&lt;li&gt;Install AutoFirma, then test a signature on something low-stakes.&lt;/li&gt;
&lt;li&gt;Turn on electronic notifications and put a recurring reminder in your calendar to check them.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Treat it like a new dev environment: get each dependency working alone before chaining them.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;This post was written by &lt;a href="https://papelesenorden.es/" rel="noopener noreferrer"&gt;Papeles en Orden&lt;/a&gt;, an immigration-paperwork practice in Madrid led by a lawyer registered with the Madrid Bar (ICAM).&lt;/em&gt;&lt;/p&gt;

</description>
      <category>career</category>
      <category>remote</category>
      <category>spain</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
