The article describes the mechanisms of formation of the Terek and Sunzha anticlinoria as the main zones of oil and gas accumulation. An assumption is made about the formation of high-amplitude anticlinal folds in the Upper Cretaceous deposits as a result of vertical migration of high-pressure fluids along deep faults with a breakthrough of their upper horizons of the sedimentary cover into the late orogenic phases of folding. The main prerequisites for the deep genesis of oil and gas are listed – a pronounced unevenness in the distribution of hydrocarbon accumulations, abnormal pressure, hydrochemical anomalies.