Superconducting generators show the potential to reduce the head mass of large offshore wind turbines. A 10 MW offshore superconducting wind turbine has been investigated in the SUPRAPOWER project. The superconducting coils based on MgB2 tapes are supposed to work at cryogenic temperature of 20 K. In this paper, a novel modular rotating cryostat was presented for one single coil of the superconducting wind turbine. The modular concept and cryogen-free cooling method were proposed to fulfil the requirements of handling, maintenance, reliability of long term and offshore operations. Two stage Gifford-McMahon cryocoolers were used to provide cooling source. Supporting rods made of titanium alloy were selected as support structures of the cryostat in aim of reducing the heat load. The thermal performance in the modular cryostat was carefully investigated. The heat load applied to the cryocooler second stage was 2.17 W@20 K per coil. The corresponding temperature difference along the superconducting coil was only around 1 K.