Long Code


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.

番号 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?



We are always striving to improve our documentation quality, and your feedback is valuable to us. Please select the reason(s) for your feedback or provide additional information about how we can improve:

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!


Get link

Get a free personal referral link here


Give $10

Your user signs up and upgrade using link


Get $10

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