We provide an analytic valuation framework to value second mortgages and first lien mortgages when owners can take out a second lien. We then use the framework to value mortgage-backed securities (MBS) and, in particular, quantify the greater risk associated with MBS backed by first liens that...