A valve opening and closing time control apparatus that is equipped in an internal combustion engine which is automatically stopped by an engine control portion, when a stop condition is established in a situation that a stop operation is not performed by a driver, and is automatically started by the engine control portion when a start condition is next established, the apparatus comprising: a driving side rotating body (11; 111; 203) that is rotated synchronously with a crank shaft (1; 101) of the internal combustion engine; a driven side rotating body (12; 112; 205) that can be rotated integrally with a cam shaft (3; 103; 208) of the internal combustion engine and can be relatively rotated with the driving side rotating body; an advanced angle chamber (Ca; 206a) that changes a relative rotation angle between the driving side rotating body (11; 111; 203) and the driven side rotating body (12; 112; 208) in an advanced angle direction (Sa) by supply of hydraulic fluid, and a delayed angle chamber (Cb; 206b) that changes the relative rotation angle in a delayed angle direction (Sb) by supply of hydraulic fluid, the advanced angle chamber (Ca; 206a) and the delayed angle chamber (Cb; 206b) being formed between the driving side rotating body (11; 111; 203) and the driven side rotating body (12; 112; 205) and a relative rotation angle control unit that sets the relative rotation angle in a control region between the most advanced angle and the most delayed angle, wherein the relative rotation angle control unit performs most delayed angle setting control of setting the relative rotation angle between the driving side rotating body (11; 111; 203) and the driven side rotating body (12; 112; 205) to the most delayed angle when performing the automatic stop, characterized by further comprising an intermediate lock mechanism (L; L2; 209) that is adapted to restrict the relative rotation angle to a lock angle between the most advanced angle and the most delayed angle, wherein the relative rotation angle control unit performs most delayed angle restriction control of maintaining the relative rotation angle in the most delayed angle from the beginning of the automatic start until reaching a set timing when the automatic start-up begins, and releasing the maintenance of the most delayed angle after the setting timing. a driving side rotating body (11; 111; 203) that is rotated synchronously with a crank shaft (1; 101) of the internal combustion engine; a driven side rotating body (12; 112; 205) that can be rotated integrally with a cam shaft (3; 103; 208) of the internal combustion engine and can be relatively rotated with the driving side rotating body; an advanced angle chamber (Ca; 206a) that changes a relative rotation angle between the driving side rotating body (11; 111; 203) and the driven side rotating body (12; 112; 208) in an advanced angle direction (Sa) by supply of hydraulic fluid, and a delayed angle chamber (Cb; 206b) that changes the relative rotation angle in a delayed angle direction (Sb) by supply of hydraulic fluid, the advanced angle chamber (Ca; 206a) and the delayed angle chamber (Cb; 206b) being formed between the driving side rotating body (11; 111; 203) and the driven side rotating body (12; 112; 205) and a relative rotation angle control unit that sets the relative rotation angle in a control region between the most advanced angle and the most delayed angle, wherein the relative rotation angle control unit performs most delayed angle setting control of setting the relative rotation angle between the driving side rotating body (11; 111; 203) and the driven side rotating body (12; 112; 205) to the most delayed angle when performing the automatic stop, characterized by further comprising an intermediate lock mechanism (L; L2; 209) that is adapted to restrict the relative rotation angle to a lock angle between the most advanced angle and the most delayed angle, wherein the relative rotation angle control unit performs most delayed angle restriction control of maintaining the relative rotation angle in the most delayed angle from the beginning of the automatic start until reaching a set timing when the automatic start-up begins, and releasing the maintenance of the most delayed angle after the setting timing.