For salaried borrowers (including NRIs/PIOs), the maximum repayment term is up to 30 years. Self-employed borrowers, on the other hand, can obtain home loans for up to 20 years. However, the bank may determine the duration you are eligible for at its discretion.