EORI number in the UK: GB and XI
The GB and XI numbers HMRC uses to identify you at the UK border - and when you need each




An EORI number - Economic Operators Registration and Identification number - is a unique identification number that His Majesty's Revenue and Customs (HMRC) assigns to a business or other person to identify them for customs purposes in the United Kingdom. Anyone importing or exporting goods, or carrying out other customs activities in the UK - such as applying for a customs decision - needs one to be identified by customs.
A UK EORI number is made up of letters and digits. The letters show which regime it is for:
The digits are a unique identifier used in the UK - often built from the business's VAT number. Because Northern Ireland stays aligned with EU rules for goods under the Northern Ireland Protocol (as adjusted by the Windsor Framework), a business moving goods to or from Northern Ireland may need both a GB number and an XI number.
| What you're doing | GB number | XI number |
|---|---|---|
| Move goods between Great Britain and the EU or rest of world | Yes | - |
| Move goods between Great Britain and Northern Ireland | Yes | Often also needed |
| Move goods between Northern Ireland and countries outside the EU | - | Yes |
| Make a customs declaration or get a customs decision in Northern Ireland | Yes (first) | Yes |
You may need an EORI number if you move goods:
You also need one to apply for an export licence. You do not need one if the goods are both not controlled and for personal use only. A business based in the Channel Islands that moves goods to or from the UK does not need a UK EORI number.
To get a number, a business usually has to be 'established' in the country it is importing to or exporting from - meaning a registered office, a central headquarters, or a permanent business establishment there. A business that is not established can still need an EORI number for certain activities: making a transit or temporary-admission declaration, applying for a customs decision, making an entry or exit summary declaration or a temporary-storage declaration, getting a customs guarantee for temporary admission or re-export, acting as a carrier by sea, inland waterway or air, or being established in a common transit country. If you are not eligible to apply yourself, you appoint someone to deal with customs on your behalf, and they get the number instead.
You need your EORI number to appoint someone to deal with customs for you, to make customs declarations, to use customs systems such as the Customs Declaration Service (CDS) and the Import Control System 2 (ICS2), and to apply for a customs decision.
A GB number is applied for online through HMRC, free of charge, and it usually takes up to 5 working days. You must hold a GB number before you can get an XI number for Northern Ireland movements. If you are not eligible to apply yourself, the person you appoint to deal with customs gets the number for you.
---------------------------------
Learn more: see the EU-side companion entry EORI number (the Union rules, format and validation). Full official guidance: gov.uk/eori.

From 9 July 2027 EU authorities must accept electronic freight transport information (eFTI). What changes for customs, the CMR note and carriers.
What the digital product passport is, which products must have one and from when, how the EU registry works, and what customs will check in the declaration.

On 24 March 2023, the EU and the United Kingdom (UK) agreed to settle their dispute over the Northern Ireland Protocol, in particular by responding to some of the UK's…

When you realise that the biggest threat to your business is neither the competition nor international event risk, but a seemingly minor compliance failure, you will have read this case…

Being aware of the many things that could go wrong with customs in 2022 will make you think about how to minimise risks.

It has almost been a year since the end of the Brexit transition period, meaning most businesses will have started settling comfortably into their new routine. However, it is important…