The 12-year-old walked up local police headquarters on Thursday in the southern town of El Charco, near the Ecuadorean border, carrying a package laden with explosives.
It detonated before he reached the station, local authorities said.
“A child bomb. Terrible. Repugnant,” Antonio Navarro, governor of Narino province, told local television. “We are really very sad but also very angry.”