Harnessing high-precision vessel trajectory prediction holds great promise for enhancing autonomous and safe navigation towards e-navigation. However, many technical researchers and maritime managers realize that only accurate prediction of vessel trajectory is insufficient, extraction and recognition of navigation intentions from vessel around is still crucial issue and gap in current prediction models. In response to solve this shortcoming, we propose an intention-aware model for vessel trajectory prediction, which leverages both of spatial–temporal intentions and dual joint attentions network, namely STIA-DJANet. First, the double intentions of spatial–temporal aware is designed to extract the social relationships between the own vessel trajectory and neighboring trajectories at each timestamp, effectively capturing dynamic changes in their interactions. Second, feature fusion of dual joint attentions for double intentions is proposed to extract navigation features from the intention-aware module, which can be integrated into trajectory prediction. In experiments, numerical results and comparisons on three real-world datasets demonstrate that our framework outperforms state-of-the-art models in terms of the average displacement error (ADE) and final displacement error (FDE) metrics. The average improvements were 42.852% and 44.726%, respectively. Reliable prediction results can significantly advance the development of e-navigation systems development.