Yes, you can absolutely bring unopened AirPods on a plane, but you should always pack them in your carry-on luggage. Because AirPods and their charging cases contain lithium-ion batteries, most international aviation safety rules (including TSA and EASA) prefer or strictly require them to be in the cabin rather than the cargo hold. Lithium batteries pose a fire risk that is much easier to manage if it occurs in the cabin where the crew can intervene. Being "unopened" makes no difference to security; they will simply pass through the X-ray machine like any other electronic device. If you are traveling internationally, be aware of Customs regulations: bringing several pairs of unopened high-value electronics could be flagged as "commercial intent," potentially requiring you to pay import duties, but a single pair for personal use or a gift is perfectly standard and allowed.