TOKYO - Tokyo, Japan's capital and host of the 2020 Summer Olympics, passed a tough anti-smoking law on Wednesday that will effectively ban smoking in most of the city's bars and restaurants in the run-up to the games.

Japan lags many countries in efforts to fight smoking, with attempts to tackle tobacco often stymied by pro-smoking politicians, restaurateurs and Japan Tobacco, which is one-third owned by the government.

Tokyo was set to be the smokiest Olympic games in years if no action was taken, anti-smoking activists said.

The new city law, which takes full effect several months before the Olympics open on July 24, 2020, bans smoking in any bar or restaurant with hired employees.

"We've managed to prepare ourselves for such mega-sports events as the Rugby World Cup in 2019 and the 2020 Tokyo Games," Tokyo Governor Yuriko Koike told reporters.

The Tokyo law is far tougher than legislation under debate in the upper house of Japan's parliament to tackle the threat of secondhand smoke, which kills about 15,000 Japanese, many of them women and children, every year, activists say.

Last week, the lower house passed a watered-down version of a health ministry proposal to limit secondhand smoke in places such as schools and hospitals, but allowed smoking in outdoor spaces.

The Tokyo law will forbid outdoor smoking in places where children may be present.

Less than a fifth of Japanese smoke today, down from about half the population 50 years ago.

Last week, a member of parliament jeered a lung cancer patient who was testifying about the dangers of secondhand smoke.

(Reporting by Elaine Lies Editing by Darren Schuettler) ((elaine.lies@thomsonreuters.com; Reuters Messaging: elaine.lies@thomsonreuters.com))