Data science is built for remote work

Data scientists, ML engineers, and analysts work on systems that live in the cloud, in version-controlled repositories, in shared notebooks, and in dashboards that anyone with a browser can access. Your primary collaborations happen through code review, pull requests, Slack, and async documentation — not in a conference room that requires you to be in a specific city. The Spanish government's Digital Nomad Visa under Ley 28/2022 was designed for exactly this structure: professionals whose work is genuinely performable from outside Spain and whose clients or employer are based abroad. Data science does not have to contort itself to fit the eligibility criteria — it maps onto them directly, more cleanly than most professions.

The income requirement, which sits at €2,849/month gross for a single applicant in 2026, is also well below the earning level of most mid-career US practitioners. The US median data science salary reached six figures in 2024. Engineers and analysts at large tech companies often earn substantially more. For most people in this field, income eligibility is the easiest box to check.

W-2 data scientists: the SSA certificate sets your timeline

For data scientists employed directly by a US company on a W-2 basis, the application follows the standard employee track. The two anchor documents are the employer authorization letter and the SSA Certificate of Coverage. The employer letter is a written confirmation from your company — typically signed by HR or a senior manager — that authorizes you specifically to work remotely from Spain and affirms the employment is ongoing. Most remote-forward tech companies have handled requests like this before or can produce one without significant friction.

The Certificate of Coverage is the item that sets your timeline. Issued by the Social Security Administration under the US-Spain totalization agreement, it establishes that you will continue paying US Social Security rather than Spain's system for the duration of your permit. Processing takes approximately three months, and the SSA does not respond to urgency. Everything else in your file — the employer letter, the FBI background check, health insurance, translations — can run in parallel. The certificate cannot. The moment you decide to proceed, this request goes in first. File it in week one and treat everything else as parallel prep work.

PEO-employed data scientists

Many US tech companies — especially startups and scale-ups managing a distributed workforce — employ their data teams through Professional Employer Organizations: Justworks, TriNet, Rippling, or Gusto's EOR product. If your W-2 names one of these platforms rather than the company whose product you actually work on, your application has an additional layer to account for.

In a PEO arrangement, the PEO is your legal employer for most administrative purposes, even though the tech company directs your work. The employer authorization letter and the Certificate of Coverage request both need to address this co-employment structure correctly — which entity signs what, and under which EIN the SSA request is filed. Data scientists who discover this at month two of preparation, rather than week one, add time to a process that already has a fixed three-month minimum. Confirm now who is on your W-2. The dedicated guides for Justworks, TriNet, and Rippling explain what changes and what stays the same on each platform.

Contract and freelance data scientists

The market for independent data science work has grown considerably over the past several years. ML consultants, contract analysts, freelance data engineers, and quantitative researchers who bill US clients directly qualify under the self-employed track. The document package is entirely different from the W-2 path. Instead of employer letters and SSA certificates, the file is built around commercial service agreements with clients, invoice histories, and bank statements showing matching deposits. Each client company must have been operating for at least one year, and your working relationship with that client must be at least three months old before you file.

The practical advantage of the contractor path is the absence of employer dependency. There is no HR department to engage, no authorization letter to negotiate, no SSA certificate to wait for. What you need from clients is a letter confirming the relationship — a routine request for anyone you bill regularly. The full contractor document framework, including how to handle multiple clients, variable income, and LLC structures, is in the 1099 contractor guide.

Equity and RSU compensation

Equity compensation — RSUs, stock options, performance shares — is standard at US tech companies and especially common in data science roles. Understanding how Spain reads equity income before you build your application is important, because the answer differs from what most applicants assume.

Spain's immigration reviewers focus on recurring, documented income: the number that appears consistently on your payslips and W-2. Unvested RSUs, option grants, and projected equity in offer letters are not documented income for immigration purposes. The practical hierarchy is clear: if your base salary clears approximately $37,000–$39,000 annually — the rough USD equivalent of the 2026 threshold — the income question is resolved before equity enters the picture. Most mid-to-senior US data scientists earn well above that in base salary alone. For cases where base salary is lower but equity vesting is substantial, RSUs that have already vested appear as supplemental income on payslips and in W-2 Box 1 — they can support the file if framed correctly alongside an employer letter that addresses the equity structure in explicit dollar terms. Unvested grants count for essentially nothing in the income analysis. The full treatment is in the RSUs and stock options guide.

Qualifications: degrees and the self-taught path

The visa requires either a university degree or three or more years of professional experience in the relevant field. Most data scientists hold at least a bachelor's degree in a quantitative discipline — statistics, mathematics, computer science, engineering, economics — and many hold master's degrees or PhDs. Documentation for this path is straightforward: the degree certificate, a transcript, and where required, an apostille and sworn translation.

