The ceremony was held in a mosque in the capital Ankara in commemoration of those killed in the 2016 botched putsch.
The Turkish president recited verses from Surahs al-Fatihah and al-Baqara of the Holy Quran.
During the botched coup in July 2016, a faction of the Turkish military declared that it had seized control of the country and the government of Erdogan was no more in charge. The attempt was, however, suppressed a few hours later.
Ankara has since accused US-based opposition cleric Fethullah Gulen of having orchestrated the coup.
Gulen has denounced the “despicable putsch” and reiterated that he had no role in it.
“Accusations against me related to the coup attempt are baseless and politically-motivated slanders,” he has said.