How far to keep away from mature trees building a wall?
Equally, digging a wall foundation can damage a mature tree if dug too close, say within 5 metres, depending on the tree, location, soil, after-care etc. Closer and the damage increases, potentially.
It is best to keep the tree and the wall as far apart as possible. Too close and one or other, or both, can be damaged.