A Magnetic Particle Imaging, MPI, device comprising a first magnetic control system configured to generate, in a three-dimensional measuring space, a magnetic field and obtain within said three-dimensional space the movement in three directions X, Y, and Z of a spot, wherein the field has a value lower than a threshold, said Magnetic Particle Imaging, MPI, device further comprising a second magnetic excitation system configured to generate a pulsating magnetic field within said spot and configured to excite iron oxide microparticles injected into the circulatory system of a patient having a portion of his or her body positioned in said three-dimensional measuring space, said magnetic control system comprises: a first bottom parallelepipedal permanent magnet, a second top parallelepipedal permanent magnet spaced apart from the first magnet in the vertical direction Z; the first permanent magnet and the second permanent magnet having mutually facing poles of the same polarity, sharing the same magnetic axes, and being arranged on opposite sides of the three-dimensional measuring space; a first pair of first and second electromagnets (13a, 13b) arranged respectively facing a first side face and a second side face of the first bottom permanent magnet, the first and the second side faces (15a, 15b) being arranged on opposite sides of the first parallelepipedal permanent magnet; said first pair of electromagnets (13a, 13b) being configured to generate, when powered, a magnetic field that combines with the magnetic field generated by the permanent magnets (10, 11) and modifies the spatial arrangement of the lines of force of the field along a first horizontal direction X; and a second pair of third and fourth electromagnets (13c, 13d) arranged respectively facing a third face and a fourth face of the first bottom permanent magnet, the third and the fourth faces (15c, 15d) being arranged on opposite sides of the first parallelepipedal permanent magnet; said second pair of electromagnets (13c, 13d) being adapted to generate, when powered, a magnetic field that combines with the magnetic field generated by the permanent magnets (10, 11) and modifies the spatial arrangement of the lines of force of the field in a second horizontal direction Y; said first, parallelepipedal, permanent magnet having a fifth, top, face facing the three-dimensional measuring space and a sixth, bottom, face facing a base portion of the device; said magnetic control system further comprising a fifth electromagnet with axes coaxial to the axes of the first and the second permanent magnets (10, 11), said fifth electromagnet being configured to generate, when powered, a magnetic field that combines with the magnetic field generated by the permanent magnets (10, 11) and modifies the spatial arrangement of the lines of force of the field along the vertical direction Z. a first bottom parallelepipedal permanent magnet, a second top parallelepipedal permanent magnet spaced apart from the first magnet in the vertical direction Z; the first permanent magnet and the second permanent magnet having mutually facing poles of the same polarity, sharing the same magnetic axes, and being arranged on opposite sides of the three-dimensional measuring space; a first pair of first and second electromagnets (13a, 13b) arranged respectively facing a first side face and a second side face of the first bottom permanent magnet, the first and the second side faces (15a, 15b) being arranged on opposite sides of the first parallelepipedal permanent magnet; said first pair of electromagnets (13a, 13b) being configured to generate, when powered, a magnetic field that combines with the magnetic field generated by the permanent magnets (10, 11) and modifies the spatial arrangement of the lines of force of the field along a first horizontal direction X; and a second pair of third and fourth electromagnets (13c, 13d) arranged respectively facing a third face and a fourth face of the first bottom permanent magnet, the third and the fourth faces (15c, 15d) being arranged on opposite sides of the first parallelepipedal permanent magnet; said second pair of electromagnets (13c, 13d) being adapted to generate, when powered, a magnetic field that combines with the magnetic field generated by the permanent magnets (10, 11) and modifies the spatial arrangement of the lines of force of the field in a second horizontal direction Y; said first, parallelepipedal, permanent magnet having a fifth, top, face facing the three-dimensional measuring space and a sixth, bottom, face facing a base portion of the device; said magnetic control system further comprising a fifth electromagnet with axes coaxial to the axes of the first and the second permanent magnets (10, 11), said fifth electromagnet being configured to generate, when powered, a magnetic field that combines with the magnetic field generated by the permanent magnets (10, 11) and modifies the spatial arrangement of the lines of force of the field along the vertical direction Z.