The invention, belonging to the technical field of lithium ion battery, particularly relates to a lithium ion battery electrolyte capable of improving the high temperature storage performance of a lithium ion battery, comprising a non-aqueous solvent, lithium salts dissolved in the non-aqueous solvent, and an additive which is a compound of formula (I), wherein R1, R2, and R3 are selected from hydrogen atom, alkyl containing 1-12 carbon atoms, cycloalkyl containing 3-8 carbon atoms, and aryl containing 6-12 carbon atoms, and n is an integer in the range of 0-7. The compound can effectively passivate the anode and cathode surfaces, prevent oxygenolysis of the electrolyte ingredients on the anode surface and prevent reductive decomposition on the cathode surface, thus gas generation of the battery is reduced, and the high temperature storage performance of the lithium ion battery is raised. In addition, the invention further discloses a lithium ion battery containing the electrolyte.