Costco became the latest retailer to drop My Pillow’s products — and CEO Mike Lindell blamed “cancel culture” for the move.

The wholesale chain is among more than 20 companies that have cut ties with My Pillow following his allegations that the 2020 presidential election was stolen from ex-President Donald Trump.

Costco did not give a specific reason when it told Lindell that it would discontinue his merchandise after selling through the inventory it had left, he told The Post Tuesday. The Minnesota-based bedding maker’s products have also disappeared from Costco’s website.

“Costco basically did a slow cancellation, slower than the other stores,” Lindell said in a phone interview. The decision will cost My Pillow between $4 million and $10 million in annual sales, according to Lindell.

It will also affect some 40 salespeople who would travel to Costco stores to hawk the company’s products, he said. Lindell said he has offered those staffers other jobs at My Pillow, though “we did have to lay some off.”

Lindell said Costco did not explain the move, but he thinks it was related to what he calls the “cancel culture” that influenced other companies.

Some retailers such as Bed Bath & Beyond, however, have cited declining sales in explaining why they dropped My Pillow products.

Costco “said they were going to discontinue us but they were going to honor their contract, which I’m not sure what that means,” Lindell said.