In the implementation of compulsory medical treatment, the deadline of compulsory medical treatment is an urgent problem. Compulsory medical treatment is not equal to indefinite life imprisonment. At present, China's criminal procedure law takes an absolutely irregular way to the period of compulsory medical treatment, and does not make any provisions on the period of compulsory medical treatment. Irregular way leads to the problem of indefinite detention and treatment time is too short or too long. We should establish a relatively irregular compulsory medical system in China.