E.164 & SMS Quick Reference: Comprehensive guide to Guyana's phone numbering system with validation examples, E.164 formatting, dialing procedures, and regulatory compliance. Need real-time carrier, porting, and line-type validation beyond regex? Run live lookups with SMSRoute HLR Lookup or send directly over Tier-1 routes via the SMSRoute SMS API.
This comprehensive guide covers Guyana's phone numbering system, providing developers with everything needed for seamless integration with applications and services. Whether you're building telecommunications software, validating user input with phone number validation, or managing international SMS communications, this resource covers number formats, dialing procedures, validation techniques, best practices, and regulatory considerations specific to Guyana's +592 country code.
Quick Reference
- Country: Guyana π¬πΎ
- Country Code: +592
- International Prefix (Outgoing): 001
- International Prefix (Incoming β from USA): 011
- National Prefix: None
- National Significant Number (NSN): 7 digits
- Standard Format (E.164): +592 XXXXXXX
- Timezone: UTC-4 (no daylight saving time)
Best Practice: Always store phone numbers in the international E.164 format (+592XXXXXXX) for optimal compatibility and interoperability.
Guyana's Telecommunications Landscape
Guyana's telecommunications sector has undergone significant liberalization since October 2020, fostering competition and growth. The market is primarily served by major operators including GT&T (Guyana Telephone & Telegraph Company) for landline and mobile services, and Digicel Guyana for mobile services.
Developer Impact: When implementing validation or carrier-specific routing:
- Number portability may allow users to switch carriers while retaining their number.
- Treat prefix-based carrier detection as informational only, not definitive.
- Contact the Telecommunications Agency for current operator allocations if carrier identification is critical to your application.
Number Formats and Structure
NSN (National Significant Number): The subscriber number portion excluding the country code, consisting of all digits needed to route a call within the country. For Guyana, this is always 7 digits.
Guyana uses a closed numbering plan with a uniform 7-digit NSN structure across the country. No area codes are used within Guyana, simplifying both domestic and international dialing.
The first digit of the 7-digit number indicates the service type:
- 2: Landline (Fixed-line services) β Format: 2[1-9]XXXXXX (e.g., 2221234)
- Note: 20XXXXX range is reserved and not allocated for public use
- 6, 7[0-5]: Mobile (Cellular services) β Format: 6XXXXXX or 7[0-5]XXXXX (e.g., 6123456, 7012345)
- 8: Toll-Free (Free-to-caller services) β Format: 800XXXX (e.g., 8001234)
- 9: Premium Rate (Pay-per-call services) β Format: 9008XXX (e.g., 9008123)
Reserved/Unallocated Ranges:
- 3, 4, 5: Reserved for future expansion
- 7[6-9]: Reserved for future mobile expansion
- 81-89, 90-899, 901-9007, 9009-999: Reserved or unallocated
Validation logic should reject numbers starting with these prefixes to prevent false positives.
How to Dial Guyana Phone Numbers
Domestic Calls
- Local Calls: Dial the 7-digit number directly (works for all call types: landline-to-landline, mobile-to-mobile, landline-to-mobile, and mobile-to-landline).
- No trunk prefix required: Guyana's closed numbering plan does not require a national prefix (trunk code) for domestic calls.
International Calls to and from Guyana
Outgoing from Guyana: Dial 001 + Country Code + Number
Examples:
- To USA: 001 1 212 555 0123
- To UK: 001 44 20 7946 0958
- To Canada: 001 1 416 555 0199
Incoming to Guyana:
| From Country | Prefix | Example |
|---|---|---|
| USA/Canada | 011 + 592 + 7-digit number | 011 592 222 1234 |
| UK | 00 + 592 + 7-digit number | 00 592 222 1234 |
| Australia | 0011 + 592 + 7-digit number | 0011 592 222 1234 |
| Most of Europe | 00 + 592 + 7-digit number | 00 592 222 1234 |
Check your originating country's international dialing prefix if not listed above.
Phone Number Validation for Guyana (+592)
Why Validation Matters:
- Prevents failed delivery of SMS/voice calls, reducing costs and improving user experience.
- Ensures data integrity in customer databases.
- Blocks fraudulent or malformed numbers that could exploit billing systems.
- Enables accurate routing and carrier selection.
Use regular expressions to validate Guyanese phone numbers effectively:
const landlineRegex = /^2[1-9]\d{5}$/;
const mobileRegex = /^(6\d{6}|7[0-5]\d{5})$/;
const tollFreeRegex = /^800\d{4}$/;
const premiumRateRegex = /^9008\d{3}$/;
function validateE164GuyanaNumber(number) {
const e164Regex = /^\+?592(2[1-9]\d{5}|6\d{6}|7[0-5]\d{5}|800\d{4}|9008\d{3})$/;
return e164Regex.test(number.replace(/[\s\-\(\)]/g, ''));
}
function detectNumberType(number) {
const cleaned = number.replace(/\D/g, '');
const nsn = cleaned.startsWith('592') ? cleaned.substring(3) : cleaned;
if (nsn.length !== 7) return null;
if (/^2[1-9]\d{5}$/.test(nsn)) return 'landline';
if (/^6\d{6}$/.test(nsn)) return 'mobile';
if (/^7[0-5]\d{5}$/.test(nsn)) return 'mobile';
if (/^800\d{4}$/.test(nsn)) return 'tollFree';
if (/^9008\d{3}$/.test(nsn)) return 'premiumRate';
return null;
}
function validateGuyanaNumber(number, type) {
const cleanedNumber = number.replace(/\D/g, '');
const nsn = cleanedNumber.startsWith('592') ? cleanedNumber.substring(3) : cleanedNumber;
switch (type) {
case 'landline': return landlineRegex.test(nsn);
case 'mobile': return mobileRegex.test(nsn);
case 'tollFree': return tollFreeRegex.test(nsn);
case 'premiumRate': return premiumRateRegex.test(nsn);
default: return false;
}
}
console.log(validateGuyanaNumber('2221234', 'landline'));
console.log(validateGuyanaNumber('+5926123456', 'mobile'));
console.log(validateGuyanaNumber('800-1234', 'tollFree'));
console.log(validateE164GuyanaNumber('+5922221234'));
console.log(detectNumberType('5926123456'));
console.log(detectNumberType('5927612345'));
Implementation Best Practices
- Storage: Always store numbers in E.164 format (+592XXXXXXX). This ensures consistency and facilitates integration with various systems. Consider storing the original user input alongside the E.164 version for auditing and troubleshooting. Adding metadata about the number type (landline, mobile, etc.) can also be beneficial.
- Database Schema Recommendations:
CREATE TABLE contacts (
id SERIAL PRIMARY KEY,
phone_e164 VARCHAR(15) NOT NULL,
phone_original VARCHAR(50),
phone_type VARCHAR(20),
phone_verified BOOLEAN DEFAULT FALSE,
verified_at TIMESTAMP,
country_code VARCHAR(3) DEFAULT '592',
created_at TIMESTAMP DEFAULT NOW(),
INDEX idx_phone_e164 (phone_e164)
);
- Display: Format numbers appropriately for display based on user locale. For local display within Guyana, consider formats like
XXX-XXXX. For international display, use the full E.164 format (+592 XXX XXXX). - Validation Pipeline: Implement a comprehensive validation pipeline that includes format checking, length verification, prefix validation, and potentially connectivity testing. Regularly review and update your validation rules to accommodate any changes in the numbering plan.
- Timezone Considerations: Guyana operates on UTC-4 year-round (no daylight saving time). When scheduling calls or SMS:
- Convert the user's local time to UTC-4 before scheduling.
- Respect local business hours (typically 8:00 β 17:00 UTC-4 for business contacts).
- Consider implementing "quiet hours" (22:00 β 08:00 local time) to avoid disturbing recipients.
- Store all timestamps in UTC in your database and convert to Guyana time for display/scheduling.
Python Implementation Examples
import re
from typing import Optional, Tuple
from datetime import datetime
import pytz
PATTERNS = {
'landline': re.compile(r'^2[1-9]\d{5}$'),
'mobile': re.compile(r'^(6\d{6}|7[0-5]\d{5})$'),
'tollFree': re.compile(r'^800\d{4}$'),
'premiumRate': re.compile(r'^9008\d{3}$')
}
def format_guyana_number(local_number: str) -> str:
"""Convert local number to E.164 format."""
cleaned = re.sub(r'\D', '', local_number)
if cleaned.startswith('592'):
cleaned = cleaned[3:]
if len(cleaned) != 7:
raise ValueError(f"Invalid length: expected 7 digits, got {len(cleaned)}")
return f"+592{cleaned}"
def format_for_display(e164_number: str, local: bool = False) -> str:
"""Format E.164 number for display."""
cleaned = e164_number.replace('+', '').replace('592', '', 1)
if local:
return f"{cleaned[:3]}-{cleaned[3:]}"
return f"+592 {cleaned[:3]}-{cleaned[3:]}"
def detect_number_type(number: str) -> Optional[str]:
"""Auto-detect the type of a Guyana phone number."""
cleaned = re.sub(r'\D', '', number)
if cleaned.startswith('592'):
cleaned = cleaned[3:]
if len(cleaned) != 7:
return None
for number_type, pattern in PATTERNS.items():
if pattern.match(cleaned):
return number_type
return None
def validate_guyana_number(number: str, number_type: Optional[str] = None) -> Tuple[bool, Optional[str]]:
"""
Validate a Guyana phone number.
Args:
number: Phone number to validate
number_type: Expected type (landline, mobile, tollFree, premiumRate) or None to auto-detect
Returns:
Tuple of (is_valid, detected_type)
"""
cleaned = re.sub(r'\D', '', number)
if cleaned.startswith('592'):
cleaned = cleaned[3:]
if len(cleaned) != 7:
return False, None
detected_type = detect_number_type(cleaned)
if number_type:
pattern = PATTERNS.get(number_type)
if not pattern:
return False, None
return pattern.match(cleaned) is not None, detected_type
return detected_type is not None, detected_type
def is_within_guyana_business_hours(check_time: datetime = None) -> bool:
"""Check if current time (or specified time) is within Guyana business hours."""
guyana_tz = pytz.timezone('America/Guyana')
if check_time is None:
check_time = datetime.now(pytz.UTC)
local_time = check_time.astimezone(guyana_tz)
if local_time.weekday() >= 5:
return False
return 8 <= local_time.hour < 17
try:
import phonenumbers
def validate_with_phonenumbers(number: str) -> dict:
"""Validate using Google's libphonenumber."""
try:
parsed = phonenumbers.parse(number, "GY")
return {
'valid': phonenumbers.is_valid_number(parsed),
'possible': phonenumbers.is_possible_number(parsed),
'type': phonenumbers.number_type(parsed),
'e164': phonenumbers.format_number(parsed, phonenumbers.PhoneNumberFormat.E164),
'international': phonenumbers.format_number(parsed, phonenumbers.PhoneNumberFormat.INTERNATIONAL)
}
except phonenumbers.NumberParseException as e:
return {'valid': False, 'error': str(e)}
except ImportError:
pass
if __name__ == "__main__":
test_numbers = [
'2221234',
'+5926123456',
'7612345',
'800-1234'
]
for num in test_numbers:
is_valid, num_type = validate_guyana_number(num)
print(f"{num}: valid={is_valid}, type={num_type}")
if is_valid:
print(f" E.164: {format_guyana_number(num)}")
Regulatory Compliance and SMS Guidelines
Telecommunications Act of 2016
The Telecommunications Act of 2016 governs Guyana's telecommunications sector. Key compliance considerations for developers:
Data Storage and Processing:
- Obtain explicit consent before storing phone numbers for marketing purposes.
- Implement secure storage with encryption for phone number databases.
- Provide users the ability to update or delete their phone number data (right to erasure).
- Maintain audit logs of phone number access and modifications.
International Data Protection:
- GDPR Compliance (if serving EU users): Phone numbers are considered personal data under GDPR. Ensure:
- Legal basis for processing (consent, contract, or legitimate interest).
- Data minimization β collect only necessary phone number data.
- Privacy notices explaining how phone numbers are used.
- Data subject rights (access, rectification, erasure, and portability).
- Data protection impact assessments for high-risk processing.
- Cross-border data transfers: If storing Guyana phone numbers outside the country, ensure adequate safeguards (standard contractual clauses or adequacy decisions).
SMS/Voice Communication:
- Honor opt-out requests immediately (within 24 hours).
- Do not contact numbers on do-not-call registries.
- Identify your organization in communications.
- Avoid unsolicited marketing to mobile numbers without prior consent.
Record Retention:
- Keep records of consent for a minimum of 2 years after the relationship ends.
- Document the source and date of phone number collection.
For current regulatory requirements, consult the Telecommunications Agency and legal counsel, especially if processing phone numbers at scale or for sensitive purposes. For SMS delivery best practices, see our SMS compliance guide.
Error Handling and Edge Cases
Common Edge Cases to Handle
- Empty or null input: Return early with a validation error.
- Wrong length: Numbers too short (<7 digits) or too long (>15 digits with country code).
- Invalid characters: Letters, special characters beyond +, -, (, ), and spaces.
- Country code variations: Handle +592, 592, and no country code.
- Reserved ranges: 20XXXXX, 3XXXXXXX, 4XXXXXXX, 5XXXXXXX, 7[6-9]XXXXX.
- Whitespace and formatting: Phone numbers with spaces, dashes, and parentheses.
- Leading zeros: Some systems incorrectly add leading zeros.
- International prefix included: User enters 001 or 011 along with the country code.
Enhanced Error Handling Implementation
const ErrorCodes = {
EMPTY_INPUT: 'EMPTY_INPUT',
INVALID_LENGTH: 'INVALID_LENGTH',
INVALID_CHARACTERS: 'INVALID_CHARACTERS',
INVALID_COUNTRY_CODE: 'INVALID_COUNTRY_CODE',
RESERVED_RANGE: 'RESERVED_RANGE',
INVALID_PREFIX: 'INVALID_PREFIX',
UNKNOWN_ERROR: 'UNKNOWN_ERROR'
};
function processGuyanaNumber(input) {
try {
if (!input || input.trim() === '') {
throw { code: ErrorCodes.EMPTY_INPUT, message: 'Phone number cannot be empty' };
}
let cleaned = input.replace(/[\s\-\(\)]/g, '');
if (!/^[\+\d]+$/.test(cleaned)) {
throw { code: ErrorCodes.INVALID_CHARACTERS, message: 'Phone number contains invalid characters' };
}
if (cleaned.startsWith('+592')) {
cleaned = cleaned.substring(4);
} else if (cleaned.startsWith('592')) {
cleaned = cleaned.substring(3);
} else if (cleaned.startsWith('+')) {
throw { code: ErrorCodes.INVALID_COUNTRY_CODE, message: 'Invalid country code (expected +592)' };
}
if (cleaned.length !== 7) {
throw {
code: ErrorCodes.INVALID_LENGTH,
message: `Invalid length: expected 7 digits, got ${cleaned.length}`
};
}
const firstDigit = cleaned[0];
const firstTwo = cleaned.substring(0, 2);
if (['3', '4', '5'].includes(firstDigit)) {
throw { code: ErrorCodes.RESERVED_RANGE, message: `Range ${firstDigit}XXXXXX is reserved` };
}
if (firstTwo === '20') {
throw { code: ErrorCodes.RESERVED_RANGE, message: 'Range 20XXXXX is reserved' };
}
if (firstDigit === '7' && parseInt(cleaned[1]) > 5) {
throw { code: ErrorCodes.RESERVED_RANGE, message: 'Range 7[6-9]XXXXX is reserved' };
}
const type = detectNumberType(cleaned);
if (!type) {
throw { code: ErrorCodes.INVALID_PREFIX, message: 'Invalid number prefix or pattern' };
}
return {
success: true,
e164: `+592${cleaned}`,
local: cleaned,
type: type,
formatted: `+592 ${cleaned.substring(0, 3)}-${cleaned.substring(3)}`
};
} catch (error) {
console.error(`Error processing number: ${error.message}`);
return {
success: false,
error: error.code || ErrorCodes.UNKNOWN_ERROR,
message: error.message || 'Unknown error occurred',
input: input
};
}
}
function runTests() {
const testCases = [
{ input: '2221234', expected: true, description: 'Valid landline' },
{ input: '+5926123456', expected: true, description: 'Valid mobile with country code' },
{ input: '800-1234', expected: true, description: 'Valid toll-free with formatting' },
{ input: '', expected: false, description: 'Empty input' },
{ input: '123', expected: false, description: 'Too short' },
{ input: '20123456', expected: false, description: 'Reserved range 20' },
{ input: '7612345', expected: false, description: 'Reserved range 76' },
{ input: '312345', expected: false, description: 'Reserved prefix 3' },
{ input: 'abcd123', expected: false, description: 'Invalid characters' },
{ input: '+1 592 2221234', expected: false, description: 'Wrong country code format' }
];
testCases.forEach(test => {
const result = processGuyanaNumber(test.input);
const passed = result.success === test.expected;
console.log(`${passed ? 'β' : 'β'} ${test.description}: ${test.input}`);
if (!passed) {
console.log(` Expected: ${test.expected}, Got: ${result.success}`);
if (!result.success) console.log(` Error: ${result.message}`);
}
});
}
Performance Considerations for Bulk Validation
When validating large batches of phone numbers (>1000 records):
Optimization Strategies:
- Compile regex patterns once and reuse them (avoid recompiling in loops).
- Use batch processing with async/await for I/O operations.
- Implement caching for previously validated numbers.
- Consider using compiled validation libraries (e.g., libphonenumber) for performance.
- Parallelize validation across multiple workers/threads for very large datasets.
async function validateBatch(numbers, batchSize = 100) {
const results = [];
for (let i = 0; i < numbers.length; i += batchSize) {
const batch = numbers.slice(i, i + batchSize);
const batchResults = await Promise.all(
batch.map(number => Promise.resolve(processGuyanaNumber(number)))
);
results.push(...batchResults);
if (i % 1000 === 0) {
console.log(`Processed ${i}/${numbers.length} numbers`);
}
}
return results;
}
This comprehensive guide equips developers with the knowledge and tools to handle Guyana phone numbers effectively. By following the best practices and staying informed about regulatory updates, you can ensure seamless integration and reliable communication within your applications.
Validate & Send SMS to Guyana With SMSRoute
Regex catches syntax mistakes, but it cannot tell you whether a mobile number is active, ported to another carrier, or reachable over SMS. Before launching OTP or transactional campaigns into Guyana, pair E.164 normalization with live carrier intelligence and direct Tier-1 termination on SMSRoute.
curl -X POST https://api.sendsmsnokyc.com/v3/messages \
-H "x-api-key: $SMSROUTE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"to": ["+14155551234"],
"channel": ["sms"],
"body": "Your verification code is 482910"
}'
- Live HLR & Carrier Lookup: Verify active status, roaming, and current serving network before you pay to send via SMSRoute HLR Lookup.
- Handset-Verified Route Testing: Audit real SIM delivery, DLR latency, and Sender ID preservation with Live Carrier Testing.
- No-KYC Instant Onboarding: Fund with crypto (BTC/USDT) or card and check exact per-country rates on our live pricing page.
Deliver Global SMS With Direct Carrier Routes
Validate E.164 numbers with live HLR lookup and deliver high-priority OTPs and alerts across 190+ countries on SMSRoute.
Try SMSRoute HLR Lookup β