The technology of heat-assisted magnetic recording (HAMR) has improved the storage density of hard disc drives. The PFPE molecules of lubricant layer adhered on the disc can transfer from the lubricant layer and form the lubricant bridge which can deteriorate the stability of read/write process. In this paper, the formation and breaking of lubricant bridge at the head–disc interface (HDI) affects HAMR stability and deserves to be investigated. Using molecular dynamic simulation, a full-atom model was built to evaluate the behaviour of the lubricant bridge. Moreover, the effects of lubricant temperature, heating-up time, disc rotation speed and bearing pressure on the HDI were studied. It has been found that the amount of transferring atoms sharply increased when the lubricant temperature was above 700 K. The loss rate of lubricant layer decreased gradually during the heating process and it took about 2.2 ns for the remaining lubricant to reach stability. Furthermore, transferring PFPE molecules can form the lubricant bridge. A shorter heating-up time makes the lubricant bridge thicker and more robust. And the duration of lubricant bridge is notably affected by heating-up time, rotation speed and bearing pressure. A shorter heating-up time leads to a longer duration of lubricant bridge, whereas a higher rotation speed and bearing pressure reduces the duration of lubricant bridge.