Photochemistry is one of the most important branches in chemistry to promote and control chemical reactions. In particular, there has been growing interest in photoinduced processes at solid surfaces and interfaces with liquids such as water for developing efficient solar energy conversion. For example, photoinduced charge transfer between adsorbates and semiconductor substrates at the surfaces of metal oxides induced by photogenerated holes and electrons is a core process in photovoltaics and photocatalysis. In these photoinduced processes, electron-phonon coupling plays a central role. This paper describes how time-domain spectroscopy is applied to elucidate electron-phonon coupling dynamics at metal and semiconductor surfaces. Because nuclear dynamics induced by electronic excitation through electron-phonon coupling take place in the femtosecond time domain, the pump-and-probe method with ultrashort pulses used in time-domain spectroscopy is a natural choice for elucidating the electron-phonon coupling at metal and semiconductor surfaces. Starting with a phenomenological theory of coherent phonons generated by impulsive electronic excitation, this paper describes a couple of illustrative examples of the applications of linear and nonlinear time-domain spectroscopy to a simple adsorption system, alkali metal on Cu(111), and more complex photocatalyst systems.