TeleOSS

HLR Lookup Explained: Cut Failed SMS and Wasted Spend

  • December 1, 2026
  • Posted By: TeleOSS
ASK AI ABOUT THIS BLOG
HLR Lookup Explained: Cut Failed SMS and Wasted Spend

You pay to submit a message. It never arrives. The number was disconnected, moved to another network, or never able to receive SMS.

An HLR lookup lets you check a mobile number before you send. It can tell you whether a subscription exists, which network holds it and whether the network can currently reach it.

This guide shows you how the check works, what to do with each result, and how to work out whether it saves more than it costs. That last point matters, because on a clean database it may not.

Quick Answer

An HLR lookup is a query that asks a mobile network about a number without sending a message to the phone. It can return subscription status, current network, portability and roaming details. SMS senders use it to remove invalid numbers and route messages correctly. Results vary by country and operator, and they never guarantee delivery.

Key Takeaways

  • An HLR lookup reports what the network says at one moment, not what will happen later.
  • “Absent subscriber” is usually temporary. Do not delete those numbers.
  • Lookups save money only when the spend you avoid exceeds the lookup bill.
  • Some countries and operators return limited data or none.
  • Home routing can hide the real IMSI and roaming position.
  • Number data is usually personal data, so you need a lawful reason to query it.

What is a HLR lookup?

An HLR lookup is a network query that retrieves current routing and status information for a mobile number. The Home Location Register (HLR) is the database a mobile operator uses to hold subscriber records in 2G and 3G networks. In 4G, the Home Subscriber Server (HSS) does this job, although the industry still says “HLR lookup”.

The query uses the number in international E.164 format. Depending on the network and provider, the answer may include:

  • Whether the subscription exists
  • Whether the network can currently reach it
  • The MCCMNC, the country and network code of the operator
  • The original network and whether the number has been ported
  • Roaming status
  • The IMSI, the identifier tied to the subscription (some services mask or withhold it)

Example: one provider’s published sample response shows a UK number first issued by O2 and now served by EE. If you routed by number prefix alone, you would pick the wrong network.

How does HLR lookup work?

The lookup asks the home network where an SMS for this number should go, then stops before sending one.

Diagram of a number query travelling to the home mobile network and returning status and network code
  1. You submit the number through an API, a bulk file or your routing platform.
  2. The provider finds the right network, taking number portability into account.
  3. A signalling query is sent On SS7 networks this is the Mobile Application Part (MAP) operation SendRoutingInfoForSM, defined in 3GPP TS 29.002. The Diameter equivalent is defined in 3GPP TS 29.338.
  4. The network replies with routing data, such as the IMSI and serving node address, or with an error.
  5. The provider translates the reply into fields such as status, MCCMNC and ported.

One detail changes what you get back. With SMS home routing, the home network places its own SMS router in front of subscriber data. The 3GPP specification says the querying side then receives a correlation ID in place of the real IMSI.

Example: hlrlookup.com’s documentation warns that a roaming subscriber may appear to be at home when the operator uses home routing. A “not roaming” result is therefore not always proof.

What do HLR lookup results mean?

Each result should trigger a defined action. Provider labels differ, so map them to the underlying network answer before you automate anything.

Network answerWhat it suggestsRecommended action
Successful, reachableRouting data was returnedSend, using the current MCCMNC
PortedNumber moved to another operatorRoute and price by the new network
RoamingSubscriber is on a visited networkSend, and watch delivery reports for that destination
Absent subscriberPhone is off, out of coverage or not registeredRetry later or send with a suitable validity period
Unknown subscriberNo subscription for this number on that networkRecheck once, then suppress
Call barredThe service is restricted for this subscriptionHold and recheck, or use another channel
Teleservice not provisionedSMS is not enabled on the subscriptionUse another channel
System failure, unsupported or timeoutThe query failed, not necessarily the numberDo not suppress. Fall back to your normal route

The actions are our recommendations, not part of any standard. Adjust them to your traffic. A login code deserves a different retry window from a sales offer.

