Trees that grow along property lines can become a point of contention between neighbors. This is especially true if the tree is a nuisance to one person but not the other. A tree that drops messy fruit into a neighbor's pool, for example, may be a huge nuisance. You may think the location of the trunk of the tree determines who can trim or prune the tree, but this is not always the case.
If your tree has branches and limbs that protrude or hang down onto your neighbor's property, he can trim them back. The same is true for roots that creep onto your neighbor's property. Common law sides with your neighbor in every state. Pruning should be done carefully, however. If your neighbor is excessive in his pruning and harms or kills the tree, he can be legally held liable for the replacement cost of the tree.
Interestingly, although your neighbor can prune the branches and roots that are on his property, he can't step foot onto your property to do any trimming. If he climbs on a ladder and leans over the fence to trim the branches on your side, he is breaking the law. And, while your neighbor is free to trim the branches to the property line, if those branches hold fruit, he can't have a snack without your permission: That fruit is considered your property, not his.
If fruit falls from the branches of your tree into your neighbor's yard, he may or may not be free to eat it. There is no set precedent for this, and courts have ruled both in favor of the neighbor and in favor of the owner of the tree. Leaves are a different story, however. That fallen foliage floating in your neighbor's pool is considered a product of nature, and it is solely the responsibility of the neighbor to clean it up.
In some states and in some cases, it is your responsibility, not your neighbor's, to keep that tree trimmed. Several state courts have ruled that if encroaching roots or branches are causing serious harm to your neighbor's property, he may have the right to sue you to get you to control your tree. The same holds true for noxious trees. In Arizona, for example, a homeowner may sue her neighbor if a noxious tree is invading her property. As of 2008, California is the only state that allows homeowners to sue neighbors to force them to trim a tree that is not noxious or threatening to property.