{
  "url": "https://phonelookup.dev/country/ly",
  "iso": "LY",
  "slug": "ly",
  "name": "Libya",
  "callingCode": 218,
  "exitCode": "00",
  "preferredExitCode": "",
  "trunkPrefix": "0",
  "mobilePortable": false,
  "mobileStarts": [
    "091",
    "092",
    "093",
    "094",
    "095",
    "096"
  ],
  "lineTypes": [
    {
      "type": "mobile",
      "label": "Mobile",
      "regex": "9[1-6]\\d{7}",
      "lengths": [
        9
      ],
      "localOnlyLengths": [],
      "exampleNational": "091-2345678",
      "exampleInternational": "+218 91-2345678",
      "exampleE164": "+218912345678"
    },
    {
      "type": "fixedLine",
      "label": "Fixed line",
      "regex": "(?:2(?:0[56]|[1-6]\\d|7[124579]|8[124])|3(?:1\\d|2[2356])|4(?:[17]\\d|2[1-357]|5[2-4]|8[124])|5(?:[1347]\\d|2[1-469]|5[13-5]|8[1-4])|6(?:[1-479]\\d|5[2-57]|8[1-5])|7(?:[13]\\d|2[13-79])|8(?:[124]\\d|5[124]|84))\\d{6}",
      "lengths": [
        9
      ],
      "localOnlyLengths": [
        7
      ],
      "exampleNational": "021-2345678",
      "exampleInternational": "+218 21-2345678",
      "exampleE164": "+218212345678"
    }
  ],
  "formats": {
    "e164": "+218912345678",
    "international": "+218 91-2345678",
    "national": "091-2345678",
    "rfc3966": "tel:+218-91-2345678"
  },
  "carriers": [
    {
      "name": "Al-Madar",
      "lineType": "mobile",
      "prefixCount": 2,
      "ranges": [
        "091",
        "093"
      ]
    },
    {
      "name": "Libya Telecom & Technology",
      "lineType": "mobile",
      "prefixCount": 2,
      "ranges": [
        "095–096"
      ]
    },
    {
      "name": "Libyana",
      "lineType": "mobile",
      "prefixCount": 2,
      "ranges": [
        "092",
        "094"
      ]
    }
  ],
  "sandbox": {
    "input": "+218912345678",
    "valid": true,
    "type": "Mobile",
    "carrier": "Al-Madar",
    "region": "LY",
    "formats": {
      "e164": "+218912345678",
      "international": "+218 91-2345678",
      "national": "091-2345678",
      "rfc3966": "tel:+218-91-2345678"
    },
    "parts": {
      "countryCode": "+218",
      "destinationCode": "91",
      "destinationKind": "network code",
      "subscriber": "2345678"
    }
  },
  "faq": [
    {
      "question": "How many digits does a phone number in Libya 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 +218 and without the trunk prefix 0."
    },
    {
      "question": "What is the country code for Libya?",
      "answer": "+218. From abroad, dial your own exit code, then 218, then the national number without its trunk prefix 0. From inside Libya, the exit code for international calls is 00."
    },
    {
      "question": "Which prefixes are mobile numbers in Libya?",
      "answer": "Mobile numbers start with 091, 092, 093, 094, 095 or 096 in national form; the mobile regular expression on this page gives the exact ranges (example: 091-2345678). The carrier table shows which prefix blocks were allocated to which operator."
    },
    {
      "question": "Can a mobile number in Libya be ported to another carrier?",
      "answer": "Not on record. The plan data this page is built from does not list mobile number portability for Libya, so the carrier a prefix was allocated to is likely, not certainly, the carrier serving the number. Only a live carrier lookup (an HLR or MNP query) confirms it."
    }
  ],
  "meta": {
    "dataAsOf": "2026-10-25",
    "dataPoints": 13,
    "references": [
      {
        "authority": "ITU",
        "title": "National numbering plan: Libya",
        "url": "https://www.itu.int/oth/T020200007A/en"
      }
    ]
  },
  "neighbours": [
    "https://phonelookup.dev/country/gm.json",
    "https://phonelookup.dev/country/tn.json",
    "https://phonelookup.dev/country/sn.json",
    "https://phonelookup.dev/country/mr.json",
    "https://phonelookup.dev/country/dz.json",
    "https://phonelookup.dev/country/ml.json",
    "https://phonelookup.dev/country/gn.json",
    "https://phonelookup.dev/country/ma.json",
    "https://phonelookup.dev/country/ci.json",
    "https://phonelookup.dev/country/ss.json",
    "https://phonelookup.dev/country/bf.json",
    "https://phonelookup.dev/country/ne.json"
  ]
}
