ABSTRACT This study focuses on the task planning problem of the blended-wing-body underwater glider (BWBUG), which must autonomously navigate through a sequence of underwater visitation points while ensuring safety and economy. Firstly, the task planning problem of the BWBUG is analysed, with attention given to operational space and task requirements. Subsequently, a bi-level planning framework that incorporates both the bottom-level and top-level planners is proposed. The bottom-level planner optimises the glide path between any two visit points by considering safety and glide angle constraints, with the objective of minimising energy usage. The top-level planner focuses on the task constraints and optimises the global visitation path of the BWBUG to achieve the objective of global energy minimisation. Simulations demonstrate the effectiveness of the bi-level based task planning strategy proposed in this study. The solution algorithms are highly competitive, capable of planning rational global visitation paths for the BWBUG.