Quaternion algebra H is an extension of the complex number field, which is a noncommutative associative algebra. In recent years, quaternionic Fourier analysis has interested some mathematicians due to its applications in signal analysis and image processing. This paper addresses quaternionic affine phase retrieval (QAPR) in quaternion Euclidean spaces H M , which aims to exactly recover a signal in H M from the magnitudes of its affine measurements. We introduce the concepts of QAPR and phaselift operator in H M . Then, we characterize QAPR in terms of the real Jacobian matrix, prove that 5M is the minimal measurement number for QAPR in H M , study the stability of QAPR-sequences, and use the phaselift techniques to give some sufficient conditions on QAPR for H M which provide us with a method to construct QAPR-sequences.