Law banning cellphone use while driving takes effect in Mass.

This browser does not support the video element.

BOSTON (AP) — A law that bars drivers in Massachusetts from using hand-held cellphones behind the wheel takes effect Sunday, but motorists won't immediately face a fine if they're stopped by police.

The law signed by Republican Gov. Charlie Baker in November brings Massachusetts in line with every other New England state.

Texting while driving had already been barred in the state, but now drivers won't be allowed to talk on or dial their phones unless they have a hands-free device. They won't be allowed to look at pictures or videos unless it’s to help with navigation and the phone is properly mounted, according to a state police video that explains the law.

Related: How to prepare your car before the hands-free law goes into effect

And no, checking your phone at a red light is not OK. That's also barred. Drivers who need to use their phones are required to pull out of an active travel lane and stop, according to authorities.

This browser does not support the video element.

Cellphone use is allowed to report an emergency.

Under the law, violators will get a warning at first. But that grace period ends April 1, and after that the first offense will mean a $100 fine, the second a $250 fine, and subsequent offenses a $500 penalty.

Multiple infractions could also mean car insurance surcharges.

The law also requires the Registry of Motor Vehicles to collect data from traffic stops, including the driver’s age, race and gender, without identifying the driver, to help identify police agencies that may be engaging in racial profiling.

Related stories:

Mass.gov hands-free pamphlet

Everything you need to know about the Hands-Free law goes into effect

Lawmakers approve ban on drivers using hand-held cellphones

Gov. Baker signs distracted driving bill into law

Mother of victim in fatal texting and driving case outraged over sentencing