A line head includes an element substrate having light-emitting elements arrayed thereon and a sealing substrate that seals the light-emitting elements on the element substrate. A recess is formed on a portion of the substrate where light emitted from the light-emitting elements exits, and the recess is formed to include an entire region immediately above at least the light-emitting elements.