The nearby area has been declared a disaster zone by provincial authorities, and those affected by the spill will receive immediate assistance.
The company said it detected a leak when crude oil from a tanker moored offshore was being transferred to the pipeline, 20 kilometers (11 miles) from a refinery in Map Ta Phut, one of the largest industrial estates in Southeast Asia.