While Portugal does not presently have a formal digital nomad visa program, the D7 Visa and Portuguese Freelancer / Self-Employed Visa are both good options for digital nomads seeking to work from Portugal for periods longer than 90 days at a time. In order to keep your Portuguese residency renewable, however, you’ll need to spend 6 months (183+ days) in the country per year.