From Old Frisian sex, from Proto-West Germanic *sehs. Cognates include West Frisian seis and German sechs.
säks