The experience route matters for a growing cohort: self-taught practitioners who entered the field through bootcamps, independent study, online courses, and applied project work rather than a traditional degree program. Three or more years of professional employment in data science — documented through employment contracts, payslips, client contracts, and a professional CV — is the statutory alternative to a degree. Professional portfolio evidence such as a GitHub profile with substantive repositories, Kaggle competition history, or published analyses adds weight as supplementary material, though it does not substitute for the documented employment history. The without-degree guide covers how to build the experience documentation correctly.

Remote-first companies versus office-forward companies

The employer authorization letter requires that your employer genuinely permits remote work from Spain — not merely that they tolerate remote work within the US. Remote-first companies have built their operating models around distributed teams and typically have no difficulty extending that authorization internationally. Stripe, Shopify, GitLab, Automattic, Zapier, and similar organizations have handled international remote work requests before; the letter is a natural extension of existing policy.

Office-forward companies that normalized US remote work during the pandemic but retain expectations of periodic in-person presence are a different situation. A data scientist whose company expects quarterly all-hands attendance is not automatically ineligible — but the employer letter must clearly and specifically authorize work from Spain, not merely confirm that the employee is currently working remotely from their US home address. Confirm your employer's actual position, in writing, before building a timeline around their cooperation. An employer who agrees verbally but delays executing documentation creates a timeline problem that compounds with the certificate wait.

ML research versus applied data science

Most data science work — building and deploying models, running exploratory analyses, developing dashboards, engineering data pipelines — is applied and remote by design. The outputs live in code, databases, and cloud infrastructure. There is no physical artifact that requires your presence to produce.

ML research roles at academic institutions, government labs, or research-forward private organizations can present different constraints: experimental equipment, research computing clusters, on-site collaboration with co-investigators, physical access to proprietary datasets that cannot be transmitted. If your role genuinely requires physical presence at a lab or research facility, an honest assessment of whether the work can be performed from Spain is required before applying. The Digital Nomad Visa requires that work be performable remotely — not that it would be remote if logistics were different. Applied data science and analytics roles almost never present this issue. Research-track roles with physical infrastructure dependencies deserve a closer look at the actual job description before proceeding.

The Spanish-client ceiling

Holders of the Digital Nomad Visa may serve Spanish clients, but Spanish-source income cannot exceed 20% of total professional activity. For W-2 data scientists working for a US employer, this rule has no practical effect — your employer is in the US and your professional activity is with that employer. The ceiling is primarily relevant for contract data scientists who develop a freelance practice and may organically attract European clients after relocating.

EU-based clients in Germany, the UK, France, or the Netherlands do not count toward the Spanish ceiling. Clients incorporated in Spain do. If you plan to build your consulting practice after arriving and want to work with Spanish startups or research institutions, that work is permitted within the 20% limit — but it cannot anchor the application or become the primary economic basis of your stay in Spain. Keep this in mind when planning client development strategy after arrival.

Beckham Law and high-earning data scientists

Spain's Beckham Law offers a flat 24% income tax rate on income up to €600,000 for up to six years after becoming a Spanish tax resident. For data scientists earning above $100,000 — a reasonable description of most mid-senior US practitioners at tech companies — the comparison to Spain's progressive marginal rates, which climb above 40% at higher income levels, is financially material. Over a six-year residency, the tax differential represents a meaningful sum.

The election is not automatic. You must opt in within six months of registering as a Spanish tax resident, and missing that window cannot be corrected retroactively. Review the Beckham mechanics and how they interact with your US filing obligations before you move, not after your first Spanish quarterly tax deadline. The Beckham Law guide covers the election process, the income ceiling, and the cross-border US tax interaction in full.

Getting started

Data scientists are typically well-positioned to move quickly once they decide to apply. The professional documentation is usually in order — employment contracts, payslips, degree credentials or a documented work history. The practical variables are employer cooperation and the Certificate of Coverage timeline for W-2 employees, or the contract documentation structure for 1099 contractors.

The right first step is confirming your eligibility, identifying which track applies to your employment setup, and — for W-2 employees — ordering the Certificate of Coverage immediately. For contractors, it is reviewing whether your contracts, invoice history, and bank statements tell a clean story. The free assessment checks income threshold, employment structure, PEO status, and qualification evidence in sequence and returns a written result. If there is a gap in your file, it is better to find it before the three-month certificate wait is already underway than to discover it at filing. Reach out through the contact page if you prefer to discuss your specific situation directly.

Sources: Ley 28/2022 (BOE) · Ministerio de Inclusión — UGE. This guide is general information, not legal advice. Last updated: July 2026.