Pterostilbene is a trans stilbene compound, which is an effective component of herbaceous plants such as Dalbergia woods and Vaccinium. Although pterostilbene has many uses in anti-inflammatory, anti-oxidant and anti-tumor, its whitening effect is drawing more and more attention, the mechanism of melanogenesis and melanosome transport still needs further study. In this research, we tried to further investigate how melanocyte melanogenesis is affected by pterostilbene and whether pterostilbene play a part in melanin transport. Our results showed that pterostilbene has a potent inhibitory effect on melanogenesis in B16F10 cells (3 μM, p < 0.001), in-vitro human skin (10 μM, p < 0.05) and zebrafish embryos (3 μM, p < 0.01). Besides, pterostilbene not only inhibited melanogenesis, but also inhibited melanocyte dendritic development and melanosome transport. Pterostilbene mainly plays a role by inhibiting cAMP/PKA/CREB signal pathway. After the cAMP/PKA/CREB signaling pathway was inhibited, tyrosinase activity and the expression of MITF, TYR, Rab27A, Rab17 and gp100 were decreased, which in turn suppressed melanogenesis, melanocyte dendritic development and melanosome transport. Our findings showed that pterostilbene can potently inhibit melanogenesis and melanosome transport, suggesting the applicability of pterostilbene in skin lightning. Therefore, a novel pharmacologic way to treat hyperpigmentation has been proposed.