Through dealing with the test carried out on the end of rock-socked piles embedded in the mudstone, and the piles embedded sliding micrometer pipe, by means of pile end batholite load test and static load test, analyzing the distribution of pile lateral resistance and pile end bearing under the static load,then providing the simplified formula to get the limit friction of the pile lateral resistance. Base on the result, it carries out optimum design of rock-socked piles.