New Zealand's housing market is going through the longest and deepest downturn in 30 or 40 years, property data firm Cotality says.

New Zealand's housing market is going through the longest and deepest downturn in 30 or 40 years, property data firm Cotality says.

The national median value fell to $804,303 in July.