French lawmakers on Monday passed a law banning schoolchildren from having smartphones and other internet-enabled devices at schools.

The ban applies to smartphones, tablets, smartwatches and other connected devices, which must be turned off or left at home.

Read more: Smartphones - not so smart for the planet

There are exceptions for "pedagogical use," extra-circular activities and for disabled pupils, but otherwise the law generally prohibits smartphones in all premises and during school activities outside the school building.

Watch video 01:44 Share Apple's new iOS helps limit screen time Send Facebook google+ Whatsapp Tumblr linkedin stumble Digg reddit Newsvine Permalink https://p.dw.com/p/2yz5q Apple's new iOS helps limit screen time

The new rules apply to pupils from three to 15 years old, but allow high schools (Lycées) to decide whether to apply a partial ban or total ban.

A law passed in 2010 already banned smartphone use during class.

Read more: DW's Health News: Can electronic media harm children?

Campaign promise

French President Emmanuel Macron had promised during his campaign to rid schools of distracting smartphones.

The new law passed with the support of lawmakers from his Republic on the Move! (LREM) party and liberal allies, while lawmakers on the left and right abstained, calling the law "cosmetic."

French students are currently on summer holidays, due to return to school (without their phones) in September.

Each evening at 1830 UTC, DW's editors send out a selection of the day's hard news and quality feature journalism. You can sign up to receive it directly here.

cw/se (AFP, dpa)