You have up to 30 years to repay the loan. If you’ve any loan balances remaining after 30 years they will be written off.