The present invention relates to a solenoid valve. The end of valve, which points away from the magnet core towards the magnet armature, bears against an area of a valve tappet remote from the valve seat. The valve tappet is positioned so that it can be displaced in a bore of the magnet armature in order to adjust the preloading force of the spring.