Five of those sentenced today by a court in the southern city of Minya were tried in absentia. The case was related to demonstrations in the town of Samallout.
It is one of several cases against members of the Muslim Brotherhood group and supporters of ousted President Mohammed Morsi.
Egypt's military removed Morsi from power last July after mass demonstrations calling for his ouster.
Morsi supporters staged have near daily demonstrations since then, despite a sweeping crackdown by the military-backed government that has killed hundreds and detained thousands.
