I've heard SF's laws against denser housing are a major factor in the housing "shortage" there. [1]
In NYC, rent control laws are a major factor in the artificial housing shortage. There's a consensus across economists of all stripes that rent control is a bad thing ("the most efficient technique presently known to destroy a city -- except for bombing"). See the studies cited here. [2]