Surface-enhanced Raman scattering (SERS) spectroscopy and surface-enhanced infrared absorption (SEIRA) spectroscopy are analytical tools suitable for the detection of small amounts of various analytes adsorbed on metal surfaces. During recent years, these two spectroscopic methods have become increasingly important in the investigation of adsorption of biomolecules and pharmaceuticals on nanostructured metal surfaces. In this work, the adsorption of B-group vitamins pyridoxine, nicotinic acid, folic acid and riboflavin at electrochemically prepared gold and silver substrates was investigated using Fourier transform SERS spectroscopy at an excitation wavelength of 1,064 nm. Gold and silver substrates were prepared by cathodic reduction on massive platinum targets. In the case of gold substrates, oxidation-reduction cycles were applied to increase the enhancement factor of the gold surface. The SERS spectra of riboflavin, nicotinic acid, folic acid and pyridoxine adsorbed on silver substrates differ significantly from SERS spectra of these B-group vitamins adsorbed on gold substrates. The analysis of near-infrared-excited SERS spectra reveals that each of B-group vitamin investigated interacts with the gold surface via a different mechanism of adsorption to that with the silver surface. In the case of riboflavin adsorbed on silver substrate, the interpretation of surface-enhanced infrared absorption (SEIRA) spectra was also helpful in investigation of the adsorption mechanism.