Soon to be heard in San Francisco: the last slurp through a plastic straw. That’s because the city’s about to make them illegal.

The Board of Supervisors passed an ordinance Tuesday that will prohibit the city’s restaurants, bars and retailers from providing customers with plastic items — such as straws, stirrers or toothpicks — beginning July 1, 2019. If the ordinance passes the board on the second reading next week, it will then be presented to Mayor London Breed.

If the mayor signs the measure, retailers will also be prohibited from selling single-use food service products made with fluorinated chemicals. Bars, restaurants and cafes would also only be allowed to provide products, such as condiment packets and napkins, upon request or at self-service stations.

“This is about changing people’s behavior,” said Supervisor Ahsha Safaì, who co-sponsored the ordinance along with Supervisor Katy Tang. “Do you really need to offer a straw with a glass of water?”

Some restaurants and bars in the city have already taken steps to cut back on their use of plasticware. Nicole Kozlowski, a bartender at Pagan Idol, said during a public comment period last week that the Financial District bar started saving $900 a month on its Recology bill once it switched to compostable paper straws.

“The amount of waste and garnishes that were ending up in landfill ... was staggering,” she said.

Other U.S. cities, such as Seattle, San Luis Obispo and Malibu, have also taken steps this year to ban various plastic foodware.

Also on Tuesday, the supervisors pushed a motion to consider banning cannabis stores from Chinatown to the July 31 meeting.

Trisha Thadani is a San Francisco Chronicle staff writer. Email: tthadani@sfchronicle.com Twitter: @TrishaThadani