The average price is about $30,000 in upfront costs and $4,000 to $8,000 every year after that. However, switching to an EHR system can cost anywhere from $15,000 to $70,000.