They were hanged at a civil jail in Kohat on Wednesday, reported Dawn online citing security source.
The executions were carried out as the Pakistan prepares to observe the first anniversary of the attack on Army Public School in Peshawar last year.
President Mamnoon Hussain rejected the mercy appeals of these terrorists.
The Tehreek-e-Taliban Pakistan (TTP) militants stormed the Army Public School, killing at least 144 people most of them were children on December 16, 2014.
A group of 8-10 suicide attackers wearing paramilitary Frontier Corps uniforms entered the school located at the Warsak Road and started indiscriminate firing.
In one of the most gruesome attacks in recent years against children anywhere in the world, the militants went from classroom-to-classroom shooting indiscriminately at the shocked students.
TTP termed the attack as a revenge for the army's operation against militants in the North Waziristan tribal area close to Peshawar.