Keep your eyes on the road; here’s how to silence distracting messages.

PCMag reviews products independently, but we may earn affiliate commissions from buying links on this page. Terms of use.

You receive a phone call or text message on your iPhone while you’re behind the wheel. You know you shouldn’t respond, but sometimes the temptation is strong.

With iOS 11, you can enable a special mode called Do Not Disturb While Driving to prevent incoming phone calls, text messages, and notifications from distracting you. With this mode activated, your iPhone can sense when you’re in a moving vehicle and stop any notifications in their tracks. A phone call goes straight to voice mail while a text can trigger a message telling the texter that you’re busy driving.

Customization options include enabling it only when your phone is connected to your car’s Bluetooth, receiving calls from a select few, allowing people to break in during an emergency, and setting up custom replies.

Here’s how to get started so you can stay safe while driving.