An underground or hidden electric fence that keeps animals inside an area by sending signals to the animal's collar can cost $100-$350 for a do-it-yourself kit, or $850-$1,500 with professional installation. For details, see How Much Does an Invisible Fence Cost. Related articles: Invisible Fence, Wire Fence, Chain-Link Fence, Wood Fence, Handyman