By inputting reduced matrix of stiffness and mass, a dynamic model including flexible housing, ring gear and carrier for a 3 MW wind turbine gearbox is established based on MASTA. And analysis results show that the kinetic percentage of housing is maximum near the gear mesh frequency and response is maximum at the 1st mesh frequency of HSS gear. The analysis results show certain agreement with vibration test results. This paper can provide reference for avoiding vibration in gearbox design.