He was born of an ancient family at Milan, Italy, in 1784.Шаблон:Sfn
He was descended from Baldassare Castiglione, the author of Il Cortegiano.
Early in life he displayed a great aptitude for languages and numismatics and quickly acquired a mastery of almost all the Indo-European and Semitic languages.
In 1819, he published a description of the Kufic coins in the Gabinetto of Brera at Milan, under the title, Monete cufiche del museo di Milano (Milan, 1819).Шаблон:Sfn
His principal work was done in connection with the Arabic and other Semitic languages, but he also performed good service in several other departments.Шаблон:Sfn
His principal work in Oriental literature is entitled Mémoire géographique et numismatique sur la partie orientale de la Barbarie appelée Afrikia par les Arabes, suivi de recherches sur les Berbères atlantiques (Milan, 1826). In this work, which established his reputation, he endeavours to ascertain the origin and the history of the towns in Barbary whose names are found on Arabic coins.Шаблон:Sfn
Outside of Italy he is perhaps best known by his edition, begun in 1819, of some fragments of the Gothic translation of the Bible by Ulfilas, which had been discovered in 1817 by Cardinal Mai among the palimpsests of the Ambrosian Library. At first Castiglioni brought out some specimens in conjunction with the cardinal, but later at various times he published by himself a number of fragments of the Epistles of St. Paul.Шаблон:Sfn