More than 60 trace elements, including rare metals, can be found in heavy oils. The most valuable component of oils and petroleum products is vanadium. It is used as an alloying agent to create extra strong steel, as a cathode for lithium-ion batteries, and also as a catalyst in the chemical industry. Nowadays studies of various methods for extracting vanadium from heavy oils and petroleum products are actively carried out. This work presents the method of alkaline and acid leaching of vanadium from petroleum coke and also results of the examination of influence of factors such as the duration of the process (0.5, 1.5 and 2.5 h) and the ratio of solid and liquid phases (1:2, 1:3 and 1:4). The highest yield of vanadium 80% is observed using sulfuric acid with the process duration is 1.5 hours and the ratio S/L = 1:4