At present there have rarely studies on internal force and deformation for rock-socketed piles of deep excavation. The current approaches still exist and have many deficiencies and all of them didn't consider the effect of rock-socketed length. Based on the theoretical mechanics analysis of rock mass resistance, the computing methods of ultimate resistance Pult is applied to the analysis of force balance of rock-socketed part, the paper has put forward the detailed procedure for computing internal force and deformation of supporting rock-socketed piles in view of the rock-socketed length, moreover, the influence of the stability of rockmass is comprehensive considered in this method. Finally, an example is analyzed according to the procedure, the calculation results show that the method is much feasibility. The internal force and deformation of the retaining piles computed according to the procedure mentioned above satisfies the stability of rockmass.