An image forming apparatus comprising: an image forming unit that has an exposure device for forming an electrostatic latent image by exposing a surface of a photoreceptor and a developing device for forming a toner image by developing the electrostatic latent image formed by the exposure device and is configured to form an image by transferring the toner image developed by the developing device to a recording medium; an image forming control unit configured to control the image forming unit to perform a process for forming a first test print image and a second test print image on the recording medium; characterized in that, the image forming apparatus further comprises an image reading unit that is able to read a density of the first test print image and the second test print image; and a density correction unit configured to perform density correction by correcting an exposure amount of the exposure device at each position in a main scanning direction on the basis of a result obtained by reading the first test print image and the second test print image in the image reading unit, wherein the image forming control unit is configured to acquire a density of the first test print image at each position in the main scanning direction, which is read by the image reading unit after the first test print image is formed by the image forming unit, to correct a setting value of an exposure amount of the exposure device to a first light amount, which is higher than a reference light amount that is an exposure amount when the first test print image is formed, in an area where the acquired density is lower than a target density, to correct the exposure amount of the exposure device to a second light amount, which is lower than the reference light amount, in an area where the acquired density is higher than the target density, and to form the second test print image, and the density correction unit is configured to calculate densities of the first test print image and the second test print image at each position in the main scanning direction, and to perform density correction using linear interpolation on the basis of a difference between the calculated densities and a difference between the exposure amount when the first test print image is formed and an exposure amount when the second test print image is formed. an image forming unit that has an exposure device for forming an electrostatic latent image by exposing a surface of a photoreceptor and a developing device for forming a toner image by developing the electrostatic latent image formed by the exposure device and is configured to form an image by transferring the toner image developed by the developing device to a recording medium; an image forming control unit configured to control the image forming unit to perform a process for forming a first test print image and a second test print image on the recording medium; characterized in that, the image forming apparatus further comprises an image reading unit that is able to read a density of the first test print image and the second test print image; and a density correction unit configured to perform density correction by correcting an exposure amount of the exposure device at each position in a main scanning direction on the basis of a result obtained by reading the first test print image and the second test print image in the image reading unit, wherein the image forming control unit is configured to acquire a density of the first test print image at each position in the main scanning direction, which is read by the image reading unit after the first test print image is formed by the image forming unit, to correct a setting value of an exposure amount of the exposure device to a first light amount, which is higher than a reference light amount that is an exposure amount when the first test print image is formed, in an area where the acquired density is lower than a target density, to correct the exposure amount of the exposure device to a second light amount, which is lower than the reference light amount, in an area where the acquired density is higher than the target density, and to form the second test print image, and the density correction unit is configured to calculate densities of the first test print image and the second test print image at each position in the main scanning direction, and to perform density correction using linear interpolation on the basis of a difference between the calculated densities and a difference between the exposure amount when the first test print image is formed and an exposure amount when the second test print image is formed.