Abstract Shape memory alloys (SMA) represents a class of metallic materials that has the capability of recovering a previously defined initial shape when subject to an adequate thermomechanical treatment. The present work aims to study the influence of thermal cycles on the transition temperatures of a Ni–Ti alloy. In this system, small variations around the equiatomic composition give rise to significant transformation temperature variations ranging from 173 to 373 K. SMA usually presents the shape memory effect after an annealing treatment at ca. 973 K. The optimisation of the thermomechanical treatment will allow to “tune” the material to different transformation temperature ranges from the same starting material, just by changing the processing conditions. Differential scanning calorimeter (DSC) and in situ high-temperature X-ray diffraction (XRD) have been used to identify the transformation temperatures and the phases that are present after different thermal cycles. The results concerning a series of thermal cycles with different heating and cooling rates (from 1.67×10 −2 to 1.25×10 −1 K/s) and different holding temperatures (from 473 to 1033 K) are presented.