|A static rigidity detection device for a spindle structure of a power tool includes a feed unit, a fixed unit, a sensing unit, and a data processing unit. The feed unit includes a feed base and a feed along the feed. a force-applying seat moving in a direction opposite to the feed base, the force-applying seat has an urging portion, and the fixing unit includes a support seat adjacent to the urging portion in the feed direction and used to fix a spindle of a power tool. The measuring unit includes a force sensor for measuring the force of the force applying part, a data extractor for electrically connecting the force sensor, and an electrical data connection device for measuring the power tool. The displacement sensor of the deformation of the main shaft, the data processing unit is electrically connected and operates on a force information set and a deformation information set retrieved by the data extractor within a predetermined time to obtain a The structural static rigidity parameter is used to measure the structural static stiffness parameter of the machine tool spindle in an automatic operation manner.