Several special situations in Portugal allow you to become a resident on exceptional grounds and circumstances.
Minors, ex-Portuguese, international students, asylum seekers, health issues, overstayed after first residence permission, uninterrupted stay in the national territory, diplomatic and consular, teachers and researchers, investors, and EU blue cardholders are all subject to special legislation enacted by the Portuguese government.
This link lets you reach the SEF website directly for further information on Portugal’s special status residency card. (click here)