Key:addr:country
| Description |
|---|
| The country code of the current address. |
| Group: addresses |
| Used on these elements |
| Documented values: 106 |
| Useful combination |
| See also |
|
| Status: de facto |
| Tools for this tag |
The country code of the current address. For most addresses, the country can be inferred from the location of the feature within the country's boundary relation.
Use the ISO 3166-1 alpha-2 two letter country code in upper case.
Example: "GB" for the United Kingdom (not "UK"!), "DE" for Germany, "CH" for Switzerland, "AT" for Austria, "FR" for France, "IT" for Italy.
The tag can be applied to any address (on building ways or address nodes of buildings) or mainly POIs (with amenity tags).
Note: "XK" is sometimes used for Kosovo, "AB" for Abkhazia
In OSM, such tagging is rare in countries with few direct neighbors (AU, NZ, US).
Where to use
This key is necessary in exceptional cases such as:
- The mailing address requires the inclusion of the country name even when sending domestically (does this ever happen?)
- The feature lies in an area disputed between two countries but the specified physical or mailing address is recognized by only one of the countries
- The feature falls in two different countries but primarily receives mail via one country's postal service, such as the Haskell Free Library & Opera House
- The address falls outside of any country, such as McMurdo Post Office, which is located on Antarctica and served by the United States Postal Service
In some countries, it is common to explicitly add this key even if it is functionally redundant.
See also
Possible tagging errors
Spelled out country names
Samples, possibly resolved since:
Invalid codes
Counts are regularly updated, please add more invalid ones:
Values incoherent with the country
Two Overpass requests to find values that are not coherent with the country:
Replace "Liechtenstein" and "LI" with the pair you want to check.
Both can bring correctly tagged features across national borders.
[out:json][timeout:100];
// Other than "LI" in Liechtenstein (none in March 2026)
{{geocodeArea:Liechtenstein}}->.searchArea;
(
nwr["addr:country"]["addr:country"!="LI"](area.searchArea);
);
out meta geom;
[out:json][timeout:100];
// "LI" outside Liechtenstein (none in March 2026)
{{geocodeArea:Liechtenstein}}->.searchArea;
(
nwr["addr:country"="LI"];
-
nwr["addr:country"="LI"](area.searchArea);
);
out meta geom;
Values that should use another key
Samples (remove when resolved or keep in mind when checking taginfo):
