How to avoid your neighbours