Yes, the Sony WH-1000XM5 comes with a warranty. If your headphones are still under warranty, the repair might be covered at no additional cost.