AbstractThis paper presents a model predictive control (MPC) approach based on the extended disturbance observer (EDOB) for trajectory tracking of a coaxial octorotor unmanned aerial vehicle (UAV). First, the system dynamic model is derived using Newton–Euler relations in the presence of time‐varying centre of gravity (COG); then, a two‐loop cascade structure is presented to perform the trajectory tracking task. Both loops are controlled using MPC with feedforward compensation based on the EDOB to improve disturbance rejection abilities. When the mass changes, the moment of inertia and COG are affected. The EDOB simultaneously estimates the effects of time‐varying mass, external disturbances, and parametric uncertainties in six degrees of freedom. After obtaining virtual control inputs using designed controllers, constrained control allocation is used to obtain rotors speed in a valid range. The proposed control scheme is evaluated using simulation. The simulation results show the ability of the developed control strategy in accurate trajectory tracking and stable flight in different conditions and being robust to uncertainty and disturbance.