The Shenzhen Yantian District People’s court sentenced Tang Kai-yin to three years in jail and Quinn Moon to two years for organising an illegal border crossing.
The eight others were sentenced to seven months behind bars for illegally crossing the border.
Officials earlier said that two minors from the so-called “Hong Kong 12” would be returned to Hong Kong after they admitted wrongdoing.
The pair arrived back in the city around noon on Wednesday.
The 10 adults in the group first appeared before a court in the southern city of Shenzhen on Monday, but the trial — like many in China’s opaque legal system — was not open to foreign reporters or diplomats.
These 10 were also fined up to 20,000 yuan (US$3,060) in addition to their jail terms.
But the Yantian District People’s Procuratorate said it would not pursue its case against the two teenagers, surnamed Hoang and Liu.
Families of the accused were only notified of the trial date three days before the hearing, while their lawyers were barred from meeting the detainees.
The lawyers on Wednesday said the sentences were too heavy and the allegation of organising a border crossing was not substantiated.