Scoti or Scotti is a Latin name for the Gaels, first attested in the late 3rd century. At first it referred to all Gaels, whether in Ireland or Great Britain, but later it came to refer only to Gaels in northern Britain. The kingdom to which their culture spread became known as Scotia or Scotland, and eventually all its inhabitants came to be known as Scots.
An early use of the word can be found in the Nomina Provinciarum Omnium (Names of All the Provinces), which dates to about AD 312. This is a short list of the names and provinces of the Roman Empire. At the end of this list is a brief list of tribes deemed to be a growing threat to the Empire, which included the Scoti, as a new term for the Irish. There is also a reference to the word in St Prosper's chronicle of AD 431 where he describes Pope Celestine sending St Palladius to Ireland to preach "ad Scotti in Christum" ("to the Scots who believed in Christ").
Thereafter, periodic raids by Scoti are reported by several later 4th and early 5th century Latin writers, namely Pacatus,Ammianus Marcellinus,Claudian and the Chronica Gallica of 452. Two references to Scoti have recently been identified in Greek literature (as ?), in the works of Epiphanius, Bishop of Salamis, writing in the 370s. The fragmentary evidence suggests an intensification of Scoti raiding from the early 360s, culminating in the so-called "barbarian conspiracy" of 367-368, and continuing up to and beyond the end of Roman rule c. 410. The location and frequency of attacks by Scoti remain unclear, as do the origin and identity of the Gaelic population-groups who participated in these raids. By the 5th century, the Gaelic kingdom of Dál Riata had emerged in western Scotland. This kingdom came to culturally and politically dominate their neighbours Pictland, although the process by which the less numerous Scots came to do so is poorly understood. The name came to be applied to all subjects of this now predominantly Goidelic speaking Pictish kingdom - hence the modern terms Scot, Scottish and Scotland.
The etymology of Late Latin Scoti is unclear. It is not a Latin derivation, nor does it correspond to any known Goidelic (Gaelic) term the Gaels used to name themselves as a whole or a constituent population-group. The implication is that this Late Latin word rendered a Primitive Irish term for a social grouping, occupation or activity, and only later became an ethnonym.
Several derivations have been conjectured but none has gained general acceptance in mainstream scholarship. In the 19th century Aonghas MacCoinnich proposed that Scoti came from Gaelic Sgaothaich, meaning "crowd" or "horde".
Charles Oman derived it from Gaelic Scuit, meaning someone cut-off. He believed it referred to bands of outcast Gaelic raiders, suggesting that the Scots were to the Gaels what the Vikings were to the Norse.
More recently, Philip Freeman has speculated on the likelihood of a group of raiders adopting a name from an Indo-European root, *skot, citing the parallel in Greek skotos (), meaning "darkness, gloom".
An origin has also been suggested in a word related to the English scot (as in tax) and Old Norse skot; this referred to an activity in ceremonies whereby ownership of land was transferred by placing a parcel of earth in the lap of a new owner, whence 11th century King Olaf, one of Sweden's first known rulers, may have been known as a scot king.