An imaging device comprising: a board section on which an imaging element is loaded; the board section comprising multiple through-holes, a first housing section for fixing the board section from a surface on which the imaging element is loaded; a second housing section for fixing the board section from a surface opposite to the surface on which the imaging element is loaded, the second housing section comprising multiple through-holes; and a lens section attached to the first housing section side, wherein the first housing section and the second housing section configure an outside wall of the imaging device, characterized in that the first housing section is configured from a board fixing member for fixing the board section, and a lens attachment member for attaching the lens section, the lens attachment member being fixed to the board fixing member in a positionally adjustable manner, the board fixing member comprising multiple first screw holes and multiple second screw holes, and the lens attachment member comprising multiple through-holes, wherein the board fixing member of the first housing section and the second housing section are fixed by screws so as to sandwich the board section, wherein each through-hole (18a, 14c) of the board section and the second housing section is lined up with the respective first screw hole of the board fixing member, and the through-holes of the lens attachment member are aligned with the second screw holes of the board fixing member, wherein screws are inserted into through-holes of the lens attachment member from the upper surface side of the lens attachment member and are each inserted into a respective second screw hole of the board fixing member, and a rotational deviation of lens section is adjusted with respect to the imaging element and the optical axis of the lens section by positional adjustment around the Z axis and positional adjustment in the XY horizontal plane of the lens attachment member with respect to the board fixing member. a board section on which an imaging element is loaded; the board section comprising multiple through-holes, a first housing section for fixing the board section from a surface on which the imaging element is loaded; a second housing section for fixing the board section from a surface opposite to the surface on which the imaging element is loaded, the second housing section comprising multiple through-holes; and a lens section attached to the first housing section side, wherein the first housing section and the second housing section configure an outside wall of the imaging device, characterized in that the first housing section is configured from a board fixing member for fixing the board section, and a lens attachment member for attaching the lens section, the lens attachment member being fixed to the board fixing member in a positionally adjustable manner, the board fixing member comprising multiple first screw holes and multiple second screw holes, and the lens attachment member comprising multiple through-holes, wherein the board fixing member of the first housing section and the second housing section are fixed by screws so as to sandwich the board section, wherein each through-hole (18a, 14c) of the board section and the second housing section is lined up with the respective first screw hole of the board fixing member, and the through-holes of the lens attachment member are aligned with the second screw holes of the board fixing member, wherein screws are inserted into through-holes of the lens attachment member from the upper surface side of the lens attachment member and are each inserted into a respective second screw hole of the board fixing member, and a rotational deviation of lens section is adjusted with respect to the imaging element and the optical axis of the lens section by positional adjustment around the Z axis and positional adjustment in the XY horizontal plane of the lens attachment member with respect to the board fixing member.