Fences are always creating problems for neighbors. There are many steps that can be taken to avoid disputes with fellow neighbors. Before building a fence, one should check with the local utilities to determine any buried pipes or cables. It is always wise to hire a surveyor to determine the boundaries of your lot. It is wise to consult with your neighbor about the cost of the fence and in the event your neighbor does not wish to contribute towards the fence, you should check with your local musicality. Municipalities have many committees that can determine what portion of the fence each owner shall construct and mostly maintain. The committee will usually determine who should build the fence, if it is necessary and the expense. It is always best to keep in mind that you should never build a fence until the grading of the lot has been completed. If the grading is not finalized, you may have to remove the fence. There are many ways to avoid disputes with your neighbors but it is always best to have clear communication at the planning stages and have the municipality involved.

Source: http://www.thestar.com/life/homes/2009/02/28/dont_take_law_into_own_hands_over_fence_disputes.html