Pipe–soil interaction encompasses the study of stress distributions and deformation mechanisms occurring between buried pipelines and their surrounding soil. Understanding the mechanical behavior of this coupled system is essential for the analysis of deformation patterns and failure modes in buried pipelines, thereby providing critical guidance for construction design and risk assessment protocols. Traditional analytical approaches have relied on classical mechanics theories and experimental methodologies; however, these approaches often incorporate excessive simplifications and assumptions that inadequately represent the complex properties of both soil and pipeline structures. Numerical simulation methodologies have emerged as viable alternatives for investigating pipe–soil interaction. Among these numerical approaches, Smoothed Particle Hydrodynamics (SPH)—an advanced Lagrangian meshless particle method—offers distinct advantages in modeling complex behaviors, including free surfaces, deformable boundaries, and large deformation scenarios that characterize pipe–soil interaction. This research establishes a pipe–soil interaction model for buried pipelines utilizing the SPH method, incorporating elastic–plastic constitutive relationships to represent soil behavior. The investigation examines lateral interaction mechanisms, vertical interaction responses in sandy soils, and the parametric influence of various soil properties on pipe–soil interaction characteristics. This study contributes insights into the application of meshfree numerical simulation techniques for pipe–soil interaction analysis, offering both engineering utility and theoretical advancement for pipeline infrastructure design and safety assessment.