The Universal Plumbing Code specifies a standard drain size of 2 inches for washing machines, with a minimum requirement of 1 1/2 inches.