An image forming apparatus includes an image carrier; an exposing unit
that exposes the image carrier to light to form an electrostatic latent
image on the image carrier; a developing unit that has at least a toner,
and develops the electrostatic latent image formed on the image carrier
as a toner image; a transfer unit that transfers the toner image onto a
recording medium; a fixing unit that fixes the toner image transferred on
the recording medium; an exposure-energy modulating unit that modulates
exposure energy of the exposing unit; and a development-time detecting
unit that detects operation time of the developing unit. The
exposure-energy modulating unit modulates the exposure energy based on a
result of detection by the development-time detecting unit.