The attack took place outside Pandav park near Awantipora, about 30 km from Srinagar, this evening, sources said.
The CRPF jawans were part of a Road Opening Patrol deployed to secure the highway when they were attacked, said the sources.
Both the jawans were shot at point-blank range and died on way to hospital, news agency PTI said.
The security forces have cordoned off the area, but the attackers managed to escape, the sources said.
No outfit has claimed responsibility for the attack, which is the second incident in Awantipora in three months, according to PTI.