We present terahertz time-domain spectroscopy (THz-TDS) to explore the conformational dynamics of thermally induced and photoinduced isomerization of azobenzene.