The policemen were convicted of killing 13 inmates in the city’s Carandiru jail during an operation to end a revolt.
In all, 111 prisoners died, and prosecutors argued that most of them were shot dead at close range.
The officers’ lawyers said they would appeal. Three other policemen were acquitted during the trial.
The 23 convicted officers – most of whom are now retired – had originally been accused of killing 15 inmates, but two of the victims were later thought to have been killed by fellow prisoners.
Dozens more officers are expected to be brought to trial in connection with the case in the coming months.
In 2001, Colonel Ubiratan Guimaraes, who led the police operation to regain control in Carandiru, was convicted of using excessive force. But he was acquitted on appeal in 2006.
The riot began on 2 October 1992 after an argument between two inmates quickly spread, with rival gangs facing off in what was at the time one of South America’s largest prisons, housing 10,000 inmates.
Inmates said riot police brutally repressed the riot.
“We never thought they would come in and kill people randomly, as not everyone had joined the rebellion,” said former prisoner Jacy de Oliveira.
“The policemen began shooting everyone; I was on the fifth floor, if you looked a policeman in the eyes, you were dead,” he said.
The officers’ lawyer, Ieda Ribeiro de Souza, argued they were only doing their duty and acted in self-defence, as many of the inmates were armed.
While prison riots are not uncommon in Brazil, the number of those killed at Carandiru and the slow pace of the Brazilian justice system in bringing the accused to trial has shocked the public.
Carandiru was closed in 2002, shortly after inmates co-ordinated simultaneous uprisings in 27 jails across Sao Paulo state during which thousands of visitors were held hostage.
The US House Ethics Committee has voted to release its report on former Republican Representative…
ABC News has agreed to pay $15 million to President-elect Donald Trump to settle a…
South Korea’s parliament has voted to impeach President Yoon Suk Yeol over his failed attempt…
Israeli war planes have carried out more than 100 air strikes in Syria on December…
President-elect Donald Trump has threatened to impose 100% tariffs on the BRICS countries if they…
Syrian troops have withdrawn from the city of Aleppo following an offensive by rebels opposed…