A liquid detecting method of detecting liquid in a liquid container used on a liquid ejector by use of a liquid sensor. There are included a head cleaning step of performing a head cleaning operation after maintaining for a predetermined time or longer a state there is no flow of fluid into/from the cavity through the liquid supply port and liquid discharge port, and a detecting step of detecting a presence/absence of liquid by applying a drive signal to the piezoelectric device of the liquid sensor after the head cleaning process.