A liquid ejection apparatus, comprising: a liquid ejection head which ejects a liquid; a conveyor which conveys one or more recording media along a conveyance path; a recording controller which causes the conveyor to convey the recording media, and executes control for ejecting the liquid from the liquid ejection head so that an image is formed on the recording media based on image data; and a flashing controller which executes flashing control for causing the conveyor to temporarily stop conveyance of the recording media, and for causing liquid ejection from the liquid ejection head, based on drive data which is not related to image formation; wherein the flashing controller determines timing for executing a subsequent flashing control so that, within a print enforceable period between one flashing control and the subsequent flashing control, the number of pages subjected to image formation based on image data increases with a decrease in a time interval between image formation on one page and that on another page, characterized in that the flashing controller includes: a value storage which stores value data for determining timing for executing the flashing control; an initializer which initializes the value data; and a calculator which adds or multiplies a value to or by the value data stored in the value storage every time image formation on one page is completed, wherein the value to be added or multiplied by the value data is decreased with a decrease in a time interval between image formation on a previous page and that on the current page, and when a value indicated by the value data stored in the value storage exceeds a threshold, the flashing controller executes the flashing control and the initializer initializes the value data. a liquid ejection head which ejects a liquid; a conveyor which conveys one or more recording media along a conveyance path; a recording controller which causes the conveyor to convey the recording media, and executes control for ejecting the liquid from the liquid ejection head so that an image is formed on the recording media based on image data; and a flashing controller which executes flashing control for causing the conveyor to temporarily stop conveyance of the recording media, and for causing liquid ejection from the liquid ejection head, based on drive data which is not related to image formation; wherein the flashing controller determines timing for executing a subsequent flashing control so that, within a print enforceable period between one flashing control and the subsequent flashing control, the number of pages subjected to image formation based on image data increases with a decrease in a time interval between image formation on one page and that on another page, characterized in that the flashing controller includes: a value storage which stores value data for determining timing for executing the flashing control; an initializer which initializes the value data; and a calculator which adds or multiplies a value to or by the value data stored in the value storage every time image formation on one page is completed, wherein the value to be added or multiplied by the value data is decreased with a decrease in a time interval between image formation on a previous page and that on the current page, and when a value indicated by the value data stored in the value storage exceeds a threshold, the flashing controller executes the flashing control and the initializer initializes the value data. a value storage which stores value data for determining timing for executing the flashing control; an initializer which initializes the value data; and a calculator which adds or multiplies a value to or by the value data stored in the value storage every time image formation on one page is completed, wherein the value to be added or multiplied by the value data is decreased with a decrease in a time interval between image formation on a previous page and that on the current page, and when a value indicated by the value data stored in the value storage exceeds a threshold, the flashing controller executes the flashing control and the initializer initializes the value data.