The mosque survived the 2004 earthquake and tsunami with minor damages such as wall cracks. The earthquake had slightly tilted and cracked the 35-meter minaret by the main gate. During the disaster, the mosque served as a temporary shelter for displaced persons and only reopened for prayers after two weeks.