The invention discloses a method for controlling laser welding. The method comprises the following steps that 1, the weld seam width w of a workpiece to be welded is measured; 2, the locus of laser welding is controlled as x0=x1+delta*cos beta, y0=y1+delta*sin beta, x=x0+R*cos alpha, y=y0+R*sin alpha, wherein w=2R+phi, x0 and y0 serve as coordinates of a point on a straight line, x1 and y1 serve as starting point coordinates of the straight line, delta serves as a point distance of the straight line, beta serves as an inclination angle of the straight line, R serves as a shaking radius, alpha serves as a polar angle, x and y serve as coordinates of a point on a circle (that is a helical line locus), phi serves as a welding point diameter, and delta is smaller than phi. According to the method for controlling laser welding, the locus of a welding helical line is adjusted by adjusting the shaking radius and the point distance for changes of the weld seam width, therefore, a molten pool can flow more fully, the problems of weld seam depression, undercut, point burst and needle holes which are brought by traditional laser welding can be effectively solved, the welding performance is improved, and the quality rate of products is improved.