The preferred orientation of the TiN film grown by sputter-deposition was studied by the cross-sectional TEM. The preferred orientation was changed from the (200) through the (110), and then finally to the (111) with the film thickness. The cross-sectional microstructure also shows that the film consists of three layers which are all columnar structure, The (Ill)preferred orientation was observed in the top layer, and the (110) in the middle layer, and finally the (200) in the bottom layer. It is very surprising that the (110) preferred orientation could be observed in a medium thickness region and there are two kinds of critical thicknesses. These results surely show the strong dependence of the change in the preferred orientation on the strain energy in TiN thin films.