We study economies where houses, in addition to providing utility as shelter, may also facilitate credit transactions, since home equity can be used as collateral. We document there were big increases in home-equity-backed consumption loans coinciding with the start of the house price boom, and suggest an explanation. When it can be used as collateral, housing can bear a liquidity premium. Since liquidity is endogenous, even when fundamentals are constant and agents fully rational house prices can display complicated equilibrium paths resembling bubbles. Our framework is tractable, with exogenous or with endogenous supply, yet captures several salient features of housing markets. The effects of monetary policy are also discussed.