The court also slapped a hefty fine of about USD 35,000 on the members convicted of inciting violence near Media Production City besides clashing with security forces and attempting to kill police officers and conscripts.
Eleven defendants were present during the trial while the others were sentenced in absentia.
Thirteen other defendants were acquitted in the same case.
Since Islamist ex-president Mohamed Morsi's ouster in 2013, the Egyptian government has been cracking down on the Muslim Brotherhood and its supporters.