The court in Kairouan last week handed down the maximum term under a controversial article of the criminal code that criminalises sex between males, Boutheina Karkni said.
The six were also banned from the central city for five years after they complete their sentences, she said.
The young men were detained in November and December after "neighbours denounced them" and were made to undergo anal examinations, she said.
Karkni described the ruling as "extremely harsh" and said an appeal hearing should take place "in two to three weeks" in the nearby coastal city of Sousse.
Local rights group Shams, which calls for decriminalising homosexuality in Tunisia by revising Article 230 of the penal code, condemned the judgment.
Human Rights Watch's country director also denounced the ruling as "a grave case of infringement on people's private lives and physical integrity".
Amna Guellali described the sentences, which included the "extremely rare" penalty of "banishment", as "mediaeval and not consistent with Tunisia's evolution".
Balkis Mechri of the local Human Rights League agreed.
"The banishment really is scandalous," she said, calling on civil society to "react strongly" in the case.
"Our job is to uphold the law," radio station Shems FM reported him as saying.
In September, a court sentenced a student to a year behind bars in Sousse on charges of homosexuality, also after he was examined anally.
He was released in November pending an appeal hearing expected on Thursday.
After the September judgment, then justice minister Salah Ben Aissa made a controversial call for Article 230 to be scrapped and was sacked in October.
You’ve reached your limit of {{free_limit}} free articles this month.
Subscribe now for unlimited access.
Already subscribed? Log in
Subscribe to read the full story →
Smart Quarterly
₹900
3 Months
₹300/Month
Smart Essential
₹2,700
1 Year
₹225/Month
Super Saver
₹3,900
2 Years
₹162/Month
Renews automatically, cancel anytime
Here’s what’s included in our digital subscription plans
Exclusive premium stories online
Over 30 premium stories daily, handpicked by our editors


Complimentary Access to The New York Times
News, Games, Cooking, Audio, Wirecutter & The Athletic
Business Standard Epaper
Digital replica of our daily newspaper — with options to read, save, and share


Curated Newsletters
Insights on markets, finance, politics, tech, and more delivered to your inbox
Market Analysis & Investment Insights
In-depth market analysis & insights with access to The Smart Investor


Archives
Repository of articles and publications dating back to 1997
Ad-free Reading
Uninterrupted reading experience with no advertisements


Seamless Access Across All Devices
Access Business Standard across devices — mobile, tablet, or PC, via web or app
