You can reach Sapa from Hanoi through the night train. It will take about 8 hours to reach Lao Cai. Lao Cai is the city just 30 kilometres away from Sapa. You can catch a direct local bus or private bus from Lao Cai which will drop you at Sapa.