SummaryOrtho-methoxypolyimides were prepared by the classical chemical imidization method and also by azeotropic imidization, using 3,3'-dimethoxybenzidine (DMAB) and hexafluoroisopropylidene diphthalic anhydride (6FDA) as monomers. High molecular weights were achieved by both methods, and the physical properties of the materials were investigated by spectroscopic and thermal analytical techniques. Polymers exhibited excellent thermal properties and film-forming ability, which allowed them to be tested as dense membranes for gas separation after a convenient treatment at high temperature (450 °C) to promote thermal rearrangement (TR). Spectroscopic evidences indicated that the final composition of the TR materials seemed not to correspond to TR-polibenzoxazoles, as it is the case when ortho-hydroxypolyimides are exposed to similar thermal treatments. A detailed study was carried out with the purpose of elucidating the actual mechanism of rearrangement, comparing ortho-