An image forming apparatus that previously rotates a polygonal mirror drive motor before starting a job and forms a latent image by using an optical scanning unit including the polygonal mirror drive motor is provided. The image forming apparatus includes a control unit configured to perform control such that, in the determination of the presence or absence of each of color toners before a previous rotation is started, if it is determined that any one of the color toners is absent, only the polygonal mirror drive motor corresponding to a black toner is previously rotated.