In order to explore the microscopic mechanism of wax deposition on the pipe wall of high temperature and high?pressure condensate gas wells, this paper uses molecular dynamics simulation technology by the Materials Studio to build condensate oil system with methane, pentane, nonane,n?dodecane, cyclobutane, cyclopentane, benzene and toluene,and the wax component model was built with n?octadecane, and simulate with wax content, asphaltene and scale as variables. The results show that with the increase of wax and asphaltene mass fraction, the wall wax deposition behavior can be intensified, but when the asphalt mass fraction reaches 2.0%,the wall wax deposition behavior can be inhibited.The more kinds of heteroatoms in asphaltene,the more obvious the promotion effect.When there is scale on the pipe wall, sulfate scale has a great influence on wax deposition.The understanding of microscopic mechanism provides a scientific basis for the treatment of wax deposition on the pipe wall.