An electric joystick mechanism for an ophthalmic apparatus which is capable of improving manipulation performance of a joystick and is simple in structure comprises a base, a joystick having a shaft, a driving unit having a motor for moving an ophthalmic examination unit horizontally, and a control unit for controlling the driving unit in response to tilting manipulation of the joystick by an examiner, wherein the control unit performs first control of finely moving the examination unit by controlling the driving unit based on a manipulation signal of the joystick, and second control of roughly moving the examination unit by controlling the driving unit when tilting condition of the joystick becomes a predetermined tilting condition, and in the second control, velocity of driving of the driving unit is controlled based on velocity of the tilting manipulation of the joystick in the first control.