IP addresses in Morocco
Morocco has about 12.3 million IPv4 addresses, 0.33% of the world total we can place in a country. That makes it the 35th largest country by address count. The biggest holder is Itissalat Al-MAGHRIB, and most addresses are registered in Rabat-Salé-Kénitra.
- IPv4 addresses
- 12,325,713
- World rank
- 35 of 245
- Networks
- 77
- Regions
- 13
- Cities
- 390
Source: DB-IP Lite database, 2026-11 edition. IPv4 only. About the data.
Which internet providers have the most IP addresses in Morocco?
Itissalat Al-MAGHRIB is the clear leader with 47.9%, ahead of 76 other networks. Each network below is identified by an ASN (autonomous system number), the ID that providers use to exchange routes with each other.
| Provider | ASN | IPv4 addresses | Share of country |
|---|---|---|---|
| Itissalat Al-MAGHRIB | AS6713 | 5,900,160 | 47.9% |
| Office National des Postes et Telecommunications ONPT (Maroc Telecom) / IAM | AS36903 | 2,486,528 | 20.2% |
| MEDITELECOM | AS36925 | 2,409,472 | 19.5% |
| Wana Corporate | AS36884 | 1,390,848 | 11.3% |
| CNRST (Centre National pour la Recherche Scientifique et Technique) | AS30983 | 17,664 | 0.14% |
| Oracle Corporation | AS31898 | 13,824 | 0.11% |
| MTDS | AS36941 | 9,216 | 0.07% |
| Amazon.com, Inc. | AS16509 | 3,568 | 0.03% |
| Fiber Grid INC | AS37518 | 3,328 | 0.03% |
| SKYLOGIC S.P.A. | AS29286 | 3,072 | 0.02% |
IP addresses by state or region
All 13 regions the database lists. A region's count reflects where address blocks are registered, which is not always where the people using them are.
| Region | IPv4 addresses | Share of country |
|---|---|---|
| Rabat-Salé-Kénitra | 7,130,710 | 57.9% |
| Casablanca-Settat | 3,100,453 | 25.2% |
| Marrakesh-Safi | 504,068 | 4.09% |
| Fes-Meknes | 411,722 | 3.34% |
| Tanger-Tetouan-Al Hoceima | 378,023 | 3.07% |
| Souss-Massa | 292,786 | 2.38% |
| Beni Mellal-Khenifra | 216,233 | 1.75% |
| Oriental | 188,521 | 1.53% |
| Drâa-Tafilalet | 51,014 | 0.41% |
| Guelmim-Oued Noun | 32,943 | 0.27% |
| Laayoune-Sakia El Hamra | 10,024 | 0.08% |
| Fès-Meknès | 8,704 | 0.07% |
| Dakhla-Oued Ed-Dahab | 512 | less than 0.01% |
Cities with the most IP addresses
| City | Region | IPv4 addresses |
|---|---|---|
| Rabat | Rabat-Salé-Kénitra | 6,613,573 |
| Casablanca | Casablanca-Settat | 1,721,349 |
| Méchouar de Casablanca | Casablanca-Settat | 802,916 |
| Marrakesh | Marrakesh-Safi | 305,598 |
| Fes | Fes-Meknes | 169,692 |
| Tangier | Tanger-Tetouan-Al Hoceima | 162,294 |
| Salé | Rabat-Salé-Kénitra | 154,997 |
| Kenitra | Rabat-Salé-Kénitra | 87,044 |
| Lahraouyine | Casablanca-Settat | 82,724 |
| Tit Mellil | Casablanca-Settat | 79,809 |
Sample IP ranges in Morocco
The largest single blocks the database places here. Follow a link to see the full record for the first address in the block.
| Range | Addresses | Estimated location | Network |
|---|---|---|---|
| 105.148.0.0 to 105.153.255.255 | 393,216 | Rabat, Rabat-Salé-Kénitra | Itissalat Al-MAGHRIB |
| 102.72.0.0 to 102.76.136.255 | 297,216 | Rabat, Rabat-Salé-Kénitra | Itissalat Al-MAGHRIB |
| 105.130.0.0 to 105.133.255.255 | 262,144 | Rabat, Rabat-Salé-Kénitra | Itissalat Al-MAGHRIB |
| 105.140.0.0 to 105.143.255.255 | 262,144 | Rabat, Rabat-Salé-Kénitra | Itissalat Al-MAGHRIB |
| 160.166.64.0 to 160.169.255.255 | 245,760 | Rabat, Rabat-Salé-Kénitra | Itissalat Al-MAGHRIB |
Common questions
How many IP addresses does Morocco have?
Morocco has 12,325,713 IPv4 addresses in the DB-IP Lite database dated 2026-11. That is 0.33% of all the addresses the database places in a country, which ranks it 35th in the world.
Which internet provider has the most IP addresses in Morocco?
Itissalat Al-MAGHRIB (AS6713) holds the most, with 5,900,160 addresses, or 47.9% of the country's total. In all, 77 networks have addresses here.
Which city in Morocco has the most IP addresses?
Rabat, Rabat-Salé-Kénitra has the most, with 6,613,573. Counts follow where address blocks are registered or routed, so a city with big data centres or a provider's head office can rank above a larger city.
Does an IP address in Morocco show where someone lives?
No. An IP address points to a network, and its location is an estimate that is usually right about the country and less reliable about the city. It never gives a street address or identifies a person.
Check an address yourself
Use the IP address lookup to see the network and approximate location of any address, or look up your own IP to see where it is placed. For how these estimates are made, read Can an IP address show my exact location?
IP addresses in Denmark · IP addresses in Saudi Arabia · IP addresses in Austria · All countries
Figures come from the 2026-11 DB-IP Lite database and are refreshed when a new edition is loaded. Page updated .
