The verdict comes at a time when several activists have expressed fears that the autocratic rule and widespread police abuse prevalent under Mubarak were returning.
The two policemen were sentenced following a retrial for the manslaughter and torture of Khaled Said in June 2010, after they had unlawfully arrested him at an Internet cafe in the Mediterranean city of Alexandria.
Mahmoud Salah Mahmoud and Awad Ismail Suleiman had initially been sentenced to seven years in October 2011 for excessive brutality.
The government further enraged Mubarak's opponents when it tried to cover up the killing by alleging he choked on a bag of drugs.
More From This Section
A Facebook group entitled "We are all Khaled Said" helped organise the 18-day protests that drove Mubarak's hated police force from the streets and forced him to resign in February 2011.
Today's sentencing comes amid renewed popularity for the police, who supported the ouster of Islamist president Mohamed Morsi in July, and a pattern of acquittals for policemen tried for killing protesters during the anti-Mubarak revolt.