The invention belongs to the field of rubber, and particularly relates to an oil-resistant rubber. The oil-resistant rubber comprises the following components in parts by weight: 80-200 parts of epichlorohydrin rubber, 50-200 parts of fluorinated silicone rubber, 2-10 parts of nano zinc oxide, 1-4 parts of stearic acid, 15-50 parts of carbon black N100, 2-5 parts of paraffin, 4-15 parts of coumarone resin, 2-10 parts of sulfur, 1-5 parts of an antiager, 1-8 parts of calcium carbonate, 1-6 parts of hydroxy silicone oil, 1-5 parts of hydrosilicone oil, 1-5 parts of white carbon black, 1-5 parts of dimethyl silicone oil, 1-4 parts of dibutlyl phthalate, 1-4 parts of zinc diethyl dithiocarbamaate and 1-4 parts of 2-imidazolidinethione. The invention has the benefits that the oil-resistant rubber prepared by the formula has the advantages of good oil resistance, high temperature resistance, corrosion resistance and the like and can effectively meet the requirements in production life.