The invention relates to a spindle (9) for a machine tool, having a housing
(12) to accommodate an electric motor (11) and a shaft (13)
driven by the latter and having a tool holder for a tool (10) for machining
workpieces, at least one data acquisition element (2) being provided to
record operating and/or state data of the spindle (9), and at least one
spindle-integrated data storage element (1) being provided to store the
recorded data from the data acquisition element (2).