The bomber was stopped Friday afternoon as he entered a building of the headquarters of the Baghlan provincial security forces, Khaama Press reported.
Asadullah Shirzad, the province's security chief and the bomber's intended target, said security forces had received advance intelligence about the bombing attempt.
The suspect, who was dressed as a police officer, told reporters he planned to carry out the attack in coordination with an Afghan police officer, whom he declined to name.
The attacker was the second suicide bomber arrested in Baghlan province arrested in the previous three days.
In a separate incident, 40 people were killed when a suicide bomber attacked a gathering saying prayers near a mosque in Maimana in northern Faryab province.
Scarlett Johansson steps out with fiance after pregnancy reveal
Susan Sarandon 'very excited' about daughter's pregnancy