The invention discloses an electronic data storage method based on a block chain intelligent contract, which comprises the steps of raw data uploading, slicing, storing, issuing, data structure defining, anchoring, writing, calling, returning and comparing and verifying. The method utilizes an intelligent contract and a block chain technology, and has features of decentralization, open transparency, unalterable properties, easy traceability and data trustworthiness. By slicing and storing the electronic data in a distributed way, the method solves the problems of serious centralization and long and complex data of an existing electronic data storage method, improves the security of the user data, records the electronic data stored in each customer certificate in the block, traces each electronic data, facilitates the user to supervise the data security, and the like.