Frontier Corps officials said that the firing incident occurred at a place called Prom in Panjgur area.
Four security personnel lost their lives and three sustained injuries as gunmen opened fire.
Security forces cordoned off the area after the incident and chased the culprits.
During exchange of fire, five militants were also killed and arms were seized from.
The area is a stronghold of Baloch nationalist militants.