The band lineup of p- and n-type 4H–SiC/Al interfaces was determined using x-ray photoemission spectroscopy (XPS). Al was deposited in situ on ex situ cleaned SiC substrates in several steps starting at 1.2 Å up to 238 Å nominal film thickness. Before growth and after each growth step, the sample surface was characterized in situ by XPS. The analysis of the spectral shifts indicated that during the initial deposition stages the Al films react with the ambient surface contamination layer present on the samples after insertion into vacuum. At higher coverage metallic Al clusters are formed. The band lineups were determined from the analysis of the core level peak shifts and the positions of the valence bands maxima (VBM) depending on the Al overlayer thickness. Shifts of the Si 2p and C 1s XPS core levels occurred to higher (lower) binding energy for the p-(n-)type substrates, which was attributed to the occurrence of band bending due to Fermi-level equilibration at the interface. The hole injection barrier at the p-type interface was determined to be 1.83±0.1 eV, while the n-type interface revealed an electron injection barrier of 0.98±0.1 eV. Due to the weak features in the SiC valence bands measured by XPS, the VBM positions were determined using the Si 2p peak positions. This procedure required the determination of the Si 2p-to-VBM binding energy difference (99.34 eV), which was obtained from additional measurements.