There have been no reports of the disease outside of a three-kilometre quarantine zone.
China has notified the World Organization for Animal Health and will likely result in a ban on pork and pig exports.
The licensed pig farm at Lau Fau Shan, rural Yuen Long area is near the mainland China border.