This paper develops a theory in which housing prices, the capital structures of banks that make mortgage loans and the capital structures of borrowers who take these loans are all endogenously determined in equilibrium. There are four main results. First, leverage is a quot;positively...