The 104 ex-military officers were given “aggravated life sentences”, which come with tougher terms than a normal life sentence.
Turkey’s President Recep Tayyip Erdogan had previously said he backed reintroducing the death penalty for coup plotters.
The failed coup to overthrow him left at least 260 dead and 2,200 injured on July 15, 2016.
The Turkish government has since led a crackdown on alleged coup supporters, with the dismissal of more than 150,000 state employees and the arrest of some 50,000 people.
Of the 280 ex-military people on trial, the court in Izmir also served lesser sentences to a further 52 defendants.
The Izmir court gave 21 people 20 years in prison for “assisting the assassination of the president”, while 31 others were sentenced to between seven and 11 years for “membership of a terrorist organization”, state news agency Anadolu reported.
President Erdogan had backed reintroducing the death penalty for coup plotters. He also said they should wear Guantanamo Bay-style uniforms. Turkey abolished the death penalty in 2004.
The Turkish authorities accused a movement loyal to the Muslim cleric, Fethullah Gulen, of organizing the 2016 plot.
Fethullah Gulen, who has been in self-imposed exile in the US since 1999, denies any involvement, and Washington has so far resisted calls from the Turkish authorities to extradite him.
Rebel soldiers had attempted to overthrow the government overnight and plotters tried to detain Recep Tayyip Erdogan as he holidayed in an Aegean resort.
However, he had left 15 minutes before and the coup was thwarted by civilians and soldiers loyal to the president.
A purge followed the coup, in which thousands of public employees from police officers to teachers were sacked or arrested under suspicion of stirring up dissent.
Recep tayyip Erdogan’s critics say he is using the purge to stifle political dissent.
At least 158 people have died in Spain's worst flooding disaster in generations. On October…
Google has been fined two undecillion (a two followed by 36 zeroes) roubles by a…
Embarking on a home remodel is an exciting journey, promising enhanced comfort, increased property value,…
The US presidential candidates continued to campaign across key swing states on October 20. Footage…
Elon Musk has said he will give away $1 million a day to a registered…
India and Canada have decided to expel their top envoys along with other diplomats as…