The three-dimensional failure criterion is essential for maintaining wellbore stability and sand production problem. The convenient factor for a stable wellbore is mud weight and borehole orientation, i.e., mud window design and selection of borehole trajectory. This study proposes a new three-dimensional failure criterion with linear relation of three in-situ principal stresses. The number of failure criteria executed to understand the phenomenon of rock failure under in-situ stresses is the Mohr-Coulomb criterion, Hoek-Brown criterion, Mogi-Coulomb criterion, and many more. The new failure criterion is the extended Mohr-Coulomb failure criterion with the influence of intermediate principal stress (σ_2). The influence of intermediate principal stress is considered as a weighting of (σ_2 ) on the mean effective stress. The triaxial compression test data for eleven rock types are taken from the literature for calibration of material constant and validation of failure prediction. The predictions on rock samples using new criteria are the best fit with the triaxial compression test data points. Here, Drucker-Prager and the Mogi-Coulomb criterion are also implemented to predict the failure for eleven different rock types. It has been observed that the Drucker-Prager criterion gave over prediction of rock failure. On the contrary, the Mogi-Coulomb criterion gave an equally good prediction of rock failure as our proposed new 3D failure criterion. Based on the yield surface of the new 3D linear criterion, it gave the safest prediction for the failure of the rock. A new linear failure criterion is recommended for the unique solution as a linear relation of the principal stresses rather than the dual solution by the Mogi-Coulomb criterion.