The invention discloses a high temperature-resistant, radiation-crosslinked, low-smoke, halogen-free and flame-retardant cable material for charging pile cables, and a preparation method thereof. Thecable material comprises, by weight, 55-70 parts of ethylene-propylene-diene monomer rubber, 10-20 parts of ethylene-octene copolymer resin, 8-12 parts of maleic anhydride grafted modified resin, 8-10parts of crosslinked modified resin, 5-10 parts of polyethylene-acrylate rubber, 2-5 parts of polyphenylene ether, 60-90 parts of a flame retardant, 20-30 parts of a flame retardant synergist, 0.5-1part of polyethylene wax, 1.2-2 parts of an antioxidant, 0.9-1.2 parts of a crosslinking agent, and 0.1-0.3 part of a degradation inhibitor. The cable material of the invention can simultaneously meetthe requirements of softness, high flame retardancy, high and low temperature resistance, aging resistance, environmental crack resistance, high insulation, oil resistance, ozone resistance and ultraviolet light resistance.