InstantPing

InstantPing / Guides

Claude Code notifications: desktop, sound and phone

Updated 2026-12-04

Claude Code does not show a popup or play a sound when it is done unless you set that up (it can also push to your phone while Remote Control is on). You start a long task, switch to another window, and find out twenty minutes later that it stopped on a question after one minute. Notifications fix that. There are three kinds, and you can combine them.

The two moments worth a notification

Claude Code exposes both as hook events: Stop and Notification. Every method below is just a command attached to those two events.

1. Desktop popup

Good when you work at your computer but not in the terminal window. The command differs per operating system: osascript on macOS, notify-send on Linux, a PowerShell toast on Windows. Copy-paste versions are in Get a notification when Claude Code is done.

2. Sound

The lightest option: a short beep or system sound on Stop. It works with headphones on and costs nothing, but you only hear it if you are within earshot.

3. Phone push

The only option that works when you have left your desk. You need a service that delivers a push to your phone. You can build it yourself with a free service such as ntfy, or use an app that handles the setup. See Claude Code push notifications on your phone.

Which should you pick?

You...Use
stay at your desk, in other windowsDesktop popup
have headphones on and the computer nearbySound
walk away while Claude worksPhone push
run Claude Code on several computersPhone push, one ping source per computer

Avoid notification noise

A ping for every two-second reply trains you to ignore them. Only notify when a task ran longer than some threshold (15 seconds is a sensible default), and keep the "waiting for you" notification louder than the "done" one.

Frequently asked questions

How do I get a notification when Claude Code finishes?

Add a Stop hook to ~/.claude/settings.json that runs a notification command: a desktop popup, a sound or a phone push. Copy-paste versions are in Get a notification when Claude Code is done.

Which Claude Code hook events are used for notifications?

Stop fires when Claude finishes responding. Notification fires when Claude needs permission or is waiting for your input.

Can Claude Code send notifications to my phone?

Yes, through a hook that pushes to a phone: either a free ntfy topic you script yourself, or an app such as InstantPing that installs the hooks for you.