Spectra reflecting the formation of single-site double-core-hole pre-edge states involving the N 1s and C 1s core levels of acetonitrile have been recorded by means of high-resolution single-channel photoelectron spectroscopy using hard X-ray excitation. The data are interpreted with the aid of ab initio quantum chemical calculations, which take into account the direct or conjugate nature of this type of electronic states. Furthermore, the photoelectron spectra of N 1s and C 1s singly core-ionized states have been measured. From these spectra, the chemical shift between the two C 1s-1 states is estimated. Finally, by utilizing C 1s single and double core-ionization potentials, initial and final state effects for the two inequivalent carbon atoms have been investigated.