An optical device comprising: a base that includes a main surface (21a, 21b); a movable unit; an optical function unit that is disposed on the movable unit, the optical function unit being a mirror surface or a lens; and at least two elastic support units (26, 27) that are connected between the base and the movable unit, and support the movable unit so that the movable unit is capable of moving along a first direction perpendicular to the main surface (21a, 21b), wherein the elastic support unit (26, 27) includes, a pair of levers (261, 271) which face each other in a second direction perpendicular to the first direction, a pair of first torsion support portions (266, 276) which extend in the second direction and are respectively connected between the pair of levers (261, 271) and the base, a pair of second torsion support portions (267, 277) which extend in the second direction and are respectively connected between the pair of levers (261, 271) and the movable unit, a first link member (262, 272) that bridges the pair of levers (261, 271), and a second link member (263, 273) that bridges the pair of levers (261, 271), a light passage opening (24, 25) is defined by the pair of levers (261, 271), the first link member (262, 272), and the second link member (263, 273), the pair of second torsion support portions (267, 277) is disposed outside of the light passage opening (24, 25), each of connection positions between the pair of levers (261, 271) and the pair of first torsion support portions (266, 276) is located on a side opposite to the movable unit with respect to the center of the light passage opening (24, 25) in a third direction perpendicular to the first direction and the second direction, and a maximum width of the light passage opening (24, 25) in the second direction is defined by a gap between the pair of levers (261, 271) in the second direction. a base that includes a main surface (21a, 21b); a movable unit; an optical function unit that is disposed on the movable unit, the optical function unit being a mirror surface or a lens; and at least two elastic support units (26, 27) that are connected between the base and the movable unit, and support the movable unit so that the movable unit is capable of moving along a first direction perpendicular to the main surface (21a, 21b), wherein the elastic support unit (26, 27) includes, a pair of levers (261, 271) which face each other in a second direction perpendicular to the first direction, a pair of first torsion support portions (266, 276) which extend in the second direction and are respectively connected between the pair of levers (261, 271) and the base, a pair of second torsion support portions (267, 277) which extend in the second direction and are respectively connected between the pair of levers (261, 271) and the movable unit, a first link member (262, 272) that bridges the pair of levers (261, 271), and a second link member (263, 273) that bridges the pair of levers (261, 271), a light passage opening (24, 25) is defined by the pair of levers (261, 271), the first link member (262, 272), and the second link member (263, 273), the pair of second torsion support portions (267, 277) is disposed outside of the light passage opening (24, 25), each of connection positions between the pair of levers (261, 271) and the pair of first torsion support portions (266, 276) is located on a side opposite to the movable unit with respect to the center of the light passage opening (24, 25) in a third direction perpendicular to the first direction and the second direction, and a maximum width of the light passage opening (24, 25) in the second direction is defined by a gap between the pair of levers (261, 271) in the second direction.