The article substantiates the expediency of environmental legal regulation of pasture fencing and analyzes the existing ecological legal restrictions. The author has identified defects in legal regulation that reduce its effectiveness, in particular, the lack of specific requirements for the construction of fences, low effectiveness of penalties and insufficient activity of authorities in allocating protective areas for migratory species. The author substantiates the need to introduce an ecosystem approach to pasture management, including the formation of an ecological framework, the creation of migration corridors and the use of environmentally sound fencing technologies. Based on international experience, specific measures are proposed to improve legal regulation aimed at minimizing the negative effects of enclosure.