Elephants living near people are more curious and more likely to raid crops – insights that could help reduce human–elephant conflict.