An opportunistic network is a kind of self‐organizing network that makes use of the encountering opportunities to realize short‐distance wireless communication. Because of the intermittent connectivity between nodes and dynamic network topology, how to devise a reliable and efficient routing approach has become a challenging issue. However, the periodic update mechanism of the node's location information in the existing works costs too much. To address this issue, we propose a location‐aware opportunistic routing (LAOR) approach. In the the proposed LAOR, we first establish a location‐aware prediction model based on the Markov process to predict the node's next location. Then we devise a decision‐making scheme of message forwarding to select the desired relay nodes based on the node's delivery probability. In addition, we introduce a dynamic buffer management strategy to determine the message priority. Finally, we validate the effectiveness of our proposed model and the high efficiency of the LAOR approach. Simulation results demonstrate that the proposed LAOR outperforms the existing Epidemic, Prophet, history‐based prediction routing, and location prediction‐based forwarding for routing using Markov chain algorithms in terms of delivery ratio, overhead ratio, and the number of messages dropped. © 2020 Institute of Electrical Engineers of Japan. Published by John Wiley & Sons, Inc.