How do you get a UTR, and what is it for?
HMRC issues one automatically when you register for Self Assessment, or when a limited company is formed at Companies House. It arrives by post within a couple of weeks, and it is yours for life — a sole trader who stops trading and starts again years later uses the same number.
An individual and a company each have their own. A director who is also self-employed therefore has two: a personal UTR for their own Self Assessment, and the company's UTR for Corporation Tax. They are not interchangeable, and putting the wrong one on a form is a common cause of returns going astray.
It is not the same as a National Insurance number, which identifies you for contributions and benefits, or a VAT number, which identifies a VAT registration. HMRC will ask for the UTR on every Self Assessment or Corporation Tax letter, and an accountant needs it to be authorised to act for you.