The invention discloses an oil resistance foamable end cap sealing material and a preparation method thereof. The method comprises the following steps: using butadiene-nitrile rubber, butadiene-nitrile hydride rubber, carboxylic butadiene-nitrile rubber or chloroprene rubber to plastify with an open mill, a internal mixer or a screw masticator and prepare plasticated rubber, then using plasticatedrubber, vulcanizer, foaming agent, anti-aging agent, softening oil, reinforcing agent and the like to mix with an open mill, a internal mixer or a screw masticator and prepare mixed rubber, then adopting the mixed rubber to prepare rubber sheets of the oil resistance foamable end cap sealing material through extruding, rolling and the like; using the rubber sheets and paper cores to perform vulcanization foaming and forming in heated moulds and demoulding to obtain integrated environmental filter element without end cap which can be used in the air, fuel oil or engine oil filter of the automobile engine. Compared with the widely used filter element with an end cap, the filter element without end cap can bear heat and oil and is lighter, and when the filter element without end cap reachesthe service life to be discarded, the filter element can be fully burned and does not cause environmental pollution.