An image forming apparatus includes: an exposure head that includes a light emitting device for emitting light having a first wavelength and a second wavelength and an optical system having a first lens surface through which the light emitted from the light emitting device enters and a second lens surface from which the light entered through the first lens surface is emitted, forms an image of the light having the first wavelength at a first image forming position, and forms an image of the light having the second wavelength at a second image forming position different from the first image forming position in an optical axis direction of the optical system; a latent image carrier onto which the light emitted from the second lens surface of the exposure head is irradiated and a latent image is formed; and a support member that supports the exposure head.
The support member supports the exposure head so that the exposure head and the latent image carrier have the following relationship:
d1<di<d2
here, d1, di, and d2 are defined as follows:
d1: a distance between the second lens surface and the first image forming position in the optical axis direction,
d2: a distance between the second lens surface and the second image forming position in the optical axis direction, and
di: a distance between the second lens surface and the image carrier in the optical axis direction.