The protesters, who were not present at their trial in Alexandria, also were fined nearly $7,200 each, Ahram Online reported.
Another 27 students were given one-year sentences.
Students have been at the forefront of anti-government demonstrations since the start of the current school year in September.
On Tuesday, interim president Adly Mansour issued a decree allowing universities to expel students engaging in activities that threaten the educational process or who target university facilities.
In November, police were allowed to enter campuses without prior authorization from university or judicial officials.
Pistorius testifies he didn't consciously pull trigger when he shot girlfriend
'Happy' fan videos make Pharrell cry [VIDEO]