Residence permit in Portugal is obtained through study, employment or marriage with a Portuguese citizen, for family reunification. In addition, this status can be obtained if you have passive income and housing in the country or under a state investment program.