The all-time medal table for all Olympic Games from 1896 to 2020, including Summer Olympic Games, Winter Olympic Games, and a combined total of both, is tabulated below. These Olympic medal counts do not include the 1906 Intercalated Games which are no longer recognized by the International Olympic Committee (IOC) as official Games. The IOC itself does not publish all-time tables, and publishes unofficial tables only per single Games. This table was thus compiled by adding up single entries from the IOC database.
The results are attributed to the IOC country code as currently displayed by the IOC database. Usually, a single code corresponds to a single National Olympic Committee (NOC). When different codes are displayed for different years, medal counts are combined in the case of a simple change of IOC code (such as from HOL to NED for the Netherlands) or simple change of country name (such as from Ceylon to Sri Lanka). As the medals are attributed to each NOC, not all totals include medals won by athletes from that country for another NOC, such as before independence of that country. Names in italic are national entities that no longer exist. The totals of NOCs are not combined with those of their predecessors and successors.
IOCwas invoked but never defined (see the help page).