A two-phase method has been adapted for the preparation of polymer composites consisting of regioregular poly(3-octylthiophene-2,5-diyl) and Au or Ag nanoparticles, respectively.