6Ultra-thin lubricant films are essential in the design of nanoscale systems and devices as surface 7 effects become increasingly important on the nanoscale. We have used molecular dynamics simulations to 8 quantify terraced spreading of perfluoropolyether lubricant on a flat substrate as a function of polymer 9 chain length, lubricant thickness, and functional end groups of the lubricant and the substrate. In addition, 10we have investigated the physical mechanisms that drive terraced lubricant spreading on a flat substrate. 11The results show that terraced lubricant spreading follows a process of diffusion and instability, where 12 functional lubricant end groups are attracted to other functional end groups to form clusters that organize 13 into layers. These distinct layers of functional end groups cause the lubricant thickness profile to take on a 14 terraced shape, where layers correspond to the locations at which terraced formations occur. The presence 15 of functional end groups determines the locations of both layer and terrace formations, and greatly affects 16 lubricant spreading. 17