A series of novel spirooxazine derivatives containing nitrogen heterocycles have been synthesized and characterized by H-1 NMR, C-13 NMR, IR and HRMS in this paper, and the photochromic behaviors of the compounds have been studied in different solutions and the compounds were embedded into a poly(methylmethacrylate) and poly(vinyl butyral) matrix (PMMA, PVB). In solutions, they showed thermochromism and acidichromism. Embedded into polymeric films, the photochromic kinetics of the thermal decoloration of the compounds significantly changed and it was found that the decoloration curves fitted biexponential function. Detailed studies showed that representative compound 1 [1,3,3-trimethy1-6'piperidino-spiro(indoline-2,3'-[H]-quinolino[2,1-b][1,4]oxazine)] exhibited high fatigue resistance in poly(methylmethacrylate) and poly(vinyl butyral) matrix. (c) 2014 Elsevier Ltd. All rights reserved.