The Pakistani military said two soldiers were also injured in the raid in Pakistani North Waziristan.
The Pakistani military said a soldier and four rebel fighters were killed in an exchange of fire in a raid near the border with Afghanistan.
The military said two soldiers were also injured in Sunday’s raid in the Spinwam area of North Waziristan in Khyber Pakhtunkhwa province.
North Waziristan served as the headquarters for local and foreign rebels until 2017 when the army said it had freed the mountain region of fighters after several operations. There are still sporadic attacks in the region, mostly targeting security forces.
Such incidents have raised fears that the Pakistani Taliban will regroup.
In the controversial Himalayan region of Kashmir, a Pakistani official said a cross-border Indian shot killed a seven-year-old girl and wounded ten villagers.
Umar Azam, the deputy commissioner of Kotli district in Pakistani-administered Kashmir, said Pakistani forces returned fire across the border.
There was no immediate comment from India.
The fighting took place amid mounting tensions between nuclear-armed South Asian neighbors.
Earlier this month, Pakistani and Indian troops exchanged fires across the border, killing 12 people, including three Indian and one Pakistani soldier, and injuring at least 36 on both sides. The deaths were some of the highest reported in recent years.
A ceasefire has existed since 2003 across the line of control separating Pakistan-administered Kashmir and India-administered Kashmir. However, he is frequently injured by both India and Pakistan, each routinely accusing the other of instigating hostilities.
Both countries claim the disputed mountainous area of Kashmir in full, but administer separate parts of it. Since their independence from the British in 1947, they have waged two of their three wars for the region.
In 1948, the UN Security Council passed a resolution calling on both sides to cease hostilities in order to pave the way for a referendum that would give Kashmiris the right to choose between joining Pakistan or India.