Moray, or the anglified Morayshire or Elginshire (Mhoireibh in Gaelic) was a county of Scotland, bordering the former Nairnshire to the west, Inverness-shire to the south, and Banffshire to the east. The county town was Elgin.
There were two large detached portions of the County of Moray situated locally in Inverness-shire, and a corresponding part of Inverness-shire situated locally in Morayshire. With the Local Government (Scotland) Act 1889 these parts were merged into the county in which they locally lay. The county shown was initially officially called the anglified Elginshire.
Morayshire is also that name of a registration county for property, and a slightly smaller area is a Lieutenancy Area named Moray. This area consists almost exactly of the rump of the traditional county, without its exclaves in Inverness-shire.