What is the format of an LEI code?
Reviewed November 13, 2026 · 1 min read · How we check sources
An LEI has 20 letters and digits, set by ISO 17442. Characters 1 to 4 identify the issuing LOU, characters 5 to 18 identify the entity, and the last two are check digits. The code encodes no country, legal form or registry number.
GLEIF assigns each accredited Local Operating Unit (LOU) its four-character prefix, so the first block shows which issuer created the code. The prefix stays the same for life. A code that starts with one LOU's prefix can be managed by a different LOU after a transfer to another provider.
Characters 5 to 18 are assigned by the issuer and carry no meaning. Many codes issued under the 2012 version of the standard have '00' in positions 5 and 6, which that version reserved. GLEIF's summary of the ISO 17442 standard sets out the principles behind that design, among them a single global standard and one unique code for each entity.
The check digits follow ISO 7064 MOD 97-10, the same scheme IBANs use. Any system can recompute them offline to catch a mistyped or transposed character, which is the first thing an LEI format check does. A passing check proves only that the string is well formed. Whether the code exists, and whether its record is current, needs the record itself, and the guide to reading LEI records shows which fields answer that.