To know well of the railway complete profile dimensions and its variation trend is an effective measure to guarantee rail traffic safety. This paper probes into key technology for dynamic measurement of railway complete profile based on laser scanner, proposes corresponding solutions, including the calibration of the laser scanner, the application of laser rangefinder in train positioning system, the algorithm of adjacent line spacing and contact line height detecting. At the end, gives a brief introduction of the software system for railway complete profile detection.