Definition
An HLR lookup queries the mobile network’s subscriber database to check whether a number is valid and active, which operator currently serves it (after porting) and sometimes whether it is roaming.
The Home Location Register (HLR) is the database in a mobile network that holds each subscriber's record: the SIM identity (IMSI), the services enabled and the switch the subscriber is currently attached to. When an SMS arrives for a number, the SMSC asks the HLR where to send it, using the MAP operation SendRoutingInfoForSM defined in 3GPP TS 29.002. An HLR lookup service sends a similar query on a business's behalf and returns selected fields from the answer.
A typical result tells you whether the number is in a valid numbering range, whether the subscriber is currently reachable, the MCC/MNC of the network that serves it today, whether the number has been ported away from its original operator, and sometimes the roaming network and line type. Because the query goes to the live network, it is more current than any static prefix table.
The main use is list hygiene. Before a large campaign, a lookup removes numbers that do not exist or have been disconnected, so you do not pay to send to them and your delivery rate is not dragged down by dead numbers. The second use is routing: after number porting, the prefix no longer shows the operator, so the current MCC/MNC from the lookup decides which route and which rate apply. The third is fraud screening at sign-up, where an unreachable or unexpected network can be a warning sign.
An HLR lookup is not the same as an MNP lookup. An MNP lookup checks a porting database and tells you the current operator, but not whether the handset is reachable. An HLR lookup contacts the home network, so it can distinguish a live subscriber from an unassigned number. Format validation against E.164 is a third, cheaper step that runs offline and only checks that the number is plausible for the country.
Read the results with care. A status of absent or unreachable usually means the phone is switched off or out of coverage at that moment, not that the number is permanently dead, so deleting such numbers automatically can remove real customers. Some operators block or mask lookups, some return generic answers to protect subscriber privacy, and 4G and 5G cores use the HSS and UDM rather than a classic HLR, so what a provider can return differs by country and network.
Lookups are typically charged per query, so run them where they pay off: on a new or stale list, at sign-up, and before high-value sends, rather than before every message. Cache results for a sensible period, because ported numbers change slowly, and re-check numbers that start failing.
Lookups use personal data. Make sure you have a legitimate purpose and a lawful basis for the data you collect, store only the fields you need, and do not use lookup results to profile people beyond what your privacy notice describes. Lookups do not replace consent: a valid number is not a number you may market to.
OmniChannels.ai supports HLR and number lookup alongside SMS sending, so numbers can be checked before a campaign. Coverage and result detail vary by country, and the account team confirms what is available for your destinations.
Frequently asked questions
Is an HLR lookup the same as an MNP lookup?
No. An MNP lookup queries a porting database and returns the current operator of a number. An HLR lookup queries the home network and can also indicate whether the subscriber is reachable. Providers often combine both in one lookup product, so check which fields a given response includes.
Does an HLR lookup tell me whether a number accepts marketing messages?
No. It only tells you about the number and the network. Consent is a separate question: you still need recorded opt-in, and in some markets you must also respect do-not-disturb registries and quiet hours.
Should I delete numbers that come back as absent?
Not automatically. Absent usually means the phone is off or out of coverage at the time of the query. Retry later, and only suppress a number after repeated failures or a clear invalid or unassigned result.
Why do some countries return little data from lookups?
Operators decide what their network reveals, and some restrict or mask lookups for privacy and security reasons. Newer cores also do not use a classic HLR. Expect the detail and accuracy of results to differ by destination.
