early 14c., barere, from Anglo-French barrere, Old French barriere "obstacle, gatekeeper," from barre "bar" (see bar (n.1)). First record of barrier reef is from 1805.
barrier bar·ri·er (bār'ē-ər)
n.
A structure, such as a fence, built to bar passage.
A boundary or limit.
An obstacle or impediment.
Something that separates or holds apart.
Something immaterial that obstructs or impedes behavior.
A physical or biological factor that limits the migration, interbreeding, or free movement of individuals or populations.