When you apply for a mortgage, lenders consider a number of criteria in order to determine your ability to repay the loan. Your income and job history, credit score, debt-to-income ratio, assets, and the type of home you want to buy are all important factors.