Homebuilders in July saw a decrease in new-home sales in the U.S. for the second straight month, but prices have started to moderate and should help the market in the near future.

The U.S. Department of Commerce reported on Monday that new home sales fell 2.4 percent to a seasonally adjusted rate of 412,000 units, which is the lowest level since March, Reuters reported. New home sales also fell 7 percent in June.

July forecasts predicted 430,000 new home sales across the country, but results fell well short.

Despite the lukewarm sale numbers, Commerce Department data showed an increase last month in new home construction and in resales, which climbed to their highest levels in 10 months.

The total inventory of new homes on the market jumped 4.1 percent in July to 205,000 units, which is the highest level in nearly four years.

At the same sales pace as July, it would take six months to deplete the current housing inventory. Economists generally consider a six-month supply to be a solid balance between supply and demand.

Several home builders told The Wall Street Journal that July sales were better than the same period in 2013, even though prospective buyers are often hesitant to complete sales.

Despite strong job growth this year, there are many other things that affect buyer confidence. For instance, the median new-home price over the last couple of years has risen much faster than wages, even though it appears to be slowing.

The median sales price in July was up 2.9 percent from a year ago, marking a sharp slowdown from June, when prices were up 7.8 percent year-over-year.

"The market is recalibrating from the rapid and short-lived rebound we saw" last year, said Bert Selva, president and CEO of Shea Homes. "(Buyers are) getting back to really making the home-buying decision versus purely an investment decision or buying a home immediately because there's not much supply."