This thesis is about the role of housing as a consumption good and a risky asset, and how it interacts with other choices like consumption, default, and migration over the lifecycle. In the first chapter the focus is on a quasi natural experiment in the State of Nevada, which abolished deficiency judgments for purchase mortgage loans made after October 2009. We test the effect of the law change on mortgage supply and demand, as well as on mortgage default. We find strong evidence that lenders tightened their lending standards. Households, by contrast, neither increased their mortgage applications, nor do they appear to have changed mortgage default behaviour. The second chapter develops the theme of mortgage default and consumption insuranc...