Some of those arrested, including women and children, are suspected by Pakistan security of having ties to al-Qaida, reported Aljazeera's Islamabad correspondent, Ahmad Barakat on Sunday.
Weapons and explosives were also netted during the raid, he said.
The suspected rebels opened fire when police and other security agents besieged the house in which they were living in Gujarat city, 175km southeast of the capital Islamabad, on Friday evening.
A policeman was slightly hurt in the shootout.
"They are suspected to be terrorists," said Brigadier Javed Iqbal Cheema without elaborating.
Raja Munnawar Husayn, a senior police official in Gujarat who took part in the operation, said those arrested were five men, three women and five children. "One of the children is an infant," he added.
He said the security forces conducted the operation on a tip from an intelligence agency that militants were using the house as a hideout.
Pakistan is an important ally in Washington's so-called "war on terror" and has vowed to rid the country of foreign fighters, many of whom have either slipped into big cities or are hiding in the rugged tribal region bordering Afghanistan.
Pakistan has arrested hundreds of suspected al-Qaida fighters since the 9/11 attacks, including senior figures.