---
title: "Long code (virtual number)"
description: "A long code is a standard-length phone number, often a virtual mobile number hosted by a provider, used by a business to send and receive SMS. Unlike a short code it is usually reachable internationally."
canonical: "https://omnichannels.ai/glossary/long-code/"
language: "en"
updated: "2026-10-18"
publisher: "BroadNet Technologies"
brand: "OmniChannels.ai"
---

# Long code (virtual number)

Canonical: https://omnichannels.ai/glossary/long-code/
Language: en
Publisher: OmniChannels.ai by BroadNet Technologies

**Definition:** A long code is a standard-length phone number, often a virtual mobile number hosted by a provider, used by a business to send and receive SMS. Unlike a short code it is usually reachable internationally.

A long code is an ordinary phone number used for messaging. In most countries it follows the E.164 format with a country code, so it can be dialled and texted from abroad. A virtual mobile number (VMN) is a long code that is not tied to a physical SIM: the provider hosts it, and messages sent to it arrive in software through an API, webhook or inbox rather than on a handset.

The main advantage is two-way messaging. A customer can reply to a number that looks familiar, and an agent or a chatbot can answer from a shared inbox. That makes long codes a natural fit for conversational support, appointment confirmations with replies, and sales follow-up. The same number can sometimes carry voice as well, so a customer can call or text one number.

The trade-off is capacity and reputation. Long codes typically deliver lower throughput than short codes, and many operators limit or filter high-volume A2P traffic sent from them, because that traffic is hard to tell apart from spam sent by individuals. Content filters, per-number limits and blocking are common, and sending identical bulk messages from a handful of long codes is a reliable way to get blocked.

The United States is the best-known example of how rules harden. Business texting on standard 10-digit numbers, known as 10DLC, requires registering the brand and each campaign with The Campaign Registry through the messaging provider, and unregistered traffic is increasingly filtered or blocked. Toll-free numbers have their own verification process. OmniChannels.ai can prepare and file US 10DLC brand and campaign registration and toll-free verification with the customer, though approval decisions stay with carriers.

Availability varies widely. Some countries offer virtual mobile numbers for both inbound and outbound SMS, some only for inbound, and some do not allow businesses to hold them at all. Many destinations require alphanumeric sender IDs to be registered, and a long code cannot replace that where it is a mandatory requirement for business traffic. Always check country coverage and sender ID rules before choosing the sender type.

Choosing between sender types is a design decision. An alphanumeric sender ID shows a brand name, builds recognition and suits one-way alerts and OTPs, but it cannot receive replies. A short code gives high throughput and reliable two-way messaging in one country, but is slower and costlier to obtain. A long code sits between them: quick to get, familiar to customers, and good for conversation, but not designed for mass campaigns.

Common mistakes include using a long code for a large promotional blast, failing to register where registration is required, and ignoring opt-out keywords on a number that receives replies. Handle STOP and HELP keywords on every number that sends marketing, and keep consent records in case a carrier or regulator asks.

OmniChannels.ai supports two-way SMS in its shared inbox, and the account team confirms which sender types and numbers are available per destination.

## Sources

- [ITU-T Recommendation E.164 — The international public telecommunication numbering plan](https://www.itu.int/rec/T-REC-E.164)