The terrorists, who were involved in the killing of innocent civilians and attacking armed forces, were executed early today, the Army said in a statement.
"Today another 4 hardcore terrorists, who were tried by Military Courts have been executed," the statement said.
"These terrorists were involved in committing heinous offences relating to terrorism, including killing of innocent civilians, attacking a mosque, destruction of communication infrastructure, attacking Law Enforcement Agencies and Armed Forces."
Army said that all of them were active members of banned Tehreek-e-Taliban Pakistan.
More From This Section
The jail where they were hanged was not identified. It was not stated where the trial was held and when they were awarded death sentence, because military courts operate in secrecy due to fear of attacks by militants.
Military courts were restored in March for another two years after their initial two-year term expired in January.
The courts were set up after a constitutional amendment following a terror attack on an Army-run school in Peshawar in December 2014 which killed more than 150 people, most of them students.
Pakistan has been fighting various extremist groups for over a decade. Militant attacks have killed tens of thousands of people.
The military courts have handed down the death penalty to more than 160 militants.