Abstract: An image forming apparatus is provided which suppresses a change in posture of a carriage at the time of forming an image without using a biasing force of a spring. The image forming apparatus includes an image forming portion that forms an image on a recording medium by traveling of the carriage with a recording head mounted thereon along a guide portion in a main scanning direction while moving the recording medium in a sub-scanning direction, a posture change detector that detects a change in posture of the carriage, an actuator that corrects a tilt of the carriage with respect to the guide portion, and a control device that suppresses the change in posture of the carriage by driving the actuator according to the change in posture of the carriage detected by the posture change detector.