The invention discloses a method for producing hydrogen peroxide with the naphtha cracking off-gas, which includes the following steps: 1.Light oil and liquid ammonia gasified are fed into a blender according to the weight ratio of 1:3-3.3, then the mixture is fed into a cracking furnace containing refinery coke catalyzer for scission reaction; 2. The deamination of the cracking outcome is carried out and then the the cracking outcome is absorbed by cold water and divided into liquid phase and gas phase, wherein, the liquid phase is resolved into finished product of hydrocyanic acid, the gas phase will be treated in the next step; 3. The gas phase generated in the step 2 is treated by alkaline washing and purified by membrane separation to collect the hydrogen gas; 4. The hydrogen gas collected in the step 3 is fed into a hydrogen peroxide production device as the hydrogen source, then the hydrogen peroxide can be obtained after the hydrogenation, oxygenation, extraction, purification and concentration. The invention can avoid waste of resources, reduce air pollution and can reduce the manufacturing cost of the product at the same time.