Dozens of militants stormed a police post in Ziarat district overnight, killing nine officers, wounding others and briefly abducting eight police before they were recovered.
A follow-up clearance operation killed 15 militants, and Balochistan officials said intelligence-based operations would continue after the assault.
No group claimed the attack, but suspicion fell on the banned Baloch Liberation Army, which said it carried out a weekend suicide attack on a security post in Jiwani.
The assault adds to unrest in Balochistan, where separatists and the Pakistani Taliban have intensified attacks and villagers near Quetta are already protesting for better protection.