Random address in Morocco

1,525 cities and towns and 1,525 postcode areas in Morocco. Every address keeps a real city, region and postcode together; the street and house number are invented.

TempGeneratorGetting things ready…

Test data: real cities, regions and postcodes with invented streets and house numbers. Not verified for delivery. Do not use them to pass identity or address checks, to order deliveries, or to mislead anyone.

Type 2+ letters and pick a city.

1–100 per batch.

Random addresses in Morocco

10 addresses generated.

  1. Street address
    19 Boulevard Hassan II
    City
    Ait Baha
    Postcode / ZIP
    87100
    State / region
    Souss-Massa
    Country
    Morocco
  2. Street address
    86 Rue Hassiba Ben Bouali
    City
    Tazouta
    Postcode / ZIP
    31004
    State / region
    Fès-Meknès
    Country
    Morocco
  3. Street address
    22 Rue Ibn Battouta
    City
    Lamnakra El Haddada
    Postcode / ZIP
    24224
    State / region
    Casablanca-Settat
    Country
    Morocco
  4. Street address
    16 Avenue Moulay Youssef
    City
    Toulal
    Postcode / ZIP
    50110
    State / region
    Fès-Meknès
    Country
    Morocco
  5. Street address
    31 Boulevard Mohamed Khemisti
    City
    Oulad Belaaguid
    Postcode / ZIP
    40063
    State / region
    Marrakesh-Safi
    Country
    Morocco
  6. Street address
    59 Rue Ibn Battouta
    City
    Ras El Ma
    Postcode / ZIP
    62602
    State / region
    Oriental
    Country
    Morocco
  7. Street address
    6 Avenue de France
    City
    Amskroud
    Postcode / ZIP
    80302
    State / region
    Souss-Massa
    Country
    Morocco
  8. Street address
    121 Avenue Mohammed VI
    City
    Timahdit
    Postcode / ZIP
    33052
    State / region
    Fès-Meknès
    Country
    Morocco
  9. Street address
    28 Avenue Moulay Youssef
    City
    Bouaboute
    Postcode / ZIP
    41073
    State / region
    Marrakesh-Safi
    Country
    Morocco
  10. Street address
    28 Rue de Fès
    City
    Oulad Chrif
    Postcode / ZIP
    35046
    State / region
    Fès-Meknès
    Country
    Morocco

States and regions of Morocco

12
  1. Fès-Meknès 252 places
  2. Souss-Massa 219 places
  3. Marrakesh-Safi 214 places
  4. Béni Mellal-Khénifra 179 places
  5. Casablanca-Settat 134 places
  6. Drâa-Tafilalet 134 places
  7. Tanger-Tetouan-Al Hoceima 124 places
  8. Rabat-Salé-Kénitra 115 places
  9. Oriental 108 places
  10. Guelmim-Oued Noun 34 places
  11. Laâyoune-Sakia El Hamra 9 places
  12. Dakhla-Oued Ed-Dahab 3 places
Population
  1. Al HoceimaTanger-Tetouan-Al Hoceima 395,644
  2. Ait MelloulSouss-Massa 187,652
  3. Dar BouazzaCasablanca-Settat 165,295
  4. TazaFès-Meknès 162,110
  5. SettatCasablanca-Settat 155,333
  6. BerrechidCasablanca-Settat 149,201
  7. Ksar El KebirTanger-Tetouan-Al Hoceima 138,262
  8. LaracheTanger-Tetouan-Al Hoceima 136,505
  9. GuelmimGuelmim-Oued Noun 129,200
  10. TaourirtOriental 112,908
  11. BouskouraCasablanca-Settat 112,501
  12. Fquih Ben SalahBéni Mellal-Khénifra 111,402

Anatomy of an address in Morocco

Postcodes come from GeoNames postal data and belong to the city shown.

Postcode pattern
#####
Regions
12
Cities and towns
1,525
Postcode areas
1,525
  1. 38 Avenue Mohammed VIstreet and number
  2. 15423 Khemis Sidi Yahiapostcode · city
  3. MOROCCOCOUNTRY
A fixed sample for this page. Generate above for new ones.

How to generate random addresses

  1. Choose a country, then a state or region, or search for a city.

  2. Set how many addresses you need (1–100) and generate.

  3. Copy one field, one address or the whole batch, or download it as JSON or CSV.

Where the places come from

Cities, regions and postcodes come from GeoNames under a CC BY 4.0 licence. Streets and house numbers are built from common local street names, so a match with a real address is a coincidence.

Useful for forms and software tests

Test checkout and shipping forms, postcode validation, address layouts in other languages, database seeds and demos. Store postcodes as text: many start with zero or contain letters.

Questions about random addresses

How do you write an address in Morocco?

Line by line: street and number / postcode city / COUNTRY. For example: 38 Avenue Mohammed VI, 15423 Khemis Sidi Yahia, MOROCCO.

What is the postcode format in Morocco?

Morocco uses the postcode pattern #####, where # is a digit and @ is a letter.

Which places can I get a random address for in Morocco?

1,525 cities and towns, for example Al Hoceima, Ait Melloul, Dar Bouazza, Taza, Settat. Pick a region or search for any city.

Are these real addresses?

The city, region and postcode are real and appear together in postal data. The street and house number are invented, so the full address is test data and is not checked for delivery.

Can I generate many addresses at once?

Yes, up to 100 per batch. Copy them all or download JSON or CSV. Places can repeat when a city has few postcodes, but every address in a batch is different.

Can I link to a batch or use it in a script?

Every country, region and city has its own page. Add ?count=25 to the page address to set the batch size, or add &format=json to get JSON.

All countries

247 countries and territories, 493,219 cities and towns, 1,632,591 postcode areas.

Europe 53

Asia 51

North America 41

South America 14

Africa 58

Oceania 27

Antarctica 3