The invention provides a space six-degrees-of-freedom mechanism used for a hypersonic wind tunnel multi-body separation test. The mechanism comprises Z, X and Y three degrees of freedom straight-line motion mechanisms and [beta], [alpha] and [gamma] three degrees of freedom angular displacement motion mechanisms. The six-degrees-of-freedom are realized layer by layer and are connected step by step, and in terms of structure, embedment integration is achieved by a box stacking mode. A Z-direction mechanism, an X-direction mechanism and a [beta] mechanism are sequentially overlapped from bottom to top, and a Y-direction mechanism and a [alpha] mechanism are in embedded connection from outside to inside. A [gamma] mechanism is fixedly connected with the [alpha] mechanism through a bent blade, and is individually arranged in a wind tunnel flow field. Each of the Z-direction mechanism, the X-direction mechanism and the Y-direction mechanism adopts two driving assemblies in symmetric arrangement, so that the power and the size of a driving motor are effectively reduced, and the overall stability of the mechanism is improved. The [beta] mechanism and the [alpha] mechanism adopt line-to-arc mechanisms for implementation, so that overlapping of traditional three degrees of freedom rotation pairs is prevented, and the mechanism cantilever length is shortened. The structure is compact, the rigidity is good, andsix-degrees-of-freedom movement of high speed, high precision and high bearing capacity is achieved.