The child, identified as Hasnain and aged around 12 years, was escorted to the Attari in Amritsar to be handed over to Pakistani authorities at the Attari-Wagah international border, Faridkot's Deputy Commissioner Rajeev Prashar told PTI over the phone.
The BSF had arrested him in May 2017 from Hussainiwala in Ferozepur after he strayed into the Indian side.
A Rs 20 Pakistani currency note was recovered from him.
He said earlier the boy was booked under relevant Indian laws after he was found to have crossed over without any documents.
Recently, a competent court had ordered his release as the boy had completed his sentence for the offence of entering into India without valid documents, Prashar said.
His repatriation process was recently expedited after he was identified, the officer added.