Curious Minds

Clear answers to science and history questions

How Text Messaging Works: SMS, Networks & Delivery

· 5 min read · Science

Text messaging works by sending short digital messages over a mobile phone network using the Short Message Service (SMS) protocol, which routes each message through a Short Message Service Center (SMSC) that stores and forwards it to the recipient's phone. Unlike internet-based messaging apps, SMS does not require a data plan—only a cellular connection to the voice network—which is why it remains a universal fallback for communication.

What SMS Is and Where It Came From

SMS was first standardized in the 1980s as part of the GSM (Global System for Mobile Communications) specifications for digital cellular networks. The original design limited a single message to 160 characters of plain text—a constraint that still shapes how messages are split today. The first commercial SMS message was sent in 1992, and the technology spread globally as GSM networks became the dominant mobile standard. Unlike later messaging services, SMS was built into the signaling channels that phones already use to communicate with the network, so it required no additional infrastructure beyond the SMSC.

Over time, SMS evolved to support concatenated messages (longer texts split into multiple 160-character segments), delivery reports, and international roaming. The core protocol, however, remains largely unchanged: a store-and-forward system that prioritizes reliability over speed or richness.

The Technical Path of a Text Message

When you hit send on a text message, the following sequence occurs:

  1. Composition and encoding: Your phone's messaging app encodes the text using the GSM 7-bit alphabet (for basic Latin characters) or UCS-2 (for emoji and non-Latin scripts). This encoding determines the character limit—160 for 7-bit, 70 for UCS-2 per segment.
  2. Transmission to the cell tower: The phone sends the message over the control channel to the nearest cell tower using the GSM signaling protocol. This happens even during a voice call or when the phone is idle.
  3. Routing to the SMSC: The tower forwards the message to the carrier's Short Message Service Center (SMSC), a server that acts as a relay. The SMSC acknowledges receipt to your phone, which may display a "sent" indicator.
  4. Storage and forwarding: The SMSC attempts to deliver the message to the recipient's phone. If the recipient is offline, the SMSC stores the message and retries periodically—typically for a few days before discarding it.
  5. Delivery to the recipient: When the recipient's phone is reachable, the SMSC pushes the message through the network to the recipient's tower and phone. The recipient's phone sends a delivery acknowledgment back to the SMSC, which can notify the sender if delivery reports are enabled.

This store-and-forward design means SMS is not instantaneous—delays of seconds to minutes are normal, especially during network congestion or when the recipient is in a poor coverage area.

Why Messages Sometimes Arrive Late or Out of Order

Because SMS relies on a store-and-forward system, messages can be delayed or arrive out of sequence. Common causes include:

  • Network congestion: High traffic volumes (e.g., holidays, emergencies) can overwhelm the SMSC, causing queuing.
  • Recipient offline: If the recipient's phone is off or has no signal, the SMSC holds the message until the phone reconnects.
  • Roaming: International roaming involves multiple networks and SMSCs, increasing the chance of delay.
  • Concatenation issues: Long messages split into segments may be reassembled incorrectly if segments arrive out of order, leading to garbled text.

These limitations are inherent to the SMS protocol and are one reason why internet-based messaging apps (which use data and different protocols) often feel more immediate.

SMS vs. Internet Messaging Apps

Modern smartphone users often confuse SMS with messaging apps like WhatsApp, iMessage, or Signal. The key differences are:

  • Transport: SMS uses the cellular signaling channel; messaging apps use IP data (Wi-Fi or mobile data).
  • Requirements: SMS works on any phone with a cellular plan, including basic feature phones; apps require a smartphone and data connection.
  • Rich content: SMS is limited to plain text (and small binary attachments via MMS); apps support images, video, voice notes, and read receipts.
  • Cost: SMS may be included in a plan or charged per message; apps typically use data, which may be free over Wi-Fi.
  • Reliability: SMS can work when data fails, but it lacks encryption—messages travel in plain text over the network.

Many phones automatically fall back to SMS when a messaging app's data connection is unavailable, which is why you might see green bubbles (SMS) instead of blue (iMessage) on an iPhone.

Security and Privacy Considerations

SMS is not encrypted end-to-end. Messages are transmitted over the cellular network and stored temporarily on the SMSC, where they could theoretically be accessed by the carrier or intercepted by sophisticated attackers. This is why security experts recommend using end-to-end encrypted messaging apps for sensitive information. Additionally, SMS is vulnerable to SIM-swapping attacks, where an attacker convinces the carrier to transfer your phone number to a new SIM card, intercepting your messages and two-factor authentication codes.

For these reasons, many services now offer app-based two-factor authentication as an alternative to SMS codes.

Frequently Asked Questions

Why is there a 160-character limit for SMS?

The limit comes from the original GSM specification, which allocated 140 bytes for the message payload. Using the 7-bit GSM alphabet, 140 bytes can hold 160 characters. This design was a compromise between message length and the signaling capacity of early networks.

Can I send a text message without a cellular signal?

No. SMS requires a connection to a cellular network to reach the SMSC. However, some phones support Wi-Fi calling, which can route SMS over a Wi-Fi network if the carrier supports it.

What happens if I send a text to a landline?

Most landlines cannot receive SMS. In some cases, the message may be converted to a voice call or discarded, depending on the carrier's handling. Some VoIP services support SMS, but traditional landlines generally do not.

Are SMS messages stored permanently?

No. The SMSC stores undelivered messages temporarily (typically up to a few days) and deletes them after delivery or expiration. Your phone may store messages locally until you delete them, but the network does not keep a permanent copy.

Why do some texts arrive as multiple messages?

Long messages are split into segments of 160 characters (or 70 for Unicode) and reassembled by the recipient's phone. If segments arrive out of order or are delayed, the phone may display them as separate messages or with garbled text.

Is SMS the same as MMS?

No. MMS (Multimedia Messaging Service) extends SMS to allow images, video, and audio, but it uses a different delivery mechanism and often requires data. MMS is less standardized and can be unreliable across carriers.

In this article
  1. What SMS Is and Where It Came From
  2. The Technical Path of a Text Message
  3. Why Messages Sometimes Arrive Late or Out of Order
  4. SMS vs. Internet Messaging Apps
  5. Security and Privacy Considerations
  6. Frequently Asked Questions