Journalists Syndicate president Yahiya Kallash, Gamal Abd el-Rahim and Khaled Elbalshy were charged in May with sheltering two journalists wanted over protests against the transfer of two Red Sea islands to Saudi Arabia.
The court set bail at 10,000 Egyptian pounds (USD 615, 580 euros), a court official said.
Their arrest following a May 1 police raid on the union building to detain two reporters from an opposition website drew condemnation from rights groups.
"It reflects broader limitations on freedom of expression and press freedom in Egypt," an EU spokesperson said at the time.
More From This Section
Rights activists accuse President Abdel Fattah al-Sisi of running an ultra-authoritarian regime that has violently suppressed all opposition since toppling Islamist president Mohamed Morsi in 2013.
Kallash had denounced the police raid on union headquarters to arrest reporters Amr Badr and Mahmud al-Sakka, saying the government was "escalating the war against journalism and journalists".
Activists had organised two protests in April against handing the islands to Saudi Arabia.