Automatic sprinkler drains help empty water from your irrigation lines after the system shuts off. During operation, when water is flowing, water pressure keeps the drain valve closed. However, when the system shuts off and water pressure drops to zero, the valve opens, and any remaining water drains out of the line through the valve.