Data from more than 150 African elephants shows that the iconic species plan their journeys based on energy costs and resource availability.