It is now the law that you must show an accepted type of photographic ID to vote at UK Parliamentary Elections, as per the Elections Act 2022. This was introduced to eliminate the risk of someone casting another's vote at the polling stations.
Acceptable forms of ID include:
Passport issued by the UK, any of the Channel Islands, the Isle of Man, a British Overseas Territory, an EEA state or a Commonwealth country (including an Irish Passport Card) .
A Blue Badge.
Scottish National Entitlement Card issued for the purpose of concessionary travel (including a 60+, disabled or under 22s bus pass).
Older Person’s Bus Pass funded by the UK Government.
Disabled Person’s Bus Pass funded by the UK Government.
an identity card bearing the Proof of Age Standards Scheme hologram (a PASS card) for example, a Young Scot card.
Biometric immigration document.
Ministry of Defence Form 90 (Defence Identity Card).
National identity card issued by an EEA state.
Voter Authority Certificate.
Anonymous Elector’s Document.
You can still use your photo ID if it's out of date, as long as it looks like you.
The name on your ID should be the same name you used to register to vote.