In recent earth observing missions, agile satellites enable various imaging modes beyond the traditional along-track strip imaging. However, it requires maneuvering with boundary conditions of considerable angular velocity, i.e., spin-to-spin maneuvering. This paper proposes an attitude command generation method for spin-to-spin maneuvering that can provide feedforward commands for the attitude control loop. A general solution for arbitrary flight time is provided which steers a satellite to the given final attitude and angular velocity at the prescribed time. In addition, an alternative method is proposed that further improves the maneuvering speed, which is applicable to small-angle maneuvering cases. The proposed solutions are both closed-form which are more intuitive and easier to comprehend than numerical solutions. It also has a great advantage in computational efficiency, which could enable its use on-board in real time. Numer-ical examples demonstrate the performance of the proposed methods in a single maneuvering case as well as in a consecutive maneuver-ing case integrated with a realistic earth observing scenario.(c) 2022 COSPAR. Published by Elsevier B.V. All rights reserved.