During offshore wind power operation and maintenance activities, personnel transfer and boarding procedures involve numerous safety risks. is a highly effective solution for enhancing safety during ship transfers at sea. This paper designs a compact active motion-compensating lightweight gangway capable of compensating for multi-degree-of-freedom motions induced by sea waves, including roll, pitch, yaw, and heave. The structural design is first established, and based on this configuration, the output forces of the rotary electric cylinder, roll electric cylinder, and pitch electric cylinder are analyzed. A finite element method was employed to conduct a static analysis of the gangway under extreme loading conditions. Analysis of the first six modal orders revealed that the first natural frequency of the designed gangway is significantly higher than the wave frequency, thereby effectively preventing resonance phenomena. The forward transformation matrix of the gangway was simulated using the Denavit-Hartenberg (DH) method. Simulation results indicate that the working space of the lightweight gangway meets the preset motion range requirements, thereby validating the design’s feasibility. The designed compact passageway features simple operational control, high cost-effectiveness, minimal installation footprint, and low installation and control complexity, demonstrating high practicality.