It's protected alongside the statuses of disability, gender reassignment, marriage and civil partnership, race, religion or belief, sex, and sexual orientation, to more-or-less the same extent in theory.
There are, however, glaring exceptions when it comes to housing (due to how this protection intersects with property rights), as housing agency industry groups, housing charities, and various other charities explain across the Internet.
Funnily enough, statistically men crash more than women too - but it's illegal to charge men more, because that would be gender discrimination. It's also illegal to charge someone more for insurance because they are black, christian, or a vegetarian - regardless of how many accidents members of those groups get into. And yet if you are 24, have been driving more than 6 years without an accident, you will still pay more than someone who is 25 and has passed their exam last week. If that is not discrimination then I have absolutely no idea what is.
We'll see what the EU do eventually - but I'm going to bet the UK either ignore it or find a loophole.
In the EU this became illegal recently. It also applied to women, who live longer than men, so were being charged higher life assurance. It just shows how anti-sexism laws can, and do, benefit men.