In addition, 347 others wounded, majority of them in critical condition.
Sediq Sediqi, spokesman for Interior Ministry announced the figure in a press conference in Kabul.
The attack on security intelligence unit was launched around 9:00 am local time after a truce embedded with explosives was detonated near the compound on Tuesday.
Security forces immediately cordoned off the area but a gun battle lasted for over two hours until the situation was brought under control.
Taliban insurgents claimed responsibility for the attack as it started Omari operation from the beginning of spring.
The deadly suicide attack has been widely condemned.