We use metro-level variation in land and structural input prices to test and estimate a housing cost function with differences in local housing productivity. Conditioning on housing demand, OLS and IV estimates imply that stringent regulatory and geographic restrictions increase housing prices...