Using an extensive X-ray dataset, we analyze the X-ray emission of the massive O-star Tr16-22, which was recently found to be magnetic. Its bright X-ray emission is found to be modulated with a ~54d period. This timescale should represent the rotational timescale of the star, as for other magnetic massive stars. In parallel, new spectropolarimetric data confirm the published magnetic detection.