The bomb went off at Painda Cheena village in the lawless Khyber tribal district, where the army is mounting an operation against the Taliban and other Islamist insurgent groups.
“A paramilitary soldier and a civilian were killed after a bomb planted on a roadside exploded,” a security official told AFP.
Local government official Tayyab Ali confirmed the casualties. No group immediately claimed responsibility.
More than 150,000 people have fled from Khyber since Pakistan’s military launched an operation in the district in October.
Militants had taken sanctuary there after fleeing strongholds in North Waziristan, where the military launched a large-scale offensive in mid-June.
More than 1,100 militants and 100 soldiers have been killed since the start of the North Waziristan offensive, and more than 100 militants have surrendered, according to the army.
On Sunday a suicide bomber killed 55 people at a frontier post with India in eastern Pakistan, blowing himself up among crowds leaving a daily military border-closing ceremony.
Two separate Taliban factions have claimed responsibility for the attack, the deadliest to hit Pakistan for more than a year.