The ATC classification explained with a worked example
The ATC system classifies drugs in five levels by organ system, therapeutic use and chemical class. Atorvastatin C10AA05 decoded, with the common pitfalls.
The Anatomical Therapeutic Chemical classification, ATC, sorts active substances into five levels according to the organ or system they act on and their therapeutic, pharmacological and chemical properties. It is maintained by the WHO Collaborating Centre for Drug Statistics Methodology in Oslo. A full code has seven characters, for example C10AA05 for atorvastatin. The system was built to compare drug consumption across countries, so one substance can hold several codes, and the code says nothing about structural similarity or potency.
Five levels decoded with atorvastatin
Read C10AA05 from left to right.
- C is the first level, the anatomical main group. C stands for cardiovascular system.
- C10 is the second level, the therapeutic subgroup. C10 is lipid modifying agents.
- C10A is the third level, the pharmacological subgroup. C10A is lipid modifying agents, plain, as opposed to combinations.
- C10AA is the fourth level, the chemical subgroup. C10AA is HMG CoA reductase inhibitors.
- C10AA05 is the fifth level, the chemical substance. It is atorvastatin.
The fourth level is where most chemists find the system useful, because it usually names a mechanism or a chemical class. Its siblings in C10AA are the other statins: simvastatin C10AA01, lovastatin C10AA02, pravastatin C10AA03, fluvastatin C10AA04, rosuvastatin C10AA07 and pitavastatin C10AA08. The two-digit fifth level is assigned in order of inclusion and carries no meaning beyond identity.
The fourteen anatomical main groups
The first level has fourteen groups, each a single letter. A is alimentary tract and metabolism, B blood and blood forming organs, C cardiovascular system, D dermatologicals, G genito-urinary system and sex hormones, H systemic hormonal preparations excluding sex hormones and insulins, J antiinfectives for systemic use, L antineoplastic and immunomodulating agents, M musculo-skeletal system, N nervous system, P antiparasitic products, R respiratory system, S sensory organs and V various.
The assignment follows the main therapeutic use of the main active ingredient. That is why metformin sits in A10 as a drug used in diabetes, under alimentary tract and metabolism, while a drug acting on the same organ with a different main use may sit elsewhere.
One substance, several codes
Because the classification follows use, a substance with more than one established use, formulation or route gets more than one code. Ibuprofen is the standard example. It is M01AE01 as an oral anti-inflammatory under the musculo-skeletal system. It is C01EB16 as a cardiac therapy, for closing the patent ductus arteriosus in newborns. It is G02CC01 as a topical product for the genito-urinary system and R02AX02 as a throat preparation. Aspirin is likewise N02BA01 as an analgesic and B01AC06 as a platelet aggregation inhibitor.
This has a direct consequence for anyone who uses ATC as a label in a dataset. A drug can carry several codes in different main groups, so a classifier trained on first-level groups needs to handle multi-label records, or choose one code by a rule and say which. DrugCentral explained describes how one public compendium lists all codes for each drug.
What ATC is not
ATC is not a structural classification. Two drugs in the same fourth-level group often share a scaffold, as the statins do, but the group is defined by mechanism and use. Beta blocking agents in C07AB share a pharmacology, not a single ring system. Conversely, two structurally close molecules with different uses land in different groups.
ATC is not a list of indications. The code records the main use chosen for classification, and off-label or secondary uses are not encoded. For indications, read the label or a resource that extracts them.
ATC is not assigned at the salt or formulation level for most substances. Codes attach to the active moiety, so atorvastatin calcium and atorvastatin are both C10AA05. Salts, hydrates and parent compounds explains why that distinction matters when you join data.
Combination products have their own codes. C10BA covers combinations of HMG CoA reductase inhibitors with other lipid modifying agents, and C10BX covers other combinations containing a statin. A combination code does not tell you the components without the index.
Alongside the codes the centre publishes a defined daily dose, DDD, for many substances. The DDD is a statistical unit for the assumed average maintenance dose per day in adults for the main indication. It is a measurement unit for consumption studies, not a recommended dose, and the centre says so.
Using ATC codes in cheminformatics
The hierarchy makes ATC a convenient grouping key. Truncating codes to a prefix groups drugs by therapeutic area or by mechanism class, which is handy for coloring a chemical-space map, for stratifying a train and test split, or for a quick sanity check that a similarity search returns drugs from the expected class. Morgan fingerprints and the Tanimoto coefficient covers the similarity side. The snippet below groups a small table by fourth-level prefix.
from collections import defaultdict
codes = {
"atorvastatin": ["C10AA05"],
"simvastatin": ["C10AA01"],
"ibuprofen": ["M01AE01", "C01EB16", "G02CC01", "R02AX02"],
"aspirin": ["N02BA01", "B01AC06"],
}
by_class = defaultdict(set)
for drug, atc_list in codes.items():
for code in atc_list:
by_class[code[:5]].add(drug)
for prefix, drugs in sorted(by_class.items()):
print(prefix, sorted(drugs))
Three cautions apply. Treat multi-code drugs as multi-label. Remember that the fourth level mixes mechanism-based and chemistry-based groups, so a class label is not a scaffold label. Check the index year, since the centre revises the classification annually and has moved whole groups, for example when protein kinase inhibitors were regrouped under L01E in 2021, which changed imatinib from L01XE01 to L01EA01.
The Drug Catalog on MolForge lists each drug with its ATC class alongside targets, indications and adverse events, and the drug guides explain mechanism and uses.
Key points
- ATC has five levels. Atorvastatin C10AA05 reads cardiovascular, lipid modifying, plain, HMG CoA reductase inhibitor, atorvastatin.
- The fourth level usually names a mechanism or chemical class and is the most useful grouping for chemists.
- One substance can hold several codes when it has several uses or routes, as ibuprofen and aspirin do.
- ATC is a use-based classification for drug statistics, not a structural one and not an indication list.
- Codes and the DDD are revised each year. Record the index year with any ATC label you use.
Questions people ask
- What does the ATC code C10AA05 mean?
- C is the cardiovascular system, C10 is lipid modifying agents, C10A is lipid modifying agents given alone rather than in combination, C10AA is HMG CoA reductase inhibitors, and C10AA05 is atorvastatin. The fifth-level number only identifies the substance within its chemical subgroup.
- Can a drug have more than one ATC code?
- Yes. Codes follow therapeutic use, formulation and route, so ibuprofen has codes under the musculo-skeletal system, cardiac therapy, the genito-urinary system and throat preparations. Aspirin has analgesic and antithrombotic codes. Datasets that use ATC as a label must handle several codes per drug.
- Is the ATC classification based on chemical structure?
- No. It is based on the organ system acted on and on therapeutic, pharmacological and chemical properties, in that order of priority. Fourth-level groups often share a mechanism, and sometimes a scaffold, but the grouping is defined by use, not by structural similarity.
- What is a defined daily dose?
- The defined daily dose, DDD, is the assumed average maintenance dose per day for a drug used for its main indication in adults. It is a unit for drug consumption statistics assigned per ATC code and route of administration, and the WHO centre states that it is not a recommended dose.
Further reading
- Wikipedia, Anatomical Therapeutic Chemical Classification System
- WHO Collaborating Centre for Drug Statistics Methodology, ATC/DDD Index
- DrugCentral
In practice: The protein-target and drug catalogs cross-link UniProt, AlphaFold, Open Targets and DrugCentral records. The data is the public resources' data, shown with its source.