Sex as a bona fide occupational qualification
Primary source
Verbatim text below is from the Electronic Code of Federal Regulations (eCFR), a public-domain U.S. government work. Always verify the current version with the eCFR before relying on it for any legal matter.
Full Text
A recipient may take action otherwise prohibited by §§ 17.500 through 17.550 provided it is shown that sex is a bona fide occupational qualification for that action, such that consideration of sex with regard to such action is essential to successful operation of the employment function concerned. A recipient shall not take action pursuant to this section that is based upon alleged comparative employment characteristics or stereotyped characterizations of one or the other sex, or upon preference based on sex of the recipient, employees, students, or other persons, but nothing contained in this section shall prevent a recipient from considering an employee's sex in relation to employment in a locker room or toilet facility used only by members of one sex.
This is legal information, not legal advice. Laws vary by jurisdiction and change frequently. Always verify current law with official sources and consult a licensed attorney in your jurisdiction for advice on your specific situation.