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.

ProviderASNIPv4 addressesShare of country
Itissalat Al-MAGHRIBAS67135,900,16047.9%
Office National des Postes et Telecommunications ONPT (Maroc Telecom) / IAMAS369032,486,52820.2%
MEDITELECOMAS369252,409,47219.5%
Wana CorporateAS368841,390,84811.3%
CNRST (Centre National pour la Recherche Scientifique et Technique)AS3098317,6640.14%
Oracle CorporationAS3189813,8240.11%
MTDSAS369419,2160.07%
Amazon.com, Inc.AS165093,5680.03%
Fiber Grid INCAS375183,3280.03%
SKYLOGIC S.P.A.AS292863,0720.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.

RegionIPv4 addressesShare of country
Rabat-Salé-Kénitra7,130,71057.9%
Casablanca-Settat3,100,45325.2%
Marrakesh-Safi504,0684.09%
Fes-Meknes411,7223.34%
Tanger-Tetouan-Al Hoceima378,0233.07%
Souss-Massa292,7862.38%
Beni Mellal-Khenifra216,2331.75%
Oriental188,5211.53%
Drâa-Tafilalet51,0140.41%
Guelmim-Oued Noun32,9430.27%
Laayoune-Sakia El Hamra10,0240.08%
Fès-Meknès8,7040.07%
Dakhla-Oued Ed-Dahab512less than 0.01%

Cities with the most IP addresses

CityRegionIPv4 addresses
RabatRabat-Salé-Kénitra6,613,573
CasablancaCasablanca-Settat1,721,349
Méchouar de CasablancaCasablanca-Settat802,916
MarrakeshMarrakesh-Safi305,598
FesFes-Meknes169,692
TangierTanger-Tetouan-Al Hoceima162,294
SaléRabat-Salé-Kénitra154,997
KenitraRabat-Salé-Kénitra87,044
LahraouyineCasablanca-Settat82,724
Tit MellilCasablanca-Settat79,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.

RangeAddressesEstimated locationNetwork
105.148.0.0 to 105.153.255.255393,216Rabat, Rabat-Salé-KénitraItissalat Al-MAGHRIB
102.72.0.0 to 102.76.136.255297,216Rabat, Rabat-Salé-KénitraItissalat Al-MAGHRIB
105.130.0.0 to 105.133.255.255262,144Rabat, Rabat-Salé-KénitraItissalat Al-MAGHRIB
105.140.0.0 to 105.143.255.255262,144Rabat, Rabat-Salé-KénitraItissalat Al-MAGHRIB
160.166.64.0 to 160.169.255.255245,760Rabat, Rabat-Salé-KénitraItissalat 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 .