Eager to buy your first home this spring? Already own, but want to trade up? Be warned: there’ll be plenty of competition.

Bidding wars have broken out in hot real-estate markets such as Denver and Los Angeles, where there aren’t enough houses to meet demand. The lack of supply is a key reason home sales nationwide have yet to return to healthy levels following the housing collapse in 2008.