The invention relates to an automatic spray valve which comprises a valve body, a valve cover, a magnetic ring sleeve, a magnetic ring component, a movable rod, a bias spring, a valve cover, a memory alloy, a piston cylinder, a magnetic core component and a piston, wherein the upper part of the movable rod passes through a central hole of the valve cover and protrudes out of the valve cover; the memory alloy is sleeved at the upper part of the movable rod protruding out of the valve cover, the upper end of the memory alloy contacts a spring cap, the lower end of the memory alloy contacts the valve cover, the inner diameter of a spring coil formed by winding the memory alloy is smaller than the outer diameter of the lower part of the movable rod; the spring cap contacts the top end of an adjusting rod, the outer diameter of the upper part of the adjusting rod is smaller than the outer diameter of the lower part of the adjusting rod, and the adjusting rod is connected with the upper part of the movable rod. The double-opened automatic spray valve provided by the invention has the advantages that the spring diameter of the memory alloy is reduced in design, so that the pushing force generated by the memory alloy is several times larger than that of the previous structure and thus the reliability of the opening of the valve is greatly improved; and the valve can be opened or closed through manual fine adjustment when the valve is maintained or tested; since a polygonal limit structure is arranged on the central hole of the top of the valve cover, the installation and change of the valve are convenient.