Frequently Asked Questions
Area code 940 covers a wide area of north-central Texas, including cities like Denton, Wichita Falls, Sanger, Krum, Pilot Point, Justin, Aubrey, Burkburnett, and Iowa Park. It also extends into numerous counties such as Cooke, Palo Pinto, Wise, Young, Parker, and more. Developers should be aware of this broad coverage for location-based applications.
10-digit dialing became mandatory for area code 940 on October 24, 2021. This change was implemented to accommodate the 988 Suicide & Crisis Lifeline. Both standard and permissive dialing now require the 1+10D format (1 + area code + 7-digit number) for all calls, including local ones.
After October 24, 2021, all calls within area code 940 require 10-digit dialing, including the area code. Dial 1 + 940 + the 7-digit number. Failing to include the area code will result in a failed call, so developers must ensure their applications use this format.
The approximate center of area code 940 is located at Latitude: 33.21484 and Longitude: -97.13307. While these coordinates provide a central reference point, remember the 940 area covers a wide region, important for developers of location-aware apps.
Area code 940 requires 10-digit dialing due to the implementation of the 988 Suicide & Crisis Lifeline. This nationwide change required all areas that use 988 as a local prefix to adopt 10-digit dialing. This ensures calls to 988 reach the lifeline while allowing existing 988 prefixes in 940 to remain functional.
Area code 940 covers north-central Texas, including diverse areas from urban centers to rural communities. This area holds economic significance with major industries such as education, agriculture, and manufacturing, relevant information for developers targeting users within this area.
Area code 940 was split from area code 817 on July 7, 1997. The split became necessary due to the increasing demand for phone numbers driven by growth in the north-central Texas region and the rise of cell phones, fax machines, and internet connections.
The North American Numbering Plan Administration (NANPA) manages area code 940. NANPA allocates area codes, assigns prefixes to telecom providers, and oversees the numbering plan. Developers should consult NANPA for updates and regulations, such as number pooling guidelines.
Validate area code 940 numbers using regular expressions or specialized libraries. Ensure the input adheres to the 1+10D format, which includes 1, the area code, and the 7-digit number. This prevents invalid input and ensures your application connects calls correctly.
NANPA, the North American Numbering Plan Administration, oversees area code 940 and its regulations. Understanding NANPA guidelines, such as number pooling or dialing pattern changes, is crucial for developers building telephony applications to maintain compliance and functionality within the 940 area code.
Area code 940 covers several counties in Texas, notably including Denton County and Wichita County. However, the 940 area code extends into numerous other counties such as Cooke, Palo Pinto, Wise, Young, and Parker, among others, representing a diverse geographic region.
Developers should consider the history of area code 940, particularly its split from 817 in 1997 due to increased demand, to understand the dynamic nature of telecommunications. This historical context informs the need for efficient number management and designing adaptable applications that can accommodate future changes in the numbering plan.
Area Code 940: Coverage, Cities, and More
Master area code 940 in Texas with this comprehensive developer guide covering 79 cities, 23 counties, and 10-digit dialing requirements in North Texas. Learn about Denton, Wichita Falls, Central Time zone coverage, FCC and NANPA regulations, 988 Suicide & Crisis Lifeline implementation, and best practices for building telephony applications serving the 940 area code region.
Area code 940 serves north-central Texas as part of the North American Numbering Plan (NANP), covering approximately 2.6 million residents across the Denton and Wichita Falls metropolitan areas. This guide provides developers with essential information about geographic coverage, 988 implementation, mandatory 10-digit dialing (effective October 24, 2021), Central Time zone (CT/GMT-6) considerations, and practical integration strategies for SMS, voice, and telephony systems.
What You'll Learn:
Prerequisites: Basic understanding of NANP structure, E.164 phone number formatting, and telecommunications APIs.
Where is Area Code 940? Geographic Coverage Map
Area code 940 is located in Texas, covering the north-central region of the state. Area code 940 encompasses urban centers, suburban communities, and rural areas across the Denton and Wichita Falls metropolitan regions. This area code spans 23 counties and serves 79 cities, providing service to approximately 2,635,129 residents.
Time Zone: All area code 940 locations are in the Central Time zone (CT), which is GMT-6 (or GMT-5 during Daylight Saving Time). This is critical for developers scheduling calls, SMS messages, and ensuring TCPA compliance with time-of-day restrictions.
Economic Context: The region's economy is anchored by several key industries. According to the Texas Comptroller's 2024 Northwest Region report, the largest employment sectors include restaurants and food services (16,798 employees), elementary and secondary schools (16,465 employees), and healthcare services (10,782+ hospital employees). The region shows specialization in manufacturing (lime/gypsum products, clay products, footwear), oil and gas extraction, cattle ranching, and electric power generation. Average annual wages in the region were $49,389 in 2022, with median household income at $54,037 (2021). Key employers include Sheppard Air Force Base (Wichita Falls), University of North Texas (Denton), and major healthcare systems.
Current Status: Area code 940 is not currently in jeopardy and will not run out of numbers before a change can be made, with no relief planning currently underway. There are currently no overlays – this is the only area code for these geographic regions.
Area Code 940 Cities: Complete List of Major Cities
While Denton is often the first city associated with area code 940, the coverage area encompasses a much broader range of locations across Texas. Knowing these locations helps when developing location-aware applications or targeting specific demographics.
Major Cities by Population (2024–2025 data):
Denton County: Home to the University of North Texas and Texas Woman's University, Denton is a major hub for education and culture with a median age of 31 and median household income of $73,719 (2023). The city's population is 54.6% White, 25.1% Hispanic, and 11.5% Black. Other significant cities in Denton County within area code 940 include Sanger, Krum, Pilot Point, Justin, and Aubrey.
Wichita County: Home to Wichita Falls (population 102,372 in 2024), a city with a strong military presence due to Sheppard Air Force Base. The racial composition includes 58.4% White, 22.4% Hispanic, and 12.5% Black, with a median household income of $58,568 (2023). Other notable cities in Wichita County include Burkburnett and Iowa Park.
Additional Counties and Cities: Area code 940 extends into numerous other counties, including Cooke, Palo Pinto, Wise, Young, Parker, Wilbarger, Clay, Archer, Jack, Childress, Haskell, Hardeman, Baylor, Knox, Throckmorton, and Stonewall. Consider this breadth of coverage when designing applications that interact with phone numbers.
Latitude and Longitude: Pinpointing the 940 Area
General geographic descriptions are helpful, but precise coordinates are necessary for developers working with mapping or location-based services. The approximate center of the 940 area code is:
These coordinates provide a central reference point, but remember that the 940 area code covers a wide expanse – account for this range when developing location-aware applications.
Mapping Example (JavaScript with Leaflet):
10-Digit Dialing and Regulatory Information
Understanding the dialing patterns and regulatory framework of area code 940 is essential for building telephony applications. Correct dialing procedures ensure your application connects calls accurately and efficiently.
10-Digit Dialing Mandatory for Area Code 940
As of October 24, 2021, 10-digit dialing became mandatory for all calls within area code 940. This change, implemented by the FCC to accommodate the nationwide 988 Suicide & Crisis Lifeline, requires callers to dial both the area code and the 7-digit phone number, even for local calls. This is critical for developers to incorporate into their applications – failing to implement 10-digit dialing will result in failed calls. Design your applications to handle the most current dialing patterns.
Implementation Timeline:
Standard Dialing Formats:
Technical Implementation Requirements:
Valid vs Invalid Formats:
Phone Number Validation Code Examples:
Python with phonenumbers library:
JavaScript with libphonenumber-js:
Regular Expression for Quick Validation:
Regulatory Framework: The Role of NANPA and the FCC
The North American Numbering Plan Administration (NANPA) manages area codes and numbering resources, while the Federal Communications Commission (FCC) provides oversight and establishes telecommunications regulations. NANPA allocates area codes, assigns prefixes to telecommunication providers, and oversees the overall numbering plan. Developers should be aware of NANPA's role and consult their resources for the latest information on numbering plan updates and regulations. This information is vital for maintaining compliance and ensuring your applications function properly. For example, NANPA's guidelines on number pooling – where numbers are assigned in smaller blocks than the traditional 10,000 – can impact how you acquire and manage phone numbers for your applications. This is particularly relevant if your application requires a large volume of numbers.
STIR/SHAKEN Caller ID Authentication Requirements
If you're building telephony applications that originate or transmit calls, you must comply with FCC STIR/SHAKEN requirements for caller ID authentication. STIR/SHAKEN (Secure Telephone Identity Revisited / Signature-based Handling of Asserted Information Using toKENs) digitally validates caller ID information to combat spoofed robocalls.
Key Compliance Requirements for Developers (as of 2024–2025):
For Application Developers:
TCPA Compliance Requirements
The Telephone Consumer Protection Act (TCPA) regulates telemarketing calls, autodialed calls, and text messages. Developers building applications that send SMS or make calls to area code 940 numbers must comply with TCPA regulations.
Critical TCPA Requirements (2025 Updates):
TCPA Compliance Checklist for Developers:
Penalties: TCPA violations can result in $500–$1,500 per violation, with class action lawsuits common (507 TCPA class actions filed in Q1 2025, a 112% increase year-over-year).
History and Evolution: From 817 to 940
Area code 940 was created on July 7, 1997, as a split from the existing 817 area code. This split was necessary due to increasing demand for phone numbers in the rapidly growing north-central Texas region. The proliferation of cell phones, fax machines, and internet connections contributed to this demand. Understanding this historical context helps developers appreciate the dynamic nature of the telecommunications landscape and the ongoing need for efficient number management. As the demand for phone numbers continues to evolve, developers should anticipate future changes and design their applications with flexibility and adaptability in mind.
Practical Implications for Developers: Building Robust Applications
When developing applications that interact with the telephone network, consider these best practices:
Validate User Input: Always validate user-provided phone numbers to ensure they conform to the 1+10D format. Use libraries like
libphonenumber
(Python:phonenumbers
, JavaScript:libphonenumber-js
) instead of writing custom regex.Normalize to E.164: Store all phone numbers in E.164 format (+19407XXXXXX) in your database for consistency and international compatibility.
Display in User-Friendly Formats: Present numbers as (940) XXX-XXXX for better readability while maintaining E.164 in storage.
Handle Dialing Variations: While 1+10D is the standard, some users might still attempt to dial using 7 digits or other variations. Your application should gracefully handle these scenarios and provide clear feedback to the user.
Implement Proper Error Messages: When validation fails, provide specific, actionable error messages like "Please enter a 10-digit phone number including area code" rather than generic "Invalid input."
Stay Updated: Telecommunication regulations and dialing patterns can change. Stay informed about updates from NANPA and the FCC to ensure your application remains compliant and functional.
Test Across Carriers: Verify your application works correctly with different carriers serving the 940 area (AT&T, Verizon, T-Mobile).
Implement Rate Limiting: Protect your application and avoid TCPA violations by implementing appropriate rate limiting for outbound calls and SMS.
Respect Time Zones: Area code 940 is in Central Time (CT). Schedule calls and messages appropriately to avoid contacting users outside 8 AM – 9 PM CT.
Advanced Implementation Considerations:
Frequently Asked Questions About Area Code 940
What cities are covered by area code 940?
Area code 940 covers 79 cities across 23 counties in north-central Texas, including major cities like Denton (165,998 population), Wichita Falls (102,372), Gainesville, Mineral Wells (15,100), and Vernon. The coverage area serves approximately 2.6 million residents and extends through Denton County, Wichita County, Cooke County, Palo Pinto County, and 19 other counties.
Where is area code 940 located?
Area code 940 is located in Texas, specifically in the north-central region of the state. It covers the Denton and Wichita Falls metropolitan areas and surrounding communities across 23 counties and 79 cities.
What time zone is area code 940?
Area code 940 is in the Central Time zone (CT), which is GMT-6 (or GMT-5 during Daylight Saving Time). All locations within the 940 area code observe Central Time, which is critical for developers scheduling calls and ensuring TCPA compliance with time-of-day restrictions (8 AM – 9 PM local time).
When did 10-digit dialing become mandatory for area code 940?
10-digit dialing became mandatory on October 24, 2021 for all calls within area code 940. This change was implemented by the FCC to support the 988 Suicide & Crisis Lifeline, which launched nationwide on July 16, 2022. A permissive dialing period ran from April 24 to October 24, 2021, allowing both 7-digit and 10-digit dialing before the mandate took effect.
When was area code 940 created?
Area code 940 was created on July 7, 1997 as a split from area code 817. The split was necessary due to increasing demand for phone numbers driven by the proliferation of cell phones, fax machines, and internet connections in the rapidly growing north-central Texas region.
Is area code 940 getting an overlay?
No, area code 940 is not currently in jeopardy and will not run out of numbers. There is no relief planning or overlay currently underway. Area code 940 remains the only area code for its geographic coverage area with no immediate plans for changes.
What is the 988 Suicide & Crisis Lifeline and how does it affect area code 940?
The 988 Suicide & Crisis Lifeline is a nationwide three-digit number for mental health crisis support that became operational on July 16, 2022. To prevent confusion with existing phone numbers starting with 988, the FCC mandated 10-digit dialing for area code 940 and over 80 other area codes. Callers must now dial the area code + 7-digit number for all calls, even local ones.
What are the latitude and longitude coordinates for area code 940?
The approximate center of area code 940 is located at latitude 33.21484 and longitude -97.13307. However, the area code covers a wide geographic expanse across north-central Texas, so developers building location-based services should account for this range when implementing geographic routing or mapping features.
How do I validate phone numbers for area code 940?
Validate area code 940 numbers using the 1+10D format (1 + area code + 7-digit number). Use libraries like Google's
libphonenumber
(Python:phonenumbers
, JavaScript:libphonenumber-js
) for robust validation. Your validation should accept formats like +1-940-XXX-XXXX, 1-940-XXX-XXXX, (940) XXX-XXXX, or 940-XXX-XXXX, then normalize to E.164 format (+19407XXXXXX) for storage. See code examples above for Python and JavaScript implementations.What is NANPA and how does it relate to area code 940?
NANPA (North American Numbering Plan Administration) manages area codes and numbering resources across the North American Numbering Plan. NANPA allocates area codes like 940, assigns number blocks (prefixes) to telecommunications providers, and oversees number pooling where numbers are assigned in blocks smaller than the traditional 10,000. The FCC provides regulatory oversight for NANPA's operations.
What major universities are located in area code 940?
Area code 940 includes several major educational institutions in Denton County, most notably the University of North Texas (enrollment ~40,000+) and Texas Woman's University (enrollment ~15,000+) in Denton. These universities contribute significantly to the region's education-focused economy and bring a large student population to the area code's coverage zone. Additionally, Midwestern State University serves the Wichita Falls area.
Do I need to dial 1 before the area code for local calls in area code 940?
While 10-digit dialing (area code + 7-digit number) is mandatory for local calls within area code 940, the "1" prefix before the area code is typically required for long-distance calls and depends on your carrier. Most modern telephony systems and mobile carriers handle this automatically, but developers should implement the 1+10D format (1 + area code + 7-digit number) for maximum compatibility across different carriers and systems.
What are STIR/SHAKEN requirements for area code 940?
STIR/SHAKEN is FCC-mandated caller ID authentication technology required for voice service providers since June 30, 2021. If you're building telephony applications that originate calls to area code 940 numbers, work with STIR/SHAKEN-compliant providers, properly configure your Service Provider Code (SPC) token, and never spoof caller ID information. All providers must file certifications in the Robocall Mitigation Database.
What TCPA rules apply to calling area code 940 numbers?
The Telephone Consumer Protection Act (TCPA) requires prior express written consent for autodialed calls and texts to wireless numbers. New rules effective January 27, 2025 require one-to-one consent for each seller, and April 11, 2025 rules mandate processing opt-outs within 10 business days. Respect Central Time zone restrictions (no calls before 8 AM or after 9 PM), honor the Do Not Call Registry, and maintain detailed consent documentation to avoid penalties of $500–$1,500 per violation.
Next Steps for Area Code 940 Telephony Integration
Now that you understand area code 940 telecommunications, enhance your implementation with these production-ready features:
Implement 10-Digit Validation – Use
libphonenumber
library (Python:phonenumbers
, JavaScript:libphonenumber-js
) to validate 940 area code numbers in 1+10D format and normalize to E.164 standard (+19407XXXXXX). See code examples above.Add Geographic Routing – Use the 23-county coverage data and latitude/longitude coordinates (33.21484, -97.13307) to implement location-aware call routing for emergency services or local business directories.
Configure 988 Handling – Ensure your telephony application properly routes 988 calls to the Suicide & Crisis Lifeline and doesn't block or misroute these critical calls.
Implement STIR/SHAKEN Compliance – Work with STIR/SHAKEN-compliant telephony providers, configure SPC tokens properly, and file required certifications in the Robocall Mitigation Database.
Enable TCPA Compliance – Implement consent tracking, provide clear opt-out mechanisms (STOP for SMS), process opt-outs within 10 business days, and respect Central Time zone restrictions (8 AM – 9 PM).
Monitor NANPA Updates – Subscribe to NANPA notifications and FCC announcements to stay informed about potential future changes to area code 940 or new overlay implementations.
Handle Legacy 7-Digit Input – Implement graceful error handling for users who attempt to dial 7-digit numbers, providing clear feedback about the 10-digit dialing requirement with specific error messages.
Test Multi-Carrier Compatibility – Verify your application works correctly across different carriers serving the 940 area (AT&T, Verizon, T-Mobile), including proper handling of the 1+10D format.
Implement Number Pooling Logic – If your application requires large volumes of phone numbers, understand NANPA's number pooling guidelines for acquiring numbers in blocks smaller than 10,000.
Set Up Monitoring and Logging – Implement comprehensive logging for all telephony operations, consent tracking, opt-outs, and compliance activities to support audits and troubleshooting.
Additional Resources:
Conclusion: A Developer's Perspective on Area Code 940
This guide has provided you with a comprehensive overview of area code 940, going beyond basic information to explore its geographic, regulatory, and historical context. By understanding the mandatory 10-digit dialing requirements, implementing proper phone number validation with libraries like
libphonenumber
, ensuring STIR/SHAKEN caller ID authentication compliance, and adhering to TCPA regulations, you can develop robust and compliant telephony applications that serve the needs of users in north-central Texas.Key Takeaways:
Always validate user input, handle dialing variations gracefully, implement comprehensive error handling, and stay updated on the latest telecommunications regulations to ensure your applications remain compliant and functional. With proper implementation of the techniques and best practices covered in this guide, you'll build telephony applications that are reliable, compliant, and user-friendly for the 2.6+ million residents served by area code 940.