The incident occurred in Daudzai area on the outskirts of Peshawar.
SHO, Daudzai police station said the Superintendent of Police was near a school inspecting security measures when the bomb went off.
Police said the deployment was for the protection of anti-polio workers whose lives are under constant threat from Islamist militants.