A liquid ejecting apparatus includes a liquid ejecting portion configured to eject a liquid, a liquid supply flow path of which a downstream end portion is attachably / detachably connected to the liquid ejecting portion and through which the liquid is supplied from a liquid accommodating portion that accommodates the liquid to the liquid ejecting portion, an opening / closing valve capable of opening and closing the liquid supply flow path, an atmosphere communication path connected to the liquid supply flow path on a downstream side of the opening / closing valve, an atmosphere release valve capable of opening and closing the atmosphere communication path, a suction mechanism capable of sucking the liquid in the liquid ejecting portion, and a control device configured to control operations of the opening / closing valve, the atmosphere release valve, and the suction mechanism.