Die Erfindung betrifft eine Vorrichtung und ein Verfahren zum Anpassen der Reichweite eines Ionenstrahls (10), insbesondere für die Bestrahlung in der Tumortherapie. Dazu wird zunächst die Referenzposition eines zu bestrahlenden Zielvolumens (20) festgestellt. Es erfolgt ein Einstellen der Reichweite des Ionenstrahls derart, dass diese an die Referenzposition des Zielvolumens angepasst wird, so dass das Bragg-Maximum, d.h. der maximale Energieverlust und somit auch die maximale Schädigung, im Bereich des zu zerstörenden Zielvolumens liegt. Wird eine Änderung (21-23) der Referenzposition durch eine Bewegung des Zielvolumens festgestellt, so wird der Ionenstrahl aus der Strahlachse (11) abgelenkt, so dass der Ionenstrahl über verschiedene Bereiche eines Reichweitenmodulators (2) geführt wird, so dass der Ionenstrahl beim Durchlaufen des Reichweitenmodulators einen entsprechend angepassten Energieverlust erfährt. Dieser Energieverlust ist entsprechend angepasst, so dass die Positionsänderung des Zielvolumens durch die Anpassung der Reichweite des Ionenstrahls kompensiert wird und das Bragg-Maximum in den Bereich des Zielvolumens zurückgeschoben wird.The invention relates to a device and to a method for adjusting the range of an ion beam (10), particularly for irradiation in tumor therapy. For this purpose, first the reference position of a target volume (20) to be irradiated is determined. The range of the ion beam is set such that it is adjusted to the reference position of the target volume so that the Bragg maximum, which is to say the maximum energy loss and therefore also the maximum damage, is in the region of the target volume to be destroyed. If a change (21-23) of the reference position is detected by a movement of the target volume, the ion beam is deflected out of the beam axis (11) such that the ion beam is guided across different regions of a range modulator (2), thereby compensating for the positional change of the target volume as a result of the adjustm