Corrugated steel sheets are mounted on purlins either through self-drilled nails or through specially designed splints. The steel sheets exert torsional restraints on purlins when the latter buckles laterally. The present paper reports on an analysis of this torsional restraints on purlins by FEM. HXY-478 roof system developed by Hangxiao Steel Corp. is used in the analysis. Two formulas,one for purlins in positive bending,the other for negative bending moments,are developed for determing the restraints for buckling analysis of purlins.