Sabbatical in Portugal as a software engineer
Portugal is the default answer when engineers talk about a break abroad: sun, a tech scene in Lisbon, and a visa built for remote income. The details decide whether it works: which visa, what happens to your equity, and whether the tax regime you read about still exists.
You work in software, a meaningful part of your wealth is in stock (RSUs, ESPP, index funds) and you are deciding between a clean break and keeping a remote contract running. You have heard about Portugal's tax regime and want the 2026 reality, not the 2021 blog post.
Clean break or remote contract: the visa follows the answer
Two routes fit engineers, and they are not interchangeable. If you keep a remote contract or freelance clients outside Portugal, the D8 digital nomad visa is the one: €3,680 a month of income, four times the 2026 minimum wage, plus roughly €11,040 in savings. If you are stopping work and living off what you have saved and what your portfolio yields, the D7 is the one: €920 a month of passive income, which dividends and interest can satisfy, plus the same savings cushion. Either way, expect four to nine months from application to a residence card, so start before you resign.
EU citizens skip all of this: register at the câmara municipal and you are done. The rest of this page still applies to your money.
Equity: sell before you move, or after?
This is the decision that moves the most money. Vested RSUs and ESPP shares you sell while still tax resident at home are taxed there. Sell them after you become a Portuguese tax resident and Portugal taxes the gain, at a flat 28% for residents on securities. Some engineers time a large sale into the calendar year before departure; others hold and sell gradually to keep each year's gain small. Neither is automatically right, but doing it by accident is always wrong. Model both in the calculator by moving money between "Stocks" and "Savings" and watching the runway.
Unvested equity is simpler: it is not yours yet. Check the vesting schedule against your planned leaving date, and if a cliff falls a month after you would resign, the sabbatical can wait a month.
IFICI is not NHR, and most engineers do not qualify
The NHR regime that made Portugal famous closed to new applicants in 2024. Its replacement, IFICI, offers the same 20% flat rate for ten years, but only for defined roles: scientific research, higher education, highly qualified professions on an official list, certified startups, and jobs at companies exporting most of their turnover. An engineer employed by a qualifying Portuguese startup may fit. An engineer on a sabbatical, or working remotely for a foreign employer, generally does not. If you do qualify, the application deadline is 15 January of the year after you become resident, and missing it is final for that year.
Without IFICI you pay standard progressive rates, from 12.5% to 48%, on worldwide income once you are tax resident. For a true sabbatical with little income that is a small number; for a remote salary it is not.
What the runway looks like in practice
A Lisbon budget of €2,500 to 3,000 a month covers a one-bedroom flat, food, transport and private health cover. Porto or the Algarve runs €500 to 800 less. Against a portfolio of €150,000 in liquid assets at typical yields, that is fourteen to eighteen months of runway before touching illiquid holdings. The calculator on this page runs your own numbers month by month; use the "Markets drop 30%" scenario, because an equity-heavy portfolio is exactly the kind that scenario is for.
Re-entry is the engineer's advantage. The market for experienced developers recovers faster than most, and a Lisbon network is a real asset. Still budget three months for the search and keep your skills current: one open-source contribution a month is enough to answer the gap question in an interview.