I think it was the Jamalpur Tunnel constructed in 1861 which is the oldest tunnel in Indian Railways. Parsik Tunnel was constructed in 1916 for connecting Thane to Kalyan and beyond. There can be other tunnels in hill railways which can be older as well.