BSF officials went up to the zero line and offered sweets to their counterparts in Pakistan Rangers. The border check post lies around 30 kilometres from Amritsar.
The Pakistani side also offered sweets to the BSF. Officials from both sides shook hands and greeted each other.
"The BSF shared sweets with our Pakistan counterparts on the occasion of Diwali. They also greeted us," a BSF official said at Attari.
The Attari-Wagah post between both countries is the only official land route link between India and Pakistan in the Punjab sector.
It is popular for the daily evening Retreat ceremony by the BSF and Rangers to mark the lowering of Indian and Pakistani flags and closure of gates for the night.
In recent years, the check post has witnessed an increase in movement of people and trade cargo.