Is harassment in relation to sex expressly prohibited under the Equality Act 2010?

Yes, s.26 of the Equality Act 2010 prohibits the following three types of harassment in relation to the protected characteristic of sex. First, sex-related harassment, which occurs where person A engages in unwanted conduct related to the protected characteristic of sex, which has the purpose or effect of violating person B's dignity or creating an intimidating, hostile, degrading or humiliating environment for B. Second, harassment of a sexual nature, which is where A engages in unwanted conduct of a sexual nature, which has the purpose or effect of violating B's dignity or creating an intimidating, hostile, degrading or humiliating environment. Third, less favourable treatment based on a person's rejection of, or submission to, sex-related harassment or harassment of a sexual nature, which is where A treats B less favourably than A treats or would treat others because of B's submission to, or rejection of, sex-related harassment or harassment of a sexual nature.