The case has long been criticized by press freedom advocates and others.
The ruling, published by the state news agency MENA, says the three men — Canadian national Mohammed Fahmy, Australian journalist Peter Greste and Egyptian producer Baher Mohammed — were by default members the banned Muslim Brotherhood group, which Egyptian authorities consider a terrorist organization.