Mast plays an essential role in supporting objects, i.e., catenary, droppers, etc., in the railway electrification system. The condition of the tilt railway mast can influence the entire railway transportation safety. Therefore, the tilt angle of the railway masts needs to be retrieved to prevent damage. This study proposed an automatic method to retrieve the tilt angle masts by using Mobile Laser Scanning (MLS) point clouds data. Forward, the automatic method was tested into two-track locations, which in New Taipei city and Yilan county, in the north of Taiwan, respectively, had been used in our automatic detection method. The data was acquired two times, on July and October 2019. There were two main steps to retrieve the tilt condition of the railway masts. Firstly, point clouds were clustered by using Euclidean Distance Clustering and detected the masts by setting parameters. Secondly, the tilt angle of the mast was obtained by Principal Component Analysis (PCA) and was calculated based on vector-based. The result showed that 90% and 89% masts were detected in New Taipei City, respectively in the first and second acquisitions. In Yilan county, 82% masts were successfully detected. The RMSE of the tilt angle estimation result was 1.2° and 1.6°, respectively in New Taipei City and Yilan county.