The Presidency of the Republic of Tunisia today announced the death of President Beji Caid Essebsi.
In a statement on Facebook the office said that Essebsi died at 10.25 this morning at the military hospital in Tunisia where he was admitted after his health deteriorated.
Details of the burial would be announced later, it continued.
Essebsi was taken to the military hospital late last night "after an emergency health issue", local media reported.
His son, Hafez Caid Essebsi, said: "The president was transferred to the military hospital due to an emergency health problem caused by the residues of food poisoning that he suffered over the last period."
On Monday Essebsi appeared in video footage posted by the presidency for the first time in two weeks, following reports that his health had deteriorated.
The 92-year-old could be seen in his office at the presidential palace with the defence minister. He appeared to be suffering from health problems and he did not make a statement.
Essebsi won Tunisia's first free elections in 2014 following Arab uprisings across the region.
The speaker of parliament, Mohamed Ennaceur, said he would become the temporary president, in line with the constitution.
The next presidential election, set for 17 November, will now be held earlier, the electoral commission chief said, without elaborating. A parliamentary vote is set for 6 October.