A stilbene derivative and a method of preparing the A stilbene derivative are disclosed. The stilbene derivative is provided for inhibiting the function of cyclophilin, which is effective at the prevention of cyclophilin-related diseases or at the treatment of symptoms of such diseases. The method of preparing a stilbene derivative includes reacting a phenylacetonitrile derivative with a benzaldehyde derivative.