The whale was nursed through the week but it died on Friday.
A pilot whale that died in waters in southern Thailand was found struggling to swim after eating 80 plastic bags.
And in 2016, some of the more than 30 beached sperm whales beached in Europe were found with plastic debris in their stomachs, National Geographic reported, including a large fishing net, an engine cover and shards of a plastic bucket.More news: New Starbucks training manual promotes "becoming color brave"
The male pilot whale was found barely alive on May 28 in a canal in the province of Songkhla, near the border with Malaysia, and received treatment from a team of veterinarians.
A pilot whale that died after ingesting rubbish has highlighted Thailand's losing battle against plastic, said conservationists who called for urgent measures to cut back on pollution that also worsens urban flooding.
Thailand remains one of the world's worst polluters, with government initiatives to convince people to use less plastic largely failing, they said.
Every square kilometre of the world's oceans is believed to contain 13,000 pieces of plastic, and for creatures that eat jellyfish and squid, a synthetic bag can be easily mistaken as a prey item. Kenya a year ago enacted the world's toughest law against plastic bags.More news: Time to patch your Mac: macOS High Sierra 10.13.5 is out
Veterinarian Watchara Sakornwimon told Euronews she had "never seen a lot of plastic in a whale's stomach like this".
Trash in the ocean has affected other whale species.
In April, a 33-foot sperm whale weighing almost 15,000 pounds was found dead on a Spanish beach.More news: Relief for North Korea only after clear, irreversible steps to denuclearization: Mattis