Magrey was born on 8 December 1960 in the village of Wattoo in Kulgam district, Kashmir. He graduated from the University of Kashmir with a LL.B (Hon's). In 1984, he enrolled as an Advocate and started his practice in District Courts. In February 2003, he was appointed as Additional Advocate General. In September 2009, he was appointed as Senior Additional Advocate General. On 8 March 2013, he was appointed as a Judge of Jammu & Kashmir and Ladakh High Court.[1] He was elevated as Chief Justice of the Jammu & Kashmir and Ladakh High Court on 13 October 2022.[2] He retired on 7 December 2022.[citation needed]