The aging of thin polymer films is interesting for the development of nonlinear optical media. In this study, the optical properties of porphyrin‐doped poly(methylmethacrylate) (PMMA) films are investigated before and after annealing. Both absorption and luminescence spectroscopies were used to characterize the changes that occurred during the thermal treatment. The surface and bulk characteristics of the doped films were also measured using atomic force microscopy, X‐ray‐induced photoelectron spectra, and DSC. We found that the aging of the thin polymer films led the porphyrin molecules to diffuse in the direction of the polymer surface. This led to the random formation of porphyrin aggregates on the surface, followed by absorption band shift and little luminescence quenching. These results suggest that porphyrin‐doped PMMA films could be used as long‐term stable active optical materials. POLYM. COMPOS., 35:665–670, 2014. © 2013 Society of Plastics Engineers