This depends on how friendly you are with your neighbours. The closest you can plant to the wall or fence is 45cm (18”) but you will want to make sure you can trim branches on the boundary size or you could risk the hedge pushing into the fence or wall as it grows potentially causing damage.
Once the hedge is fully established it will be too dense to allow the light through to the fence side. Without the light on the fence side it will stop growing so you will no longer have to trim here. However, it will protrude over the top of the fence into your neighbours garden so you may have to trim it from their side.
Posted in: Planting