An inkjet printer includes a recording head, a conveyance mechanism, a shutter, a storage portion, and a moving mechanism. The recording head includes an ejection surface in which an ejection port for ejecting ink is defined. The conveyance mechanism conveys a printing medium while the printing medium is facing the ejection surface. The shutter covers the ejection surface. The storage portion stores the shutter. The moving mechanism moves the shutter from the storage portion to a facing position while the shutter is separate from the ejection surface. The shutter faces and covers the ejection surface at the facing position.