Abstract: A cleaning member that is used in an image forming apparatus and that is inserted from outside the image forming apparatus, the apparatus including a holding body that holds a substrate on which light emitting elements that expose a photosensitive drum are aligned and that holds lenses, the cleaning member including a rod-shaped rhabdoid formed of resin, a cleaning portion provided in the rhabdoid to clean a light emission surface of each lens, the cleaning portion moving together with the rhabdoid inserted in the image forming apparatus and opposing the light emission surface in an optical axis direction of the lens, and a magnet provided on the rhabdoid, the magnet emitting magnetic force that generates force drawing the holding body thereto so that the cleaning portion continues to contact the light emission surface.