What are SMS segments?
SMS segments: The 140-octet units an SMS is split into: 160 GSM-7 or 70 UCS-2 characters fit in one message; longer texts carry 153 or 67 characters per segment.
Last reviewed:
SMS segments are the individual short messages, each carrying up to 140 octets of user data, into which a text is divided for transmission. How many characters fit in a segment depends on the character encoding.
How it works
3GPP TS 23.040 limits the user data of one short message to 140 octets. 3GPP TS 23.038 defines how characters fill that space:
- GSM 7-bit default alphabet (GSM-7). Each character uses 7 bits, so 140 octets hold (140 × 8) / 7 = 160 characters. Symbols in the GSM-7 extension table (
€,[,],{,},~,^,|,\) are sent as an escape code plus the character, so each takes two septets. - UCS-2. Each character uses 16 bits, so one message holds 70 characters. Any character outside the GSM-7 alphabet and its extension table, such as an emoji or the Polish letter "ą", requires UCS-2.
Longer texts are split into segments that carry a User Data Header so the handset can reassemble them. With a 6-octet header (the variant with an 8-bit reference number), TS 23.040 gives 153 GSM-7 characters (160 − 7 septets) or 67 UCS-2 characters ((140 − 6) / 2) per segment. An escaped character must not be split across two segments.
The data coding scheme should stay the same in every segment of a concatenated message, so one UCS-2 character changes the encoding of the whole text. TS 23.038 also defines national language shift tables for languages such as Turkish, Spanish, and Portuguese, which can keep some texts in 7-bit encoding where supported.
| Encoding | Single-message limit | Per-segment limit when concatenated |
|---|---|---|
| GSM-7 | 160 characters | 153 characters |
| UCS-2 | 70 characters | 67 characters |
Worked example
- A 200-character GSM-7 text exceeds 160, so it is concatenated: 200 / 153 rounds up to 2 segments (153 + 47).
- The same text with one "a" replaced by "ą" becomes 200 UCS-2 characters: 200 / 67 rounds up to 3 segments (67 + 67 + 66).
- A 160-character GSM-7 text that includes one "€" needs 161 septets, so it no longer fits in one message and becomes 2 segments.
Why it matters for marketers
SMS platforms commonly charge per segment; Twilio's US pricing page, for example, states that "text messages are charged per segment," and US 10DLC daily caps are counted in segments. One accented letter or emoji can therefore raise a campaign's cost and reduce how many messages a daily limit allows.
Common mistakes
- Counting characters instead of segments when estimating cost.
- Pasting text with curly quotes or other characters outside GSM-7, silently switching the message to UCS-2.
- Forgetting that
€,{,}and the other extension characters count twice. - Assuming merge fields have a fixed length; a long name, or one with a non-GSM letter, can add a segment.