Celestial navigation is an important means of maritime navigation; it can automatically achieve inertially referenced positioning and orientation after a long period of development. However, the impact of different accuracy of observations and the influence of nonstationary states, such as ship speed change and steering, are not taken into account in existing algorithms. To solve this problem, this paper proposes an adaptively robust maritime celestial navigation algorithm, in which each observation value is given an equivalent weight according to the robust estimation theory, and the dynamic balance between astronomical observation and prediction values of vessel motion is adjusted by applying the adaptive factor. With this system, compared with the frequently used least square method and extended Kalman filter algorithm, not only are the real-time and high-precision navigation parameters, such as position, course, and speed for the vessel, calculated simultaneously, but also the influence of abnormal observation and vessel motion status change could be well suppressed.