Ishaq Wadie said the men were released on bail of 5,000 Egyptian pounds (USD 283, 230 euros) each until an appeals trial.
The trial of three other suspects was delayed over procedural reasons, the lawyer said.
Homosexuality is not expressly outlawed in Egypt, but gays have previously been charged with debauchery in the deeply conservative Muslim society.
In recent months, authorities have cracked down on people who practice so-called "abnormal" sexual relations, which in Egypt means homosexuality, or for inciting debauchery.
More From This Section
Thirty-one people have been arrested since the show, 10 directly linked with the event, according to judicial and security officials.
London-based rights watchdog Amnesty International said the number was more than 70 people, some of whom had been subjected to anal examinations.
On November 9, Amnesty condemned a draft bill in the Egyptian parliament that would criminalise homosexuality.
The bill lays jail terms of between one and three years for first time offenders, whether the act takes place in public or a private place. Repeat offenders would receive five years.