Pile foundation of foundation structure is generally used as deep foundation form that the load of upper structure is safely delivered to the firm lower part ground. This pile foundation structure is widely used in large construction or civil engineering structures. Displacement or destruction of the pile foundation will impact directly on the stability of repeated horizontal load. It is very import to consider this characteristic of horizontal load when building a pile foundation. When designing the fundamental structure that withstands heavier loads than itself, horizontal load become the critical design factor. In this research, we analyzed the effects of different pile types on bending moment and bearing capacity of the pile foundation. Based on the analyses, the closed ended pile type is better than the open ended pile type in terms of resisting horizontal load.