We modulate the transmission of terahertz ͑THz͒ radiation through periodic arrays of subwavelength holes in a metallic film by using pulses of visible-wavelength light to photoexcite the semiconducting substrate of the hole arrays. By varying the photodoping level of the semiconductor we are able to switch off the resonant transmission of THz radiation through the array. By varying the size of the holes, we demonstrate the crucial role that surface modes play in the resonant transmission and ultimately in the photomodulation behavior of these structures. We demonstrate that the surface-wave transmission mechanism can allow for very efficient optical modulation of radiation transmission. DOI: 10.1103/PhysRevB.80.193412 PACS number͑s͒: 71.45.Gm, 41.20.Jb, 84.40.Ϫx Photonic structures which incorporate some degree of dynamic control over their electromagnetic properties 1,2 are interesting for numerous reasons. Some structures have direct applications in proposed photonic devices; in others the dynamic control can provide direct evidence for transmission pathways and for the role of material properties in determining the behavior of a structure. 3 Manipulating material properties optically 4-10 is of particular interest, as changes to the structure can be made on the same time scale as the transit of light pulses through the system.One very fundamental photonic structure is an array of subwavelength holes perforated in a conducting screen. Such arrays can exhibit narrow transmission resonances 11 for wavelengths determined by the periodicity of the array-this is known as extraordinary optical transmission or EOT. The mechanisms underlying EOT in these arrays have been the subject of considerable debate, 12-14 however consensus has gradually emerged that for many structures the transmission is mediated at least in part by electromagnetic surface modes at the interface between the perforated conducting screen and the dielectric layers by which it is bound. 15,16 In this contribution we use pulses of visible light to modulate the transmission of terahertz ͑THz͒ radiation through periodic arrays of subwavelength holes in a metallic film fabricated at the interface of a substrate of crystalline silicon. By varying the photodoping level of the silicon we are able to switch off EOT of THz radiation through the array. By varying the size of the holes we are able to explain the photomodulation effects in terms of the properties of the surface mode which mediates the enhanced transmission; in particular, we can make a direct link between the lifetime of the surface mode and the magnitude of the photomodulation. We show that if we extend the surface-mode lifetime by minimizing losses and reducing the hole size it is possible to attain photomodulation levels which are orders of magnitude greater than those found for a plain silicon surface.The hole-array structure we shall consider in this work ͑Fig. 1͒ is formed from a 150-nm-thick film of gold on a silicon substrate. The gold is perforated with a square lattice ͑pitch 10...