Prior to its expiration, a temporary resident may apply for a permanent resident permit if he or she has continuously resided in the country for 4 years (i.e. has paid Mexican income taxes). After 5 years of legal residency, a resident may be eligible for naturalization.