Volunteers and veterinarians worked for several days trying to save the mammal.
But it suffered convulsions during the rescue attempt and vomited five plastic bags shortly before it died.
A veterinary team tried "to help stabilise its illness but finally the whale died" on Friday afternoon.
A short-fin male pilot whale in Thailand has died after eating more than 17 pounds (17.7 kilograms) of plastic bags and other packaging, the country's Department of Marine and Coastal Resources reported Saturday on its website.
An autopsy revealed dozens of plastic bags jamming the whale's stomach, weighing 7.7kg in all, the agency wrote on Facebook. 'We use a lot of plastic'.
Marine biologist Thon Thamrongnawasawat told the Agence France-Presse media organisation that the bags had made it impossible for the whale to eat the nutritional food it needed to survive.
Kardashian asks Trump to pardon great-grandmother
Johnson, who is 22 years into a life sentence at an Alabama prison, wrote a letter to Kardashian thanking her for seeking justice. She said after the meeting that she had consulted with those who had attended and said it "seemed to go well".
Thais use huge numbers of plastic bags but authorities have launched campaigns to try to encourage people to use fewer and to introduce reusable bags.
While pilot whales generally eat squid, the department said it believed the whale mistook the plastic litter for food.
Thailand is a major user of plastic bags and its government last month announced it was considering a levy on them.
A tragedy in Thailand is serving as a reminder of the waste littering the world's oceans. Kenya a year ago enacted the world's toughest law against plastic bags.
Eighty plastic bags were found in the stomach of a pilot whale which died in southern Thailand.
- No-deal Brexit 'would clear Scottish supermarkets of food in two days'
- Solidarity in euro zone should not lead to debt union, Merkel says
- IOS 12 Might Include Features to Keep You Off Your Phone
- Samuel Umtiti, Barcelona Agree on Contract Extension Until 2022-23
- Three winning tickets for prizes in last night's draw sold locally
- Chelsea holding talks with Fulham boss Slavisa Jokanovic
- Dimitrov dumped out of French Open by Verdasco
- International Friendly Report: England v Nigeria 02 June 2018
- Italy's populist leaders reach deal to resurrect coalition
- Alleged Tennessee Deputy Killer Arrested after Manhunt, Police Say