The invention belongs to the field of government affair network data sharing, and discloses a government affair intranet and extranet data synchronization method and system, and the government affairintranet and extranet data synchronization method comprises the steps: creating a trigger, and automatically recording newly added, updated and deleted services; creating a timing task, and recordingdata regularly; batch processing programs can be manually executed at regular time to be exported or correspondingly imported into an external network according to a management system. According to the invention, data synchronization between systems deployed in a physical isolation network is realized, the characteristics of a database trigger are fully utilized, the complete change process of data is recorded, and data synchronization is conveniently carried out in an import and export manner. The government affair intranet and extranet data synchronization method is simple, convenient, easyto implement and high in data consistency, data synchronization between systems is achieved, repeated input is reduced, and the working efficiency is improved.