In the present study, two-step foaming procedure with a designed in-situ foaming observation apparatus was used to study the foaming dynamics of styrene-methyl methacrylate (St-MMA) copolymer/nanosilica composites. For this purpose, the St-MMA copolymer was synthesized using suspension copolymerization and its nanocomposites were prepared using solution method. The foaming dynamics was studied through temperature-induced (two-step batch foaming) method. Furthermore, the effects of content, size and surface chemistry of silica nanoparticles on the impregnation process, the foaming dynamics and the final morphology of prepared foams were investigated. The impregnation data showed that the presence of silica nanoparticles in matrix prolonged the impregnation and decreased diffusion coefficient. This effect would be clearer where nanoparticle contents are high and the temperature is quite above Tg. The foaming dynamics results illustrated that the nucleation and foaming rate were enhanced with the nanoparticle addition and its size reduction. At the St-MMA copolymer foaming system, the silica nanoparticles with hydrophilic surface chemistry are more efficient in comparison to hydrophobic nanoparticles where all foaming dynamics and the final microstructure parameters were improved.