The invention discloses a composition of castor-based EC-2 hardened gear face cutting oil. The composition of the castor-based EC-2 hardened gear face cutting oil is prepared by compounding isomerised polyolefin and castor-based dioctyl sebacate as a base oil and matching with a variety of composite additives, and comprises an oily agent, an anti-wear agent, an anti-foaming agent, a catalytic refrigerant, a demulsifier, a penetrating agent, a friction modifier, a reinforcing agent, an antioxidant and a rust inhibitor. The composition of the castor-based EC-2 hardened gear face cutting oil has good flowability, permeability, cooling performance, lubricity, wear resistance, rust resistance, anti-foaming performance and emulsification resistance, can form a good lubricant film on the surface of a workpiece in a gear machining process to play a boundary lubricating role, can reduce friction in the machining process to reduce wear, can weaken a crumb sticking phenomenon, can take away cutting heat in time, can reduce thermal shock of cutter teeth and collapse of a cutter, and can prolong the service life of the cutter.