Energy Internet is becoming the development direction of energy system. In the future, Energy Internet will access a large number of intelligent terminals. Therefore, accessing to Energy Internet services through effective identity authentication is attracting the attention of many users. However, centralized identity authentication will bring great pressure to Energy Internet. In addition, some authentication schemes have serious security problems, such as privacy leakage. To solve these problems, we propose an Energy Internet identity authentication scheme based on blockchain and cryptographic accumulator. In the proposed scheme, we first design the system model of Energy Internet, and then a blockchain is formed by the cryptographic accumulator. Energy Routers and terminals can rely on blockchain to complete authentication. Our security analysis demonstrates that privacy and authentication are both achieved in the scheme. Experimental results illustrate that this scheme effectively improves authentication efficiency.