Provided are an ophthalmic laser surgery device with which at least one of problems of conventional art is solved, and a control program used therefor. The ophthalmic laser surgery device according to the present disclosure is an ophthalmic laser surgery device for treating an eye of a subject by irradiating the eye with surgical laser light, and is provided with: a frontal image capture unit which includes a light receiving element and which captures a frontal image of the anterior eye part of the eye at different magnification ratios in accordance with the distance between a device body and the eye a focus adjustment unit that adjusts the focus state of reflected light from the anterior eye part of the eye in the light receiving element, by moving an optical member and/or the light receiving element disposed on the optical path of the frontal image capture unit along the optical axis of the optical path and a control unit. The ophthalmic laser surgery device is characterized in that the control unit adjusts the focus state by driving the focus adjustment unit by processing light including the reflected light reflected by the eye in each of the case where the position of the eye with respect to the device body is in a first region and the case where the position is in a second region closer to the device body than the first region.Linvention concerne un dispositif de chirurgie laser ophtalmique avec lequel au moins un des problèmes de létat de la technique est résolu et un programme de commande utilisé conjointement. Le dispositif de chirurgie laser ophtalmique selon la présente invention est un dispositif de chirurgie laser ophtalmique pour traiter un œil dun sujet par exposition de lœil à une lumière laser chirurgicale et est doté de : une unité de capture dimage frontale qui comprend un élément de réception de lumière et qui capture une image frontale de la partie antérieure de lœil à différents rapports de grossissement en fonction de la distance entre un corps