Long Code

Rate this page:

A long code number is a standard phone number used to send and receive voice calls and SMS messages. Phone numbers are typically called “long codes” (10-digit numbers in many countries) when comparing them with SMS short codes (5-6 digit numbers).

For example compare the following numbers in national and E.164 formats.

Number Type
894546 Short Code (spells “TWILIO”)
(415) 555-2671 US long code National
+14155552671 US long code E.164
020 7183 8750 UK long code National
+442071838750 UK long code E.164

Twilio allows you to get long codes numbers on-demand for local, national, mobile, and toll-free in 50+ countries. You can programmatically search for available phone numbers via API and purchase numbers via API. Or log in to find and purchase phone numbers via the Twilio Console.

Short codes are carrier approved to send A2P SMS and thus require carrier approval (typically an 8-12 week process). Twilio manages the carrier approval process for you for US, UK, and Canadian short codes.

For more information see what is the difference between short codes and long codes?

Rate this page:

Thank you for your feedback!

We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

Sending your feedback...
🎉 Thank you for your feedback!
Something went wrong. Please try again.

Thanks for your feedback!

Refer us and get $10 in 3 simple steps!

Step 1

Get link

Get a free personal referral link here

Step 2

Give $10

Your user signs up and upgrade using link

Step 3

Get $10

1,250 free SMSes
OR 1,000 free voice mins
OR 12,000 chats
OR more