You can’t apply for a 40-year mortgage with the FHA to purchase a home. But you can refinance your FHA loan to extend its repayment period to 40 years if you meet the loan’s financial hardship requirements.