The Sonepat area was a part of Delhi District up to 1912. It was included in Rohtak District in September, 1912. Gohana Tehsil remained a part of Rohtak District till the formation of Sonipat as separate District on 22.12.1972. The first Judicial Court started functioning at Sonipat on 15.5.1959. Shri Surjeet Singh Raikhy was posted as first Sub. Judge First Class at Kot Mohalla, Sonipat. Sonipat District was declared as Sessions Division by the Hon’ble High Court, vide Haryana Govt. Notification No. 3/1/78JJ(4) dated 19th May, 1983 and Shri I.M. Malik was appointed as the first District & Sessions Judge at Sonipat, who joined on 8th June, 1983.
Establishment of Family Court Family Court, Sonepat came into existence on 30.12.2011 vide Govt. of Haryana Notification no. 352 SW(3)/2011.