With the polls officially closed, electoral committees across the country’s 81 provinces started to count the ballots.
Votes were cast in 180,065 polling places across the country.
Voting at Turkish customs gates with adjoining countries, which began on June 7, has also ended.
Votes by Turks living abroad who cast their ballots in 60 countries at 123 embassies and consulates will simultaneously be counted in the capital Ankara.
Six candidates are running for president: Recep Tayyip Erdoğan for the alliance (People’s Alliance) formed by Turkey’s ruling AK Party and the MHP, Muharrem İnce for CHP, Selahattin Demirtaş for HDP, Meral Akşener for the Good (IYI) Party, Temel Karamollaoğlu for the Felicity (Saadet) Party, and Dogu Perinçek for the Patriotic (Vatan) Party.
In April, Parliament passed a bill calling for early elections on June 24, cementing Turkey’s move from a parliamentary to a presidential system. In an April 2017 referendum, Turkish voters approved the switch.
Under the changes, the number of lawmakers in parliament rises from 550 to 600, presidential and parliamentary elections will be held every five years, and presidents can retain ties to their political party. The prime minister post is also abolished.
Recep Tayyip Erdoğan has served as president since 2014, and is Turkey's first popularly-elected president. Before that, he served as prime minister from 2003 to 2014.
Erdoğan would be Turkey's first leader to rule under the presidential system should he win the election.