Walmart has yanked shady sunscreen pills off its shelves after the feds warned that they provide bogus protection against the sun, according to US Sen. Chuck Schumer.

The Food and Drug Administration had recently ordered four companies hawking the pills to stop claiming they protect against sunburns and the risk of skin cancer because “there’s no pill or capsule that can replace your sunscreen,” according to FDA Commissioner Dr. Scott Gottlieb.

Schumer (D-NY) followed that up at a recent press conference by urging the FDA to force retailers to pull the pills from their shelves.

“I applaud Walmart for seeing the light when it comes to the dangers and the misleading promises of ‘sunscreen pills,’” Schumer said in a statement Monday.

Schumer reiterated the call for the pills to be pulled from online and retail stores – especially as temperatures and sales of sunscreen heat up.

“These companies need to clean up their act before consumers literally get burned, and I will continue to pay careful attention to what is being done on the regulatory side of this issue,” he said.