A deposition process on a conducting surface, in which water acted as the dispersed phase and a mixture of poly(methyl methacrylate) and chloroform as the continuous phase, was applied to prepare poly(methyl methacrylate) films. The influence of relative humidity during the film preparation on the surface morphology was investigated by field emission scanning microscopy. High-humidity preparation conditions lead to porous poly(methyl methacrylate) films. These films were then used as templates to perform the selective deposition into the pores of single-walled carbon nanotubes by an electrophoretic method. The attractive properties of carbon nanotubes combined with the versatile properties of poly(methyl methacrylate) open up new opportunities for these nanocomposites to achieve novel architectures in nanodevices and microdevices.