Ansari died at his residence in Dar ul Jawad, Qamarwari, Srinagar on the morning of 30 September 2014 after a prolonged liver illness.[4] Ansari had been undergoing specialized treatment in the United States. Various political, religious and social leaders offered condolences. Almost half a million people attended his funeral procession, from qamarwari to Zadibal imambargah where namaz e jenazah was offered.[5] He was buried in his ancestral graveyard, Baba Mazar, Alamgari bazar, Zadibal, Sriangar.