127I‐NQR measurements in the range 77 ≤ T/K ≤ 520 are reported for anilinium iodides C6H5NH⊕3I⊖, C6H5ND⊕3I⊖, C6D5NH⊕3I⊖, and C6D5ND⊕3I⊖. The compound undergoes a ferroelastic phase transition at 240.3 K (C6H5NH⊕3I⊖). The transition temperature changes to 233.6 K (C6H5ND⊕3I⊖) and to 233.4 K (C6D5ND⊕3I⊖) by deuteration. The NQR parameters are thereby influenced too. At 293 K the −NH⊕3 group deuteration influences e2ϕzzQh−1 and η much stronger than the ring deuteration, whereas at 77 K these effects are of comparable magnitude.—The thermal expansion coefficients were measured for C6H5NH⊕3X⊕, X = Br, I, from 120 K to 300 K. by dilatometry and by X‐ray diffraction. In C6H5NH⊕3Br⊖ the three linear expansion coefficients are increasing over the whole temperature range studied, whereas in C6H5NH⊕3I⊖ α[010] increases and both, α[100] and α[001], decrease with increasing temperature. On hand of the known crystal structures the ferroelastic phase transition in the anilinium halides is discussed. The basic mechanism of the transition is the same for C6H5NH⊕3I⊖ and C6H5NH⊕3Br⊖. Freezing in of the −NH⊕3 group hindered rotation is the main process governing the phase transitions, but motions of the phenyl ring are of influence, too.