Skip to content
5G/6G AcademyEst. 2009

AMF vs MME

The MME (Mobility Management Entity) is the control-plane brain of the 4G EPC. It terminates NAS signaling from the UE, authenticates it, tracks where it is, pages it, and sets up its bearers by telling the SGW and PGW what to do.

The AMF (Access and Mobility Management Function) is often called "the 5G MME," but it only took half the job. It keeps registration, connection and mobility management, NAS termination, and the security anchor for access. Session management moved out to the SMF. When a 5G UE asks for a PDU session, the AMF forwards the request to an SMF it selects.

The other changes follow from that split and from the service-based core. The AMF talks to the gNB over N2 (NGAP) instead of S1-MME (S1AP), offers its services over HTTP/2 instead of using Diameter and GTPv2-C, and can serve non-3GPP access too. Between the two sits N26, which lets them pass a UE back and forth between LTE and 5G.

AspectMME (4G EPC)AMF (5G Core)
Core it belongs toEPC (4G), node-based with point-to-point interfaces5GC, service-based: Namf services over HTTP/2
Session managementYes: ESM, default and dedicated bearers, driven through the SGW and PGWNo: moved to the SMF; the AMF relays 5GSM messages
RAN interfaceS1-MME: S1AP over SCTP (TS 36.413)N2: NGAP over SCTP (TS 38.413)
NASTS 24.301: EMM and ESM both end in the MMETS 24.501 over N1: 5GMM ends in the AMF, 5GSM is passed to the SMF
Getting on the networkAttach, normally with a default bearer in the same procedureRegistration, with no PDU session required
Location updatesTracking Area Update, normal and periodic (T3412)Mobility and periodic registration update (T3512)
AuthenticationGets vectors from the HSS over S6a (Diameter)Hosts the SEAF; works with the AUSF (N12) and UDM (N8)
Main peersSGW over S11, other MMEs over S10, HSS over S6aSMF over N11, other AMFs over N14, PCF over N15, NSSF over N22
Temporary identityGUTI, built from MME group ID, MME code and M-TMSI5G-GUTI, built from AMF Region ID, AMF Set ID, AMF Pointer and 5G-TMSI

MME to AMF plus SMF: what moved where

In 4G, one NAS connection carried two kinds of messages. EMM handled mobility (attach, tracking area update, detach) and ESM handled sessions (PDN connectivity, bearer activation). Both ended in the MME, which then drove the SGW and PGW over GTPv2-C.

5G cuts that in two. 5GMM, the mobility half, ends in the AMF. 5GSM, the session half, ends in the SMF. The UE still has a single N1 NAS connection, so 5GSM messages travel inside a 5GMM UL NAS TRANSPORT, and the AMF forwards them to the right SMF using the PDU session ID. In a trace you'll see a PDU Session Establishment Request wrapped inside a NAS transport message, followed by the AMF calling Nsmf_PDUSession_CreateSMContext on the SMF.

The split lets one AMF work with several SMFs, so a UE's sessions can land on different SMFs for different slices or data networks while its mobility stays in one place. Gateway selection moved too: the MME chose the SGW and PGW, while in 5G the SMF chooses the UPFs.

Attach vs registration

An LTE attach does two things at once. It registers the UE and, in the same procedure, sets up a default bearer, so the UE has IP connectivity as soon as it's attached. Release 13 added attach without PDN connectivity, but it's optional and you'll rarely see it.

A 5G registration only registers. The UE authenticates, gets a 5G-GUTI and a registration area (a list of tracking areas), and stops there. Data comes later, through a separate PDU Session Establishment that the UE starts when it needs one. That's why 5G call flows look longer: registration first, then session.

The update procedures map across neatly. Tracking Area Update becomes Mobility Registration Update. Periodic TAU, driven by timer T3412, becomes Periodic Registration Update, driven by T3512. Paging works the same way in principle: the core pages the UE across its tracking area list when downlink data or a call arrives.

N26 and life between 4G and 5G

Most 5G UEs still drop to LTE: at the edge of NR coverage, for EPS Fallback voice calls, or in areas without SA. N26 is the interface between the MME and the AMF that makes those moves smooth. It's based on S10, so it runs GTPv2-C, and it lets the two exchange the UE's mobility and session context during handover and idle-mode moves.

With N26, a 5G-to-LTE move can be a real handover. The AMF sends a Forward Relocation Request to the MME, the PDU sessions continue as PDN connections on the combined SMF+PGW-C, and the IP address survives.

Without N26 there's no context transfer. A connected UE is redirected rather than handed over, then attaches or registers on the other side and asks to move its existing connections. IP addresses can still be kept through the UDM and HSS, but the interruption is longer. Whether a network has N26 is one of the first things to check when EPS Fallback calls are slow to set up.

The bottom line

The AMF isn't a renamed MME. It does the mobility and access half of the MME's job, adds non-3GPP access and a service-based interface, and hands sessions to the SMF. If you know LTE, map it this way: EMM became 5GMM in the AMF, ESM became 5GSM in the SMF, S1-MME became N2, S6a became N8 and N12, and attach became registration plus a PDU session. Then learn N26, because nearly every live 5G network still moves UEs to and from LTE.

Frequently asked questions

What replaced the MME in 5G?
Two functions. The AMF took mobility, registration, NAS termination and access security. The SMF took session management, which the MME used to run through the SGW and PGW.
Does the AMF handle PDU sessions?
Not directly. It receives the 5GSM messages from the UE over N1, selects an SMF and forwards them. The SMF sets up the session and the UPF path; the AMF relays the N2 and N1 parts back to the gNB and the UE.
What is the difference between attach and registration?
An LTE attach registers the UE and normally sets up a default bearer in the same procedure. A 5G registration only registers the UE; data needs a separate PDU Session Establishment afterwards.
What is the N26 interface?
N26 connects the MME and the AMF. It's based on the S10 interface and uses GTPv2-C to transfer UE context, so a UE can hand over between 4G and 5G while keeping its IP address.
Which interface connects the AMF to the gNB?
N2. It carries NGAP over SCTP, the 5G counterpart of S1AP on S1-MME. User data doesn't touch the AMF; it goes from the gNB to the UPF over N3.

Get one 5G/LTE engineering deep-dive a fortnight

One thing explained properly every other Tuesday — a real failure, and the lab or trace where you work it yourself. No spam, no marketing, just engineering. Unsubscribe in one click.