To turn this feature on again, choose Automatically. Click Connect to This Mac, and then choose When Last Connected to This Mac. Click the Options button next to your AirPods in the list of devices. If you want to turn off automatic switching for your Mac, open Bluetooth preferences on your Mac while your AirPods are in your ears. Click Connect to confirm that you want your AirPods to switch to your Mac or stay with your Mac. When you hold the pointer over the notification, a Connect button will appear. In some situations, a notification about your AirPods will appear on the screen of your Mac. Your AirPods will switch from the music on your Mac to the phone call on your iPhone automatically. For example, while listening to music on your Mac, you answer a call on your iPhone.
Your devices need to be signed in with the same Apple ID using two-factor authentication. Your AirPods (2nd and 3rd generation) and your AirPods Pro (1st and 2nd generation) can switch automatically between your Mac with macOS Big Sur, iPhone with iOS 14, and iPad with iPadOS 14 or later.