The incident occurred last night about 50 km from Amritsar near Amarpost at Chinna Bidhi Chand village, Senior Superintendent of Police Tarn Taran Kamaljit Singh said.
Sunil Kumar (28) shot at and killed Mahesh Kumar (27) before committing suicide, Singh said.
Sharing more details, DSP Daljit Singh Dhilon said, "Sunil Kumar approached his colleague Mahesh Kumar in a fit of rage while on duty and all of a sudden opened fire, killing him on the spot. Before anybody could understand, Sunil then shot himself with the same service rifle," the DSP added.
Police said it would be too early to comment on the case as the matter was under investigation to ascertain what might have enraged Sunil to make him take such an extreme step.
The DSP revealed that the two deceased belonged to the same Rewari district of Haryana and "were very good friends. (They had) joined BSF together and underwent training jointly".
BSF itself was investigating the matter with an official saying that, "some family reasons might be there between the two friends but the matter is under probe".
It is learnt that Sunil had got married a year ago and was recently back from a three-month vacation. The bodies of the two soldiers have been sent for autopsy.
Bollywood celebs show you colours for Navratri 2017
Photos: Kareena Kapoor Khan, Kangana Ranaut at the Mumbai airport
Birthday special: Chris Gayle and his multiple records in cricket
In Pictures: 17 dreaded on-screen villains of Bollywood
'Ramayan' director's great granddaughter Sakshi's hottest photos