Skip to content
barcoder

Standards/mobile-driving-licence

Mobile Driving Licence

TypeQR Engagement
Completeness72%high

Overview

A mobile driving licence (mDL) is a driving licence held on a phone and presented to a reader as signed data, defined by ISO/IEC 18013-5:2021 1. The standard specifies the interface between the mDL and the mDL reader, and between the reader and the issuing authority's infrastructure. It lets a verifier other than the issuer, such as another licensing authority or a verifier in another country, read the data by machine, tie it to the holder, and check its origin and integrity 1. A picture of a licence on a phone screen, which AAMVA calls a "flash pass", does not count as an mDL 7.

In person, the holder opens the licence in a wallet app and either taps the reader over NFC or shows a QR Code that the reader scans 1315. The QR code holds no personal data. It is the text mdoc: followed by a base64url-encoded CBOR DeviceEngagement structure, which carries a fresh session key and the details the reader needs to connect over Bluetooth Low Energy 619. The holder approves what is shared on the phone, and the licence data then travel over the encrypted connection 1315. The same data format, the mdoc, is used for other mobile documents. The EU requires its mobile driving licences to be issued in this format for use with the EUDI Wallet 12.

History

Date Milestone
28 Mar 2018 ISO/IEC JTC 1/SC 17 approves the 18013-5 project 1
6 Mar 2019 AAMVA releases version 0.1 of its mDL implementation guidelines 7
30 Sep 2021 ISO/IEC 18013-5:2021 published (edition 1, 152 pages) 1
10 Nov 2021 AAMVA guidelines 1.0, updated to the published ISO text 7
23 Mar 2022 Arizona becomes the first state to offer a driver's licence in Apple Wallet, accepted at TSA checkpoints at Phoenix Sky Harbor 14
3 Feb 2023 ISO/IEC 23220-1:2023 published, a generic architecture for mobile eID systems ("mdoc apps") 5
5 Oct 2023 Samsung announces mDLs in Samsung Wallet with IDEMIA, Arizona and Iowa first 16
7 Oct 2024 ISO/IEC TS 18013-7:2024 published, adding presentation over the internet 4
25 Nov 2024 US REAL ID mDL waiver rule takes effect 10
29 May 2025 ISO/IEC TS 18013-7:2025 (edition 2) replaces the 2024 edition 3
5 Nov 2025 Directive (EU) 2025/2205 on driving licences published in the Official Journal 11
1 Jan–27 Mar 2026 ISO ballot on the draft second edition of 18013-5 (DIS) 2
18 May 2026 AAMVA guidelines 1.6 78
10 Jul 2026 IANA registers the mdoc URI scheme (provisional) 6
13 Oct 2026 Commission Implementing Regulation (EU) 2026/2266 on mobile driving licences 12

The standard was developed in ISO/IEC JTC 1/SC 17 1. Its working group WG 10 is the change controller of the mdoc URI scheme 6. AAMVA's guidelines record input from the AAMVA mDL working group, a report funded by the US Department of Homeland Security, NIST, the Canadian Centre for Cyber Security and the ACLU, among others 7. Version 1.5 (17 April 2025) changed server retrieval from optional to prohibited for AAMVA members 7. The cover of version 1.6 is dated July 2026, while AAMVA's revision table dates it 18 May 2026 and its announcement 30 June 2026 78.

Technical specification

The standards family.

Document Scope
ISO/IEC 18013-5:2021 Proximity (in-person) mDL: data model, device engagement, transfer, security 1
ISO/IEC DIS 18013-5 Second edition (176 pages), past its enquiry vote; will replace the 2021 edition 2
ISO/IEC TS 18013-7:2025 "Presentation of a mobile driving licence to a reader over the internet" 3
ISO/IEC 23220-1:2023 Generic architectures and life-cycle phases for mobile eID systems; interfaces for mdoc apps and verification apps 5

Holder consent and the storage of mDL data and private keys are out of scope for 18013-5 1.

Device engagement QR code. For in-person presentation using a QR code, the content is mdoc: followed by the DeviceEngagement structure of ISO/IEC 18013-5, encoded as base64url without padding (clause 8.2.2.3) 6. Readers check the mdoc: prefix, decode the rest as CBOR and validate it against the clause 8.2.2.3 CDDL 23. For online presentation, 18013-7 Annex A.4 defines a different form, mdoc:// followed by a ReaderEngagement structure 6. The IANA registration gives this example:

mdoc:owBjMS4wAYIB2BhYS6QBAiABIVggWojRgrzl9C76WZQ_MzWdLoqWj_KJ2T5fpES2JDQxZ_4iWCCxboz4WN3HaQQHumHUwzgjeoz8895qpnL8YKVXqjL8ZwKBgwIBowD0AfULUEXv73QrLEg3qaOw4dBaaRc

It decodes to 116 bytes of CBOR, a map with three keys 6. The key numbers and meanings below follow the Multipaz implementation 1824:

Key Content in the IANA example Meaning
0 "1.0" DeviceEngagement version (1.0 or 1.1)
1 [1, 24(<<COSE_Key>>)] Security: cipher suite 1 and the mdoc's ephemeral public key EDeviceKey, a tagged (#6.24) COSE_Key; here an EC2 key on curve 1 (P-256)
2 [ [2, 1, {0: false, 1: true, 11: <16-byte UUID>}] ] Device retrieval methods: type 2 = BLE, version 1; option 0 = peripheral server mode (no), 1 = central client mode (yes), 11 = the central client mode service UUID
5 — OriginInfos, required in version 1.1 for compatibility with 18013-7:2024
6 — Capabilities (version 1.1)

The connection method types are 1 = NFC, 2 = BLE and 3 = Wi-Fi Aware 24. The key is new each time: Multipaz's iOS QR presentation creates a new EC private key, builds the DeviceEngagement around its public half and the transports it is advertising, and then shows "mdoc:" + base64url(CBOR) 19.

Transfer. The QR code or an NFC tap only starts the session. Apple's ID Verifier says the NFC engagement sets up a secure BLE connection, and that a QR code can start the Bluetooth handover instead 13. Google lists the in-person phases as device engagement (NFC static or negotiated handover, or a QR scan), a BLE connection, a CBOR DeviceRequest naming the document type and data elements, user consent with biometrics or screen lock, and a DeviceResponse 15. ISO/IEC 18013-5 requires an mDL to support device retrieval, where the data stay on the phone and neither side needs connectivity. It also allows server retrieval, where the reader fetches the data from the issuer using a token 7.

Data model. The mDL document type is org.iso.18013.5.1.mDL. Its ISO data elements sit in the namespace org.iso.18013.5.1, and AAMVA's US and Canadian elements in org.iso.18013.5.1.aamva 207. Multipaz marks 11 ISO elements as mandatory: family_name, given_name, birth_date, issue_date, expiry_date, issuing_country, issuing_authority, document_number, portrait, driving_privileges and un_distinguishing_sign. Optional elements include age_over_18, age_over_21 and other age_over_NN flags, resident_address and biometric templates 20. AAMVA adds elements such as DHS_compliance, organ_donor, veteran and EDL_credential, which version 1.5 deprecated in favour of EDL_credential.v2 207. The EU regulation adds the namespace org.iso.18013.5.1.EU, with driving_privileges_eu (categories, dates and restriction codes) and administrative_information 12.

Issuer signature and selective disclosure. Each data element is issued as an IssuerSignedItem with a digestID, a random salt of at least 16 bytes, the element identifier and its value 21. The issuer signs a Mobile Security Object (MSO). The MSO lists the digest algorithm (SHA-256, SHA-384 or SHA-512), a digest for each element, the document type, the device key it is bound to and a validity period 21. The signature, issuerAuth, is a COSE_Sign1 15. Because each element has its own digest, the phone can release only the requested elements, and the reader recomputes their digests to check them 1315. Google tells readers to do four checks 15:

  1. Verify issuerAuth against trusted IACA root certificates.
  2. Check validFrom ≤ now ≤ validUntil.
  3. Match the digests of the returned elements to the MSO's valueDigests.
  4. Verify the DeviceSigned signature or MAC with the device key, to prove the data were not copied to another device.

Session encryption works at the application layer, so it does not depend on the security of NFC, Bluetooth or Wi-Fi 13. AAMVA's profile restricts the reader authentication key to P-256, P-384 or P-521 when cipher suite 1 is used 7.

Trust lists. Readers need the issuers' IACA root certificates. In North America, AAMVA's Digital Trust Service acts as VICAL provider (a list of IACA certificates), which AAMVA describes as a minimum viable product. AAMVA says it has started talks on cross-recognition with EReg in Europe and Austroads in Australia and New Zealand 7. The EU regulation asks member states to notify their issuing authorities so that the Commission can publish a trusted list 12.

Known design trade-offs. Clause 7.2.1 says "an mDL shall not require mdoc reader authentication as a precondition for the release of any of the mandatory data elements". Francisco Corella (Pomcor) argues that this rule, together with device engagement that can be eavesdropped at short range, exposes holders to unauthorised access and man-in-the-middle attacks. He also notes that the issuer sees every server-retrieval transaction 22. Apple supports optional reader authentication and shows the reader's name and icon when its certificate is trusted 13.

Use cases

  • Airport security (US). TSA accepts mDLs from participating states at more than 250 checkpoints. They must be based on a REAL ID–compliant or Enhanced licence, and travellers should still carry the physical card 9. Under the REAL ID waiver rule, federal agencies read mDLs with a reader that follows ISO/IEC 18013-5:2021, and waived states must issue mDLs that interoperate with that standard and use the AAMVA data element set 10.
  • Point of sale, venues, transit and police. Google's in-person guide covers point-of-sale terminals, event venues, transit gates, law-enforcement readers and mobile reader apps, with no internet connection needed at the time of presentation 15.
  • Age checks. Apple's ID Verifier Display Only mode, for US businesses on iOS 17 or later, shows only the name, age, photo and "Age Over N", with no extra hardware 13.
  • Online identity checks. ISO/IEC TS 18013-7 adds presentation over the internet 3. Google Wallet supports mdoc digital IDs over OpenID4VP 1.0 through the Digital Credentials API on Android 9 and later and in supported browsers, with optional zero-knowledge proofs for age 17.
  • EU driving licences. Member states must make mobile licences retrievable free of charge and issue them for use with European Digital Identity Wallets 11.

Implementations

  • Multipaz (openwallet-foundation/multipaz): Kotlin Multiplatform SDK, Apache-2.0, 301 stars, last pushed November 2026. It covers mdoc holder and reader roles, OpenID4VCI/VP and SD-JWT, and serves as Google's recommended reader SDK. Google originally developed it and contributed it to the OpenWallet Foundation 2515. The old google/identity-credential URL now redirects to it 25.
  • openwallet-foundation-labs/mdoc-ts: TypeScript implementation of ISO 18013-5, Apache-2.0, 13 stars, last pushed September 2026. It succeeds auth0-lab/mdl (91 stars), which is now marked deprecated 26.
  • spruceid/isomdl: Rust implementation of ISO/IEC 18013-5, Apache-2.0, 16 stars, last pushed October 2026 28.
  • EUDI Wallet reference libraries: eu-digital-identity-wallet/eudi-lib-android-verifier-core (Kotlin, an Android verifier SDK for ISO 18013-5, 5 stars, last pushed July 2026) and eudi-lib-ios-iso18013-data-transfer (Swift, 9 stars, last pushed November 2026) 27.
  • Wallets. Apple Wallet, Google Wallet and Samsung Wallet hold mDLs, as do state apps such as LA Wallet and NY MiD 9. Samsung said it would use ISO/IEC 18013-5 16. Apple says any ISO/IEC 18013-5 compliant reader can verify an ID in Apple Wallet. Apple Wallet uses device retrieval only, so neither Apple nor the issuer learns of a presentation. It also rotates several authentication keys, each with its own MSO, so that relying parties cannot link presentations 13.
  • Readers on phones. Apple's ID Verifier lets iPhone read ISO/IEC 18013-5 or ISO/IEC 23220 mobile IDs, and it supports MAC-based device authentication from iOS 26.4 13. Google says any reader that already handles 18013-5 retrieval and IACA validation can request org.iso.18013.5.1.mDL from Google Wallet without allowlisting. Google Wallet's ID passes (com.google.wallet.idcard.1, org.iso.23220.photoid.1) work online only 15.

Comparison

  • Versus the AAMVA DL/ID PDF417 on the plastic card. The card barcode is static and can be read by anyone holding it. An mDL releases only the elements the holder approves, proves that each element came from the issuer, and binds the data to a device key 1315. AAMVA requires mDLs to be read cryptographically and rules out "flash pass" use 7. TSA still tells travellers to carry the physical card 9.
  • Versus the EU's QR code on physical licences. Directive 2025/2205 lets member states print a QR code on the plastic licence. That QR code may only verify the information already printed on the card, not store anything more. The mobile licence is a separate format built on ISO/IEC 18013-5 1112.
  • Versus other credentials in the EUDI Wallet. The EU mobile licence is an attestation of attributes in the ISO/IEC mdoc format held in that wallet, so the two complement each other 1112.

Fun facts

  • The IANA example mdoc: string is 160 characters long, but it holds only a version number, one P-256 public key and the details of one Bluetooth connection 6.
  • Google's in-person guide says no allowlisting is needed for mDLs, yet Google Wallet's own ID passes work only online 15.

Status

Active, with revisions in progress. ISO/IEC 18013-5:2021 is marked "to be revised". Its second edition closed its DIS vote on 27 March 2026, and ISO expects it to replace the 2021 text "within the coming months" 12. TS 18013-7:2025 is also being revised as a new committee draft 3.

United States. TSA lists mDLs from 21 states and Puerto Rico: Alaska, Arizona, Arkansas, California, Colorado, Georgia, Hawaii, Illinois, Iowa, Kentucky, Louisiana, Maryland, Montana, New Mexico, New York, North Dakota, Ohio, Oklahoma, Utah, Virginia and West Virginia. TSA says Utah's mDL will no longer be accepted from 1 January 2027 9. A state's REAL ID mDL waiver lasts three years 10. AAMVA published guidelines 1.6 in 2026 8.

European Union. Directive (EU) 2025/2205 enters into force 20 days after its publication on 5 November 2025. Mobile licences become the default format 54 months after the first implementing act under Article 5(7), and until then states may issue them early 11. Mutual recognition of mobile licences applies only from that default date 11. Implementing Regulation (EU) 2026/2266, adopted under Article 5(7), applies clause 7 of ISO/IEC 18013-5:2021 with EU adaptations 12.

Sources

Deployments

No country reports mention this standard by name.

Regions / aggregations not mapped to a single country

  • Universal
source · content/standards/mobile-driving-licence/index.md