EF

Elementary File

Other →
Introduced in Rel-4 Also in: Testing, Security

EF is a fundamental data structure stored on a UICC (SIM card) that contains specific information such as authentication keys, subscriber identity, phonebook entries, and SMS for subscriber management and network access.

Category
Other
Introduced
Rel-4
Where
User Equipment › Protocol Layers (NAS)
Also touches
2 segments
Specifications
13 specs
EF Description Purpose Related Classification Specifications

Description

An Elementary File (EF) is a basic, addressable data container residing within the file system of a UICC (Universal Integrated Circuit Card), which includes SIM, USIM, and ISIM applications. The UICC's file system is hierarchically organized, starting with a Master File (MF) as the root, under which are Dedicated Files (DFs) representing applications (like the GSM or USIM application), and within these DFs reside the Elementary Files. Each EF is identified by a unique file identifier (FID) and can be selected using standard ISO/IEC 7816-4 commands. EFs store a wide variety of data, structured as either transparent (a simple sequence of bytes), linear fixed (records of fixed length), cyclic (a fixed number of records where the oldest is overwritten), or BER-TLV (data objects encoded in Tag-Length-Value format).

How an EF works is central to the operation of the UICC. When the mobile device (ME) needs specific data, such as the IMSI for network registration or the authentication key (Ki) for security procedures, it sends a command (e.g., READ BINARY or READ RECORD) to the UICC, specifying the FID of the target EF. The UICC's operating system locates the file, performs any necessary access condition checks (e.g., verifying a PIN), and returns the requested data. For example, the EF_IMSI (file identifier '6F07') stores the International Mobile Subscriber Identity. The ME reads this file during initial registration to identify itself to the network. Similarly, EF_LOCI stores the Location Information, which is updated by the network to allow for efficient paging.

Key components of the EF concept include the file structure, the access conditions, and the associated metadata defined in the EF's header. The header specifies the file type, size, record length (if applicable), and access conditions (e.g., always allowed, PIN1 required, ADM required). EFs are the backbone for storing both mandatory network parameters (like EF_KC for ciphering key in GSM) and optional user data (like EF_PBR for phonebook references). Their role is to provide a standardized, secure, and persistent storage mechanism that is independent of the mobile device, enabling subscriber mobility and secure authentication across different handsets and networks.

Purpose & Motivation

The Elementary File exists to provide a standardized, secure, and organized method for storing critical subscriber and application data on the smart card used in mobile telecommunications (the UICC). It solves the problem of how to persistently manage a wide variety of data—from secret cryptographic keys to public phonebook entries—in a way that is accessible to the mobile equipment but protected from unauthorized access. The motivation for its creation dates back to the original GSM SIM specification, which needed a file system model derived from ISO smart card standards to replace the simple memory storage used in earlier cellular technologies.

The historical context is that prior to the standardized UICC file system, subscriber data and network parameters were often stored in proprietary formats on the mobile device itself, hindering interoperability and subscriber mobility. The introduction of the EF, along with the DF/MF hierarchy, created a universal 'data cabinet' where every piece of information had a known, standardized location and access method. This allowed any compliant mobile device to interact with any compliant SIM card, a cornerstone of GSM's global success. It addressed limitations by separating the subscriber's identity and service profile from the handset, enabling easy swapping of phones while retaining one's number and services, and by enforcing security through file-level access conditions, protecting sensitive data like authentication keys.

Classification

Part ofSIM
Specific typesUSIMCCPGID1

Evolution Across Releases

Rel-4 Initial

Formalized the Elementary File structure within the 3GPP UICC specifications for USIM. Defined core EFs for 3G operations, such as EF_LOCI for packet domain location info and EF_KE for UMTS ciphering key. Established the file system hierarchy (MF, DF, EF) and command set for file access as per ISO/IEC 7816-4.

Explore further

Broader topics and technologies where EF plays a role.

Defining Specifications

3GPP specifications that define or reference EF, with the latest known release. Sourced from the 3GPP document catalog — see methodology.

SpecificationTitleRelease
TS 21.111 vj00 USIM and UICC Requirements for 3G Rel-19
TR 21.905 vj00 3GPP Technical Terms and Definitions Rel-19
TS 22.022 vj00 ME Personalisation Features for GSM/3G Rel-19
TS 24.229 vj50 IMS call control protocol based on SIP and SDP Rel-19
TS 31.102 vj40 USIM Application Specification Rel-19
TS 31.103 vj00 ISIM Application Specification Rel-19
TS 31.105 vj10 Slice Subscriber Identity Module (SSIM) Application Rel-19
TS 31.121 vi50 UICC-terminal interface test specification Rel-18
TS 31.131 vj00 C Language Binding for (U)SIM API Rel-19
TS 31.829 vd00 ISIM Conformance Requirements Technical Report Rel-13
TR 31.900 vj00 3GPP TS 31.900: Security Interworking Guidance Rel-19
TS 34.131 vj00 SIM API C Language Test Specification Rel-19
TS 34.229 vj21 IMS SIP/SDP UE Conformance Testing for 5GS Rel-19
Patrick Zandl

About the author: Patrick Zandl (b. 1974)

Telecommunications specialist, technology journalist (founder of the Mobil server), and developer who has been running since 2025 — the largest Czech-language resource on AI-assisted programming. Formerly Chief Wizard Architect at Prusa3D and head of development for Turris at CZ.NIC; currently a consultant and instructor on AI implementation in companies.