According to the Novak's plane strain theory and Biot's wave equation, this paper proposes an analytical model for horizontal vibration of partially embedded offshore piles under distribution effect of wave loads (DEWL) incorporating the diffraction effects of waves. Firstly, for the pile above the mudline, the wave force acting on the pile is obtained through the method of separation of variables. Secondly, for the embedded section of offshore piles, the governing equations of the seabed are decoupled by introducing potential functions, and then the boundary condition of the seabed and the continuity condition at the soil-pile contact surface are combined to obtain the frequency domain analysis of the soil reaction forces. Furthermore, by applying the continuity condition of displacement at mudline and using the matrix transfer method, the analytical solution for the horizontal vibration characteristics (HVC) is derived. Finally, a comparison analysis with existing theoretical solutions is conducted to validate the rationality and accuracy of the analytical solution proposed in this paper. Based on this, a parametric analysis is conducted to discuss the effects of the parameters of the soil, the pile and the wave on the HVC of partially embedded offshore piles.