Acting on specific information about the presence of militants in Putshai area of Lolab in the district, security forces cordoned off the area and began a search operation on Thursday, an army official said.
He said as the search operation was ongoing, militants who were hiding there fired upon the forces resulting in a gun battle.
Three militants have been killed in the operation so far, the official said.
He said the identity of the slain militants could not be immediately ascertained.
The operation was still ongoing.
The hijacker who wants peace in Kashmir
'Not easy to know when, what will erupt in Kashmir and where'
Price of the relentless daily war in Kashmir
The battle is now for the Tipping Point in Kashmir
Why the army is down and out in Kashmir