The dehydrogenation and dewaxing of hydrocarbons of middle-distillate fractions, which proceed in the hydrogen medium, are of great importance in the petrochemical and oil refining industries. They increase oil refining depth and allow producing gasoline, kerosene, and diesel fractions used in the production of hydrocarbon fuels, polymer materials, synthetic detergents, rubbers, etc. Herewith, in the process of dehydrogenation of hydrocarbons of middle distillate fractions (C9–C14) hydrogen is formed in the reactions between hydrocarbons, and the excess of hydrogen slows the target reaction of olefin formation and causes the shift of thermodynamic equilibrium to the initial substances. Meanwhile, in the process of hydrodewaxing of hydrocarbons of middle distillate fractions (C5–C27), conversely, hydrogen is a required reagent in the target reaction of hydrocracking of long-chain paraffins, which ensures required feedstock conversion for production of low-freezing diesel fuels. Therefore, in this study we suggest the approach of intensification of the processes of dehydrogenation and dewaxing of middle distillate fractions by means of redistribution of hydrogen between the two units on the base of the influence of hydrogen on the hydrocarbon transformations using mathematical models. In this study we found that with increasing the temperature from 470 °C to 490 °C and decreasing the hydrogen/feedstock molar ratio in the range of 8.5/1.0 to 6.0/1.0 in the dehydrogenation reactor, the production of olefins increased by 1.45–1.55%wt, which makes it possible to reduce hydrogen consumption by 25,000 Nm3/h. Involvement of this additionally available hydrogen in the amount from 10,000 to 50,000 Nm3/h in the dewaxing reactor allows increasing the depth of hydrocracking of long-chain paraffins of middle distillate fractions, and, consequently improving low-temperature properties of produced diesel fraction. In such a way cloud temperature and freezing temperature of produced diesel fraction decrease by 1–4 °C and 10–25 °C (at the temperature of 300 °C and 340 °C respectively). However, when the molar ratio hydrogen/hydrocarbons decreases from 8.5/1.0 to 6.0/1.0 the yield of side products in the dehydrogenation reactor increases: the yield of diolefins increases by 0.1–0.15%wt, the yield of coke increases by 0.07–0.18%wt depending on the feedstock composition, which is due to decrease in the content of hydrogen, which hydrogenates intermediate products of condensation (the coke of amorphous structure). This effect can be compensated by additional water supply in the dehydrogenation reactor, which oxidizes the intermediate products of condensation, preventing catalyst deactivation by coke. The calculations with the use of the model showed that at the supply of water by increasing portions simultaneously with temperature rise, the content of coke on the catalyst by the end of the production cycle comprises 1.25–1.56%wt depending on the feedstock composition, which is by 0.3–0.6%wt lower that in the regime without water supply.