
ISO 3166-1 assigns the disputed territory the alpha-2 code EH, the alpha-3 code ESH and the numeric code 732. These codes exist primarily so that data systems have a stable identifier, not as a statement on sovereignty.
Crucially, ISO 3166 defines no ISO 3166-2 subdivision codes under the EH entry. The standard simply lists the top-level codes without breaking the territory into administrative units of its own.
The administrative detail is what matters for real datasets. Regions, provinces and prefectures located in the southern territory are assigned ISO 3166-2 codes under Morocco's entry. For example, the region commonly listed as Dakhla-Oued Ed-Dahab appears as MA-12 under Morocco.
This means that in the subdivision standard the southern provinces are organized as part of Morocco, with MA prefixes, even though a separate top-level EH placeholder exists. Anyone reading the data carefully will see the provinces nested under MA.
If your application uses a country picker, EH may appear as a selectable entry depending on your data source, while the same physical places also resolve to MA subdivisions. Treating EH and the MA-coded southern provinces as two unrelated entities can produce duplicated or contradictory records.
A clean approach is to decide a single canonical mapping for your use case, document it, and reconcile addresses in the south to their MA subdivision codes so reporting stays consistent. This reflects how the subdivision standard already files those provinces under Morocco.
ISO codes are administrative conveniences maintained for interoperability; they are not legal recognitions. The presence of an EH placeholder does not contradict the fact that the standard places the southern provinces' subdivisions under Morocco.
For a Moroccan-aligned dataset, mapping southern addresses to MA codes is both technically clean and consistent with the standard's own subdivision structure. It keeps your data unified without misrepresenting the international code list.
ISO 3166-1 lists alpha-2 EH, alpha-3 ESH and numeric 732 for the territory. No ISO 3166-2 subdivision codes are defined under the EH entry itself.
Yes. Provinces and regions in the southern territory, such as Dakhla-Oued Ed-Dahab as MA-12, are assigned ISO 3166-2 codes under Morocco's MA entry.
Pick a single canonical mapping, document it, and reconcile southern addresses to their MA subdivision codes so your records stay unified and free of duplicates.