Engineering two-dimensional (2D) / three-dimensional (3D) perovskites has emerged as an attractive route to efficient and durable perovskite solar cells. Beyond improving the surface stability of the 3D layer and acting as a trap passivation agent, the exact function of 2D/3D device interface remains vague. Here, we provide evidence that 2D/3D perovskite interface that forms a p-n junction is capable to reduce the electron density at the hole-transporting layer interface and ultimately suppress interfacial recombination. By a novel ultraviolet photoelectron spectroscopy (UPS) depth-profiling technique, we show that engineering of the 2D organic cations, in this case by simply varying the halide counter ions in thiophene methylammonium-salts, modifies the 2D/3D perovskite energy alignment. These measurements enable the true identification of the energetic across the 2D/3D interface, so far unclear. When integrated in solar cells, due to the electron blocking nature of the 2D layer, the optimized 2D/3D structures suppress the interfacial recombination losses, leading to open-circuit voltage (VOC) which approaches the potential internal Quasi-Fermi Level Splitting (QFLS) voltage of the perovskite absorber. The devices exhibit an improved fill factor (FF) driven by the enhanced hole extraction efficiency and reduced electron density at the 2D/3D interface. We thus identify the essential parameters and energetic alignment scenario required for 2D/3D perovskite systems in order to surpass the current limitations of hybrid perovskite solar cell performances.