In ancient history, Hippocrates discussed bile pigments in two of the four humours in the context of a relationship between yellow and black biles. Hippocrates visited Democritus in Abdera who was regarded as the expert in melancholy "black bile".
Relevant documentation emerged in 1827 when M. Louis Jacques Thénard examined the biliary tract of an elephant that had died at a Paris zoo. He observed dilated bile ducts were full of yellow magma, which he isolated and found to be insoluble in water. Treating the yellow pigment with hydrochloric acid produced a strong green color. Thenard suspected the green pigment was caused by impurities derived from mucus of bile.
Leopold Gmelin experimented with nitric acid in 1826 to establish the redox behavior in change from bilirubin to biliverdin, although the nomenclature did not exist at the time. The term biliverdin was coined by Jöns Jacob Berzelius in 1840, although he preferred "bilifulvin" (yellow/red) over "bilirubin" (red). The term "bilirubin" was thought to have become mainstream based on the works of Staedeler in 1864 who crystallized bilirubin from cattle gallstones.
Rudolf Virchow in 1847 recognized hematoidin to be identical to bilirubin. It is not always distinguished from hematoidin, which one modern dictionary defines as synonymous with it but another defines as "apparently chemically identical with bilirubin but with a different site of origin, formed locally in the tissues from hemoglobin, particularly under conditions of reduced oxygen tension." The synonymous identity of bilirubin and hematoidin was confirmed in 1923 by Fischer and Steinmetz using analytical crystallography.
In the 1930s, significant advances in bilirubin isolation and synthesis were described by Hans Fischer, Plieninger, and others, and pioneering work pertaining to endogenous formation of bilirubin from heme was likewise conducted in the same decade. The suffix IXα is partially based on a system developed Fischer, which means the bilin's parent compound was protoporphyrin IX cleaved at the alpha-methine bridge (see protoporphyrin IX nomenclature).
Origins pertaining to the physiological activity of bilirubin were described by Ernst Stadelmann in 1891, who may have observed the biotransformation of infused hemoglobin into bilirubin possibly inspired by Ivan Tarkhanov's 1874 works. Georg Barkan suggested the source of endogenous bilirubin to be from hemoglobin in 1932. Plieninger and Fischer demonstrated an enzymatic oxidative loss of the alpha-methine bridge of heme resulting in a bis-lactam structure in 1942. It is widely accepted that Irving London was the first to demonstrate endogenous formation of bilirubin from hemoglobin in 1950, and Sjostrand demonstrated hemoglobin catabolism produces carbon monoxide between 1949 and 1952. 14C labeled protoporphyrin biotransformation to bilirubin evidence emerged in 1966 by Cecil Watson. Rudi Schmid and Tenhunen discovered heme oxygenase, the enzyme responsible, in 1968.  Earlier in 1963, Nakajima described a soluble "heme alpha-methnyl oxygeanse" which what later determined to be a non-enzymatic pathway, such as formation of a 1,2-Dioxetane intermediate at the methine bridge resulting in carbon monoxide release and biliverdin formation.