The structure of rotary capping machine and the sealing mechanism of screwed packing container were analyzed. The capping failure forms of capping machine were summarized. The cause of capping failure was found through tests. The solution of making cap with certain flexible adaptability and feedback ability was proposed. It was proved that solution is effective to reduce the capping failure rate of capping machine.