The present invention relates to 1,3,5-tricyano-2,4,6-tris(vinyl)benzene derivatives and method for preparing the same. The 1,3,5-tricyano-2,4,6-tris(vinyl)benzene derivatives can be prepared by refluxing 1,3,5-tricyanomesitylene with N-formylamine dimethylacetal or substituted benzaldehyde, or by the Wittig reaction of 1,3,5-tricyano-2,4,6-tris[(diethoxyphosphoryl)methyl]benzene with substituted benzaldehyde. The 1,3,5-tricyano-2,4,6-tris(vinyl)benzene derivatives exhibit large first hyperpolarizability in solution and significant second harmonic generation (SHG) in the powder state, and are useful as optical devices such as electro-optic modulators, optical switch, or the like for treating optical signal in optical communication industry.