Question: how much do you need to earn to get a mortgage?
Answer: Most lenders require that you'll spend less than 28% of your pretax income on housing and 36% on total debt payments. If you spend 25% of your income on housing and 40% on total debt payments, they'll consider the higher number and the amount you can qualify for will be lower as a result.