To easily know the timing to clean a unit for ejecting recording liquid for forming an image.
An image forming apparatus includes a main control unit 89 configured to: retain, in a memory 89, history information of the length of time of previous use and a plurality of threshold values having different time lengths; acquire the history information of the previous use from the memory 89; calculate an elapsed time to the present time based on the history information and the current time; and when the elapsed time is determined to exceed any of the threshold values read out from the memory 89, output to an operation display part 8 a notification that recommends cleaning a recording head at a level of strength according to the length of time of the threshold value determined to be exceeded.
Kei Osawa