The invention discloses an all-prefabricated fence having two kinds, namely a see-through fence and a plate fence. The all-prefabricated see-through fence comprises foundation piles (1), bearing steel rings (2), core columns (3), bearing plates (4), slotted blocks (5), fence plates (6), column blocks (7), barriers (8) and column cap blocks (9), and the all-prefabricated plate fence comprises foundation piles (1), steel ring type brackets (10), core columns (3), bearing plates (4), slotted blocks (5), fence plates (6), column cap blocks (9) and copings (11). All the components of the all-prefabricated fence are prefabricated in factories, and the all-prefabricated fence is quick to assemble on site, less in temporary land occupation, few in construction procedures, short in project cycle, good in apparent quality, high in seismic performance, environment friendly and pollution free.