code machine plumbing washing washing machine drain plumbing code The pipe should be between 18 and 30 inches high from the floor while the P-trap should be between 6 and 18 inches from the floor… Saturday, August 13, 2022 Edit