This study investigates the impact of upstream energy deposition as an active flow control method on the performance of a two-dimensional scramjet inlet through numerical simulations. An in-house inviscid finite volume solver was employed for the simulations, with boundary reconstruction of the scramjet achieved using a ghost-cell based immersed boundary method. The effects of different energy spot locations, various energy strengths, and different freestream Mach numbers on the scramjet performance were thoroughly analyzed. Four inlet parameters, namely, mass capture ratio (μ), total pressure ratio (TPR), kinetic energy efficiency (ηKE), and flow distortion index (DI), were used to assess the scramjet performance. The analysis revealed that energy deposition significantly reduced flow distortion, resulting in noticeable improvements in mass flux and total pressure ratio. However, kinetic energy efficiency exhibited minimal change. The study provides comprehensive insights into the impact of energy deposition on scramjet performance, highlighting its potential for enhancing inlet characteristics.