The median price of a home sold in Suffolk County in May was up by 10.4 percent over the same month last year to $370,000, according to the Multiple Listing Service of Long Island.

In Nassau, the median price in May was $519,000, up 8.1 percent from the same month a year earlier. Here is the month-by-month trend for each county.