However, the tree still must be close enough to the house for the canopy to provide shade. A good rule of thumb is to plant the tree at least 20 feet from the house. For larger shade trees, you may ...