The linear analysis method with soil-pile interaction is used to analyse the bearing capacity of rammed soil-cement piles composite foundation. The following results are abtained:the influence of replacement ratio of area, subcrust thickness and pile stiffness on partaking ratio of pile and soil, and the displacement of the single pile in pile group. The method mentioned above can be used for optimization design of bearing capacity of composite foundation.