Olrig is a parish in Caithness, Scotland. The main settlement in the parish is Castletown.[1] Prior to the 19th century, the parish was sub-divided into ten townlands[citation needed] or "fermlands". Townland boundaries were mostly disregarded and lost during the agricultural improvements in the 19th century, but many townland names remain identifiable with farmstead names ending with Mains.[citation needed]