In this study, sophorolipids (SLs)-modified biochar (BC-SLs) was used to enhance the bioremediation of petroleum hydrocarbons (PHs) contaminated soil. The biodegradation rate of petroleum hydrocarbons (PHs) by BC-SLs and BC treatments were 62.86 % and 52.64 % after 60 days of remediation experiments, respectively, higher than non-biochar treatment group (24.09 %). The metagenomic analysis showed that the abundance of petroleum-degrading bacteria Actinobacteria and Proteobacteria were increased by 3.8 % and 5.3 %, respectively in BC-SLs treatment, and the abundance of functional genes for PHs degradation, such as alkB, nidA and pcaG, were significantly increased by 12.85 %, 30.08 % and 21.01 %, respectively. The metabolomic analysis showed that BC-SLs facilitated the metabolic process of PHs, the microbial metabolism of petroleum hydrocarbons (PHs) became more active. Fatty acid degradation and polycyclic aromatic hydrocarbons (PAHs) degradation were up-regulated, indicating the promoting effect of the BC-SLs for PHs metabolism. The combined metagenomic and metabolomic analysis demonstrated the strong positive correlations between PHs metabolites and PHs-degrading bacteria, such as lauric acid vs. Actinobacteria, benzoic vs. Proteobacteria. The strong positive correlations between PHs metabolites and PHs-degrading genes were also observed, such as o-ehyltoluene vs. nahD, 4-isopropylbenzoic acid vs. etbAa. The modification of biochar with SLs increased the oxygen-containing functional groups on the surface of biochar. Meanwhile, the emulsification and solubilization of SLs promoted the bioavailability of PHs. The effects of BC-SLs on the nitrogen cycle during PHs remediation showed that it facilitated the accumulation of nitrogen-fixing genes, promoted nitrification but inhibited denitrification process. This study confirms that the application of BC-SLs is an effective remediation of PHs contamination and a sustainable method for controlling agricultural waste resources.