An image forming apparatus comprising: an image bearing member for bearing a toner image; a transfer member , to which a voltage is applied, for transferring the toner image borne on said image bearing member onto a recording material (P) at a transfer portion; a voltage source for applying the voltage to said transfer member; a current detecting portion for detecting a current flowing through said transfer member; and a controller for carrying out constant-voltage control so that the voltage applied to said transfer member is a predetermined voltage while the recording material (P) passes through said transfer portion, wherein said controller is capable of executing limiter control for controlling the voltage applied to said transfer member based on a detection result of said current detecting portion so that the detection result falls within a predetermined range, wherein said controller is capable of executing a first mode in which the toner image is formed onto the recording material based on image information and a second mode in which a plurality of test toner images are formed onto the recording material by applying a plurality of different voltages to said transfer member in order to set a voltage to be applied to said transfer portion in the first mode, and wherein said controller carries out the limiter control while the recording material passes through said transfer portion in executing the first mode and does not carry out the limiter control while an area onto which the plurality of test images are transferred passes through said transfer portion in executing the second mode. an image bearing member for bearing a toner image; a transfer member , to which a voltage is applied, for transferring the toner image borne on said image bearing member onto a recording material (P) at a transfer portion; a voltage source for applying the voltage to said transfer member; a current detecting portion for detecting a current flowing through said transfer member; and a controller for carrying out constant-voltage control so that the voltage applied to said transfer member is a predetermined voltage while the recording material (P) passes through said transfer portion, wherein said controller is capable of executing limiter control for controlling the voltage applied to said transfer member based on a detection result of said current detecting portion so that the detection result falls within a predetermined range, wherein said controller is capable of executing a first mode in which the toner image is formed onto the recording material based on image information and a second mode in which a plurality of test toner images are formed onto the recording material by applying a plurality of different voltages to said transfer member in order to set a voltage to be applied to said transfer portion in the first mode, and wherein said controller carries out the limiter control while the recording material passes through said transfer portion in executing the first mode and does not carry out the limiter control while an area onto which the plurality of test images are transferred passes through said transfer portion in executing the second mode. <EOS>