Example: suppose a bank gets an “absent subscriber” while a customer is on a flight. Deleting that number would lock out a real customer. This case is hypothetical, but it is the first mistake we would check your rules for.

How an HLR lookup cuts failed SMS

An HLR lookup reduces failures that come from bad or outdated number data. It cannot fix failures caused by content filtering, sender ID rules, weak routes or handset problems.

It helps in four places:

  • Dead numbers: you stop sending to numbers the network does not recognise.
  • Ported numbers: you route to the network that serves the subscriber today.
  • Temporary absence: you time retries instead of resending at once.
  • Numbers that cannot take SMS: number type data, where your provider includes it, keeps landlines out of SMS queues.

Before you buy anything, split your delivery reports (DLRs) by error cause. If most failures are spam blocks or rejected sender IDs, number checks will barely move your delivery rate.

Example: number reuse is a large problem. The US Federal Communications Commission (FCC) stated in 2018 that about 35 million numbers are disconnected and made available for reassignment each year. A reassigned number can look reachable while belonging to a stranger. For US consent risk, check the FCC’s Reassigned Numbers Database. An HLR lookup cannot tell you who owns a number.

Does an HLR lookup save money?

It saves money only when the cost of the messages you avoid is higher than the cost of all the lookups. You can test this with one formula:

Break even suppression rate = price per lookup ÷ price per message

Count only numbers you will actually suppress, such as unknown subscribers. Absent subscribers you still plan to message do not count.

Here is an illustration with made up prices, not market rates. You send 100,000 single part messages at $0.03 each. A lookup costs $0.003, so 100,000 lookups cost $300.

Share of numbers suppressedMessage spend avoidedNet result after $300 of lookups
3%$90Loss of $210
10%$300Break even
18%$540Saving of $240

Three things move the result:

  • Message parts: a two part message doubles the send cost, so the threshold halves.
  • Reuse: if one lookup safely covers several messages, spread its price across them.
  • Billing terms: if you are not charged for a failed message, suppressing it saves you nothing directly.

Aggregators should add one more line: the margin lost when ported traffic is priced for the wrong network.

Example: OVHcloud lists an HLR request at 0.1 SMS credit. If your message uses one credit, the lookup must remove more than 10% of sends to pay for itself on credits alone. Check current terms before relying on this.

HLR lookup vs MNP lookup and other checks

Use the lightest check that answers your question. A Mobile Number Portability (MNP) lookup tells you which network holds a number. An HLR lookup adds subscriber status where the network allows it.

CheckAnswersCannot tell youBest use
Format validationIs the number written correctly?Whether anyone holds itWeb forms and imports
MNP lookupWhich operator serves it?Whether the phone is reachableRouting and pricing
HLR lookupWhat does the network report now?Whether the next SMS will arriveList cleaning and high value traffic
Delivery reportWhat happened to this message?Anything before you sendRoute quality and retries

These checks work together. Format validation is the first filter, MNP data supports routing, and delivery reports show whether your decisions worked.

Example: the messaging provider seven states that HLR requests are not supported in some countries, naming Brazil, Canada and the US, and suggests MNP lookup for them.

Limitations, security and compliance

Treat lookup data as useful but incomplete, and treat access to it as a security matter.

Accuracy limits

  • Home routing and signalling firewalls can substitute, hide or block answers.
  • Some services may return cached or portability-only data. Ask how responses are labelled.
  • A reachable status does not predict delivery, reading or consent.
  • Coverage varies. Test your own destinations before committing volume in Africa, the Gulf, Europe or Southeast Asia.

Example: coverage can be narrow. OVHcloud’s HLR guide says its lookup feature is available in France only.

Security and law

The signalling messages behind lookups can also be misused. In 2008, researcher Tobias Engel showed that SMS routing queries could expose a subscriber’s IMSI and serving switch, revealing approximate location. SMS home routing helps close that gap.

Regulators are paying attention. Global Titles are addresses used to route SS7 signalling. In its April 2025 statement, UK regulator Ofcom banned new Global Title leasing and required existing arrangements to end by 22 April 2026, with limited extensions to 22 October 2026. It also named HLR lookup services as able to generate malicious signalling, and expects extra controls where UK number range holders provide them.

A mobile number linked to a person is generally personal data under laws such as GDPR. Define your purpose, keep only the fields you need and set a retention period. Get legal advice for each market.

Ask any provider:

  • How do you access operator signalling, and is that access authorised?
  • Which countries return live status, and which return portability data only?
  • Do you flag cached results and home routed responses?
  • Where is lookup data stored, and for how long?
  • Are failed or unsupported queries billed?

How to add HLR lookups to your SMS flow

Start with a sample, measure the effect, then automate only where it pays.

  1. Baseline your failures: Group two to four weeks of DLRs by country, operator and error cause.
  2. Test a sample: Look up numbers from your worst segments, including numbers you know are active.
  3. Compare with outcomes: Check how often each lookup status matched the delivery report.
  4. Apply the break even formula to each segment separately.
  5. Write the rules: Decide what to send, retry, suppress or reroute.
  6. Set a cache period: As a starting point, reuse results for a few days on marketing lists and run a fresh check for sensitive events. Tune this using your own mismatch data.
  7. Fail safely: If the lookup times out, send by your default route so a one time password is not stuck.

Choose between two timing models. Batch cleaning suits campaigns because it adds no delay at send time. Real time lookup suits routing and urgent traffic, but adds a dependency and some latency to every message you check.

Example: a hypothetical aggregator sees many “unknown subscriber” errors on one old customer list but few on login traffic. It cleans the list in a batch and skips live status checks for logins. Both decisions come from its own DLRs.

Common mistakes

  • Deleting every number that is not reachable right now
  • Looking up numbers again minutes after checking them
  • Treating a provider timeout as an invalid number
  • Assuming one country’s coverage applies everywhere
  • Using a lookup as proof of identity or consent

Conclusion

An HLR lookup tells you what a mobile network reports about a number before you pay to message it. Used well, it removes dead numbers, corrects routing for ported subscribers and times your retries.

It is not a delivery guarantee, and it is not always cheaper. Let your DLR error data and the break even formula decide where lookups belong.

Want lookups to drive routing instead of sitting in a spreadsheet? TeleOSS lists HLR and MNP lookup driven routing among the capabilities of its SMS Router. Book a demo and bring your top destinations and failure codes. You can then check which lookup sources, countries and routing rules fit your traffic.

FAQs

Does an HLR lookup send an SMS to the phone?

No. It requests routing information from the network and stops there. The handset normally shows nothing. The query still touches operator signalling and returns data about a person, so you need a legitimate purpose and a provider with authorised access.

Can an HLR lookup show a phone’s exact location?

Commercial results do not normally give GPS coordinates or a street address. They may show the country or network where a subscriber is roaming. Raw signalling data can reveal more, including the serving switch, which is why operators use home routing and firewalls to protect it.

Does HLR lookup work for US numbers?

Support is limited. At least one provider, seven, states that HLR requests are not supported for US numbers and suggests portability lookup instead. Ask for a sample response for US destinations before you buy, and check which fields are live.

How accurate is an HLR lookup?

Accuracy depends on the network, the provider’s access path and the age of the result. Home routing, filtering and caching can all change what you see. Measure it yourself by comparing lookup statuses with delivery reports for the same numbers.

How often should I check my contact list?

Check before a large campaign to an older list, and after a rise in unknown subscriber errors. Recently delivered numbers rarely need an immediate recheck. There is no universal interval, so set yours from churn and failure data in each market.

Is a free HLR lookup tool enough?

A free tool can help you test a number you are authorised to check. For business traffic you need documented coverage, an API or bulk upload, clear status mapping, data handling terms and support. Also confirm whether the tool performs a live query at all.

Contact Us
WhatsApp Email Call Text
Thank you! You will receive an email shortly and the download will start.