This article explains how to use AirPods with an Xbox Series X or S.
Connect AirPods to your Xbox Series X/S – 3 Ways!
Here's how to use the Xbox app with your AirPods while gaming on your Xbox Series X or S:
Pair your AirPods to your Android, iOS, or iPadOS device.
Download and install the Xbox app on your device.