The retail giant will continue to sell the data-x-items to consumers who request them, but will pull them from displays. Guns and ammunition are sold at about half of US stores, primarily in locations where hunting is popular, a company spokeswoman said.
"We have seen some isolated civil unrest and as we have done on several occasions over the last few years, we have moved our firearms and ammunition off the sales floor as a precaution for the safety of our associates and customers," a Walmart spokeswoman said. "These data-x-items do remain available for purchase by customers."
The move comes after Philadelphia on Wednesday announced a nighttime curfew following two nights of unrest over the police killing of Walter Wallace, who became the latest Black person to die at the hands of law enforcement.
Earlier killings of George Floyd, Breonna Taylor, and other African-Americans have spawned mass protests throughout the US this year.
Thousands of people have taken to Philadelphia's streets, with looting and violence breaking out, since police on Monday shot dead Wallace, who was carrying a knife. Wallace's family said he had mental health problems.