Massachusetts has 14 divisions of the Probate and Family Court, with one located in each county across the state. Essex Probate and Family Court handles child custody matters for Danvers, Peabody, Salem, Beverly, and 30 other cities and towns in Essex County. People who want to challenge a probate and family court decision can appeal to the Massachusetts Appeals Court and, if necessary, the Massachusetts Supreme Judicial Court.