Nonlinear-optical nanocomposite materials with a photonic crystal structure were fabricated using block copolymers and gold nanoparticles. By dispersing the gold nanoparticles into the selective microdomains of the block copolymers, we could achieve the enhancement of nonlinear optical properties as revealed by the Z-scan technique. The optical nonlinearities were enhanced by the local field effect and the effect of the periodic distribution of the microdomains filled with gold nanoparticles. Furthermore, the highest optical nonlinearity was achieved by matching the domain spacing of the copolymers with the frequency of the surface plasmon resonance peak of the gold.