A cordon and search operation was launched in the Dangerpora area of Sopore. (Representational)

Two terrorists were killed today in an encounter with security forces in the Sopore area of Jammu and Kashmir's Baramulla district, the police said.

"On a credible input, a cordon and search operation was launched by the security forces in the Dangerpora area of Sopore. During the operation, the terrorists who were hiding fired on the search party. The fire was retaliated, leading to an encounter," a police spokesperson said.

In the ensuing encounter, two terrorists were killed and the bodies retrieved from the site, the official said.

Their identities and affiliation are being ascertained, he said, adding that incriminating materials, including arms and ammunition, have been recovered from the site of the encounter.