Unstable sandy soil poses significant challenges for buried pipelines, particularly due to the increased risk of displacement and stress-induced fractures resulting from soil settlement and earthquake-induced ground deformation. These concerns are especially critical in seismically active regions where underground infrastructure is at higher risk. Fiber-reinforced polymer (FRP) composites present a promising and sustainable alternative for deep foundations, offering durability and reduced maintenance costs compared to conventional materials. This study introduces a novel approach to enhancing the seismic performance of pipelines buried in sandy soils by numerically investigating a three-dimensional (3D) multipipe grouting micro anti-slide pile system, utilizing a polyurethane polymer slurry as the grouting material. Key parameters such as pile spacing, diameter, and length, along with the effects of soil wetting and various earthquake intensities, were examined under the influence of surface loads exerted by a fully loaded truck. The results demonstrate that using polymer micropiles significantly reduces soil and pipeline settlement by 15% to 50%, with larger pile diameters and lengths further decreasing settlement and strain on pipelines. While seismic excitation increases settlement, polymer grouting effectively mitigates this impact, leading to substantial reductions in settlement.