Using a mobile phone while cycling is to be banned in the Netherlands amid mounting safety fears in a country where bikes outnumber people.

A draft law scheduled to take effect next July will extend an existing 2002 ban on car and lorry drivers using their mobile phones at the wheel unless in hands-free mode to “the use of a mobile electronic device while driving any vehicle (including a bicycle)”.

The Dutch transport minister, Cora van Nieuwenhuizen, said the law was needed because the advent of social media and unlimited mobile data had changed how people used smartphones and the time they spent on them.

Cyclists were excluded from the initial ban because of their lower speeds, Van Niewenhuizen said. “But in fact, using a phone is just as dangerous on a bike as it is in a car,” she said. “The fact is that whenever you’re on the road you should be paying full attention and not doing anything at all on a phone.”

The increasing popularity of electric bikes meant cyclists’ average speed had risen, the minister added, while the country’s 22,000 miles of cycle lanes and paths had become more crowded.

The Netherlands has more bikes – about 22.5m – than people: 17 million. Almost a quarter of the population cycles every day and cycle use has increased by about 12% since 2005; the average Dutch cyclist now covers more than 600 miles a year in 250-300 trips.

Pedestrians, too, are at risk when they use mobile phones near cyclists: the Dutch town of Bodegraven last year launched a trial of foot-level traffic lights to prevent people wandering on to roads or cycle lanes while glued to their screens.

While research suggests the number of cyclists who need emergency care after an accident involving a mobile phone may not be particularly high, less serious accidents have become increasingly common, particularly among young people.

One in five bike accidents involving people aged 12 to 25 last year involved a smartphone, according to one estimate. A total of 206 cyclists died in traffic accidents in 2017, according to the central statistics office CBS, 17 more than the previous year.

Opinion polling suggests 75% of the Dutch believe the “active use” of a mobile – calling, texting, playing games, downloading music, posting on social media or using other apps – on bikes should be outlawed, with a majority saying they had witnessed “dangerous situations” involving cyclists and smartphones.

Michael Kulkens, who has campaigned for a ban since his 13-year-old son, Tommy-Boy, was killed in a bike accident while compiling a playlist on his phone for his sister’s birthday party, said he was delighted with the proposed change.

“I had to stop my car at the side of the road and the tears welled up in my eyes when I heard on the radio that the ban was coming,” he told De Telegraaf newspaper. “In my mind, I said: ‘We did it Tommy-Boy. We did it.’”