Troop guarding the LoC noticed a group of militants trying to sneak into the valley under the cover of darkness in the Machil sector late last night, the official said.
He said the troops fired at the heavily-armed militants who tried to escape taking advantage of the thick forest cover.
Three heavily-armed militants were killed in the operation, the official said adding that their bodies along with a large haul of arms and ammunition was recovered from the scene of the encounter.
This is the third infiltration attempt that has been foiled by the Army in north Kashmir over the past fortnight.
On May 26, the Army had killed two Pakistani Border Action Team (BAT) members who tried to infiltrate into the Uri sector to carry out an attack on Indian soldiers.
Six more militants were killed in the same sector next day when they attempted to sneak in from across the LoC.
Disclaimer: No Business Standard Journalist was involved in creation of this content