{
  "url": "https://phonelookup.dev/country/gh",
  "iso": "GH",
  "slug": "gh",
  "name": "Ghana",
  "callingCode": 233,
  "exitCode": "00",
  "preferredExitCode": "",
  "trunkPrefix": "0",
  "mobilePortable": true,
  "mobileStarts": [
    "02",
    "05"
  ],
  "lineTypes": [
    {
      "type": "mobile",
      "label": "Mobile",
      "regex": "(?:2(?:[0346-9]\\d|5[67])|5(?:[03-7]\\d|9[1-9]))\\d{6}",
      "lengths": [
        9
      ],
      "localOnlyLengths": [],
      "exampleNational": "023 123 4567",
      "exampleInternational": "+233 23 123 4567",
      "exampleE164": "+233231234567"
    },
    {
      "type": "fixedLine",
      "label": "Fixed line",
      "regex": "3082[0-5]\\d{4}|3(?:0(?:[237]\\d|8[01])|[167](?:2[0-6]|7\\d|80)|2(?:2[0-5]|7\\d|80)|3(?:2[0-3]|7\\d|80)|4(?:2[013-9]|3[01]|7\\d|80)|5(?:2[0-7]|7\\d|80)|8(?:2[0-2]|7\\d|80)|9(?:[28]0|7\\d))\\d{5}",
      "lengths": [
        9
      ],
      "localOnlyLengths": [
        7
      ],
      "exampleNational": "030 234 5678",
      "exampleInternational": "+233 30 234 5678",
      "exampleE164": "+233302345678"
    },
    {
      "type": "tollFree",
      "label": "Toll-free",
      "regex": "800\\d{5,6}",
      "lengths": [
        8,
        9
      ],
      "localOnlyLengths": [],
      "exampleNational": "0800 12345",
      "exampleInternational": "+233 800 12345",
      "exampleE164": "+23380012345"
    }
  ],
  "formats": {
    "e164": "+233231234567",
    "international": "+233 23 123 4567",
    "national": "023 123 4567",
    "rfc3966": "tel:+233-23-123-4567"
  },
  "carriers": [
    {
      "name": "MTN",
      "lineType": "mobile",
      "prefixCount": 6,
      "ranges": [
        "024–025",
        "053–055",
        "059"
      ]
    },
    {
      "name": "at",
      "lineType": "mobile",
      "prefixCount": 5,
      "ranges": [
        "023",
        "026–027",
        "056–057"
      ]
    },
    {
      "name": "Telecel",
      "lineType": "mobile",
      "prefixCount": 2,
      "ranges": [
        "020",
        "050"
      ]
    },
    {
      "name": "Expresso",
      "lineType": "mobile",
      "prefixCount": 1,
      "ranges": [
        "028"
      ]
    },
    {
      "name": "National Security",
      "lineType": "mobile",
      "prefixCount": 1,
      "ranges": [
        "029"
      ]
    }
  ],
  "sandbox": {
    "input": "+233231234567",
    "valid": true,
    "type": "Mobile",
    "carrier": "at",
    "region": "GH",
    "formats": {
      "e164": "+233231234567",
      "international": "+233 23 123 4567",
      "national": "023 123 4567",
      "rfc3966": "tel:+233-23-123-4567"
    },
    "parts": {
      "countryCode": "+233",
      "destinationCode": "23",
      "destinationKind": "network code",
      "subscriber": "1234567"
    }
  },
  "faq": [
    {
      "question": "How many digits does a phone number in Ghana have?",
      "answer": "Mobile numbers have 9 national digits. Fixed line numbers have 9 national digits (7 when dialled locally). That is the national number, without the country code +233 and without the trunk prefix 0."
    },
    {
      "question": "What is the country code for Ghana?",
      "answer": "+233. From abroad, dial your own exit code, then 233, then the national number without its trunk prefix 0. From inside Ghana, the exit code for international calls is 00."
    },
    {
      "question": "Which prefixes are mobile numbers in Ghana?",
      "answer": "Mobile numbers start with 02 or 05 in national form; the mobile regular expression on this page gives the exact ranges (example: 023 123 4567). The carrier table shows which prefix blocks were allocated to which operator."
    },
    {
      "question": "Can a mobile number in Ghana be ported to another carrier?",
      "answer": "Yes. Ghana has mobile number portability, so a prefix tells you the carrier a number was originally allocated to, not necessarily the one serving it today. Only a live carrier lookup (an HLR or MNP query) answers that."
    }
  ],
  "meta": {
    "dataAsOf": "2026-10-25",
    "dataPoints": 18,
    "references": [
      {
        "authority": "ITU",
        "title": "National numbering plan: Ghana",
        "url": "https://www.itu.int/oth/T0202000052/en"
      }
    ]
  },
  "neighbours": [
    "https://phonelookup.dev/country/ng.json",
    "https://phonelookup.dev/country/sl.json",
    "https://phonelookup.dev/country/lr.json",
    "https://phonelookup.dev/country/td.json",
    "https://phonelookup.dev/country/cf.json",
    "https://phonelookup.dev/country/mu.json",
    "https://phonelookup.dev/country/bj.json",
    "https://phonelookup.dev/country/cm.json",
    "https://phonelookup.dev/country/cv.json",
    "https://phonelookup.dev/country/tg.json",
    "https://phonelookup.dev/country/ne.json",
    "https://phonelookup.dev/country/st.json"
  ]
}
