Mesoporous silicon and porous silicon/Ni nanocomposites have been investigated in this work employing light-dark surface photovoltage (SPV) transients to monitor the response of surface charge dynamics to illumination changes. The samples were prepared by anodization of a highly n-doped silicon wafer and a subsequent electrodepositing of Ni into the pores. The resulting pores were oriented towards the surface with an average pore diameter of 60 nm and the thickness of the porous layer of approximately 40 μm. SPV was performed on a bare porous silicon as well as on a Ni-filled porous silicon in vacuum and in different gaseous environments (O2, N2, Ar). A significant difference was observed between the ‘light-on’ and ‘light-off’ SPV transients obtained in vacuum and those observed in gaseous ambiences. Such behavior could be explained by the contribution to the charge exchange in gas environments from chemisorbed and physisorbed species at the semiconductor surface.PACS81.05.Rm; 73.20.-r; 75.50.-y; 82.45.Yz