The annual allowance is the amount of pensions savings you can make in 1 year without paying tax. It’s currently £40k. You have to pay tax on pensions savings over £40k.
With the NHS pensions, the pensions saving figure that counts towards the annual allowance is based on the increase of the member’s pension benefits over the year rather than just the money put in that year - so subtracting the value at the start of the year from the value at the end of the year, multiplied by a factor of 16, and inflation’s factored in too (although I think there’s been some talk of removing the inflation factor). Also, NHS staff can’t choose how much of their salary to put into their pension. That’s set by the NHS pension scheme - I think it’s currently 13.5% for consultants?
Put it all together, and it means that if a doctor’s had a big pay rise, and inflation’s high, then the difference between the start and end of the year can be massive. Much more massive than the amount of pension contributions a doctor’s actually made.
I know one doctor who started her first consultant job just after returning from maternity leave. She ended up with a pensions tax bill for that first year back after maternity leave of around £20k - that means that her pension growth would have been calculated at around £80k, the first £40k was the tax-free annual allowance, and she’d have been taxed on the second £40k of that growth.
For context here, the current consultant pay bands have a starting salary of around £88k. And the pension contributions a consultant earning £88k would make are around £11.88k a year.