At the nanoscale, it is still unclear what the mechanical characteristics of a TiAl alloy with vacancy defects are during friction with diamond tips. In this study, a molecular dynamics simulation-based sliding friction mechanism model between a diamond tip and TiAl alloy was created. The wear mechanism at the nano scale was explored in conjunction with friction force, removal atoms, and subsurface damage, and the sliding friction behavior of a TiAl alloy with varying densities of vacancy defects. According to its study, the initial peak of friction strength and the shaking breadth of the aluminum alloy material are reduced when vacancy defects rise. Additionally, it was discovered that when there is a vacancy defect, wear and sliding position adjustments are also in line with Archard's law of wear, and subsurface damage is transmitted from the concentration at the contact point to the front end of the touch point.