c. 1400, "conduit," from Anglo-French sewere, Old North French sewiere "sluice from a pond" (13c.), literally "something that makes water flow," from shortened form of Gallo-Roman *exaquaria (source of Middle French esseveur), from Latin ex "out" (see ex-) + aquaria, fem. of aquarius "pertaining to water," from aqua "water" (from PIE root *akwa- "water").
Specifically of underground channels for wastewater from c. 1600; figurative use of this is from 1640s.