Abstract-Compared with traditional paper-based medical records , Electronic health records (EHRs) are widely used because of their efficiency, secu- rity, and reducing data redundancy.The Electronic Health Record (EHR) system is a major technolog- ical development in healthcare that has completely changed how patient data is collected, stored, and used. Through the use of cutting-edge digital tech- nologies, the EHR system offers a safe, centralized location for all patient data. Healthcare personnel may easily access, edit, and share patient informa- tion thanks to its user-friendly interfaces, which helps them make more informed clinical decisions and provide better treatment.The system developed using the Ethereum network using Ganache. The measured approach is to store patients data and execute functions in a decentralized system using blockchain smart contracts. To further protect pa- tient privacy and adhere to privacy laws, the system places a high priority on data security and uses strong authentication and encryption mechanisms. Keywords-Blockchain, Decentralized, Ethereum, Healthcare, Smartcontacts,