UK dialling codes · Region

Hampshire UK dialling codes

Hampshire is served by 12 geographic dialling codes in Ofcom’s National Telephone Numbering Plan, anchored on principal towns including Aldershot, Alton, Andover, Basingstoke, Bishops Waltham. Every entry below is a real, currently-allocated 01 or 02 code — tap a card to open the per-town page, where you’ll find the full table of Ofcom-allocated number ranges for that code, the Range Holder behind each block, and a reverse-lookup form for identifying any specific Hampshire caller. The data refreshes weekly from the public Ofcom Numbering Data feed, so allocations are at most seven days old.

All Hampshire dialling codes

Hampshire dialling codes by the numbers

Hampshire carries 12 geographic dialling codes in Ofcom’s plan, anchored on Aldershot (01252), Alton (01420), Andover (01264), Basingstoke (01256), Bishops Waltham (01489) and Fareham (01329) among others. Population estimates are published only for the largest principal towns, so most codes here serve smaller towns without a separate figure. Across these codes we currently track 10,531 allocated Ofcom number ranges, with Rockbourne (01725) holding the most at 992 ranges. The code patterns in use are 01xxx (five-digit area code).

TownCodePopulationRanges tracked
Aldershot01252957
Alton01420794
Andover01264876
Basingstoke01256840
Bishops Waltham01489930
Fareham01329902
Lymington01590866
Petersfield01730848
Ringwood01425920
Rockbourne01725992
Romsey01794722
Winchester01962884

Population is the latest ONS mid-year estimate for the principal town; a dash means no separate figure is published for that smaller town. “Ranges tracked” counts the Ofcom number blocks we have ingested under each code — a live operational figure, not the theoretical capacity of the code.

How Hampshire dialling codes are organised

The UK numbering plan splits geographic codes into 01 (most of the country) and 02 (the largest metros — London 020, Cardiff 029, Belfast 028, Coventry/Northampton 024, Southampton/Portsmouth 023 and Tyneside 0191 sit alongside the 02-series equivalents). The 12 codes listed above for Hampshire all sit inside this geographic block, which means a call to any of them is charged at the caller’s standard local rate (typically included in inclusive call allowances on mobile and landline tariffs). None of these prefixes are revenue-share or premium-rate — those live in the 084x, 087x, 09x and 118x ranges and are listed on our non-geographic prefixes index.

Each town hub on the cards above is fed directly from Ofcom’s published Numbering Data, which lists every 10,000-number block (NDC + four-digit prefix) and the Communications Provider that currently holds the allocation. Following a town link takes you to a page that breaks down every range assigned within that code, the Range Holder behind each block, the allocation status (assigned, reserved, free, withdrawn or returned) and a search form you can drop any full ten-digit number into for a real-time reverse lookup. If the holder has spawned spam-call complaints, the AI internet check at the top of the lookup result will surface that context from public scam-tracking sites and recent news mentions.

Region groupings on this hub follow Ofcom’s own administrative labels rather than ceremonial-county or postal-region boundaries, which is why a town like Slough (01753) sits under Berkshire on this site even though postally it shares an SL postcode with parts of Buckinghamshire. We refresh the underlying allocations weekly from the official feed, and the rendered HTML you’re reading is cached and served from the edge, so every hub here is at most seven days out of date even when Ofcom publishes between our regular refreshes.

FAQs about Hampshire dialling codes

How many dialling codes does Hampshire have?

Hampshire is served by 12 geographic dialling codes in Ofcom's National Telephone Numbering Plan, anchored on towns including Aldershot, Alton, Andover, Basingstoke, Bishops Waltham and others. Each is a standard 01 or 02 geographic code charged at the caller's normal landline rate.

What is the largest town in Hampshire by dialling code?

Population figures are published for only the largest principal towns, so a single largest town can't be ranked for Hampshire from the data we hold. Every code in the region is listed above with its principal town.

Which 01 or 02 code patterns are used in Hampshire?

Hampshire uses 01xxx (five-digit area code). The shortest code in the region is 01252 (Aldershot); shorter codes (three or four digits) belong to the largest metros, while five-digit 01xxx codes cover smaller towns.

Are calls from Hampshire numbers charged at a premium rate?

No. Every Hampshire code above is a geographic 01/02 number, charged at the caller's standard local rate and normally included in inclusive call allowances on mobile and landline tariffs. Premium-rate and revenue-share numbers live in the 084x, 087x, 09x and 118x ranges, none of which appear in this region index.

Source: Ofcom National Telephone Numbering Plan. Page updated 2026-07-01. WhoCalledLookup is not affiliated with Ofcom.