Refers to a fence, wall, or barrier that encloses an outdoor area, such as a garden or property boundary.
We need to repair the garden's outer fence.
Compound of 外 (そと, 'outside') and 囲い (がこい, 'enclosure'). The exact historical derivation is uncertain, but the meaning is transparent from its components.