The second-generation Apple Pencil charges wirelessly by magnetically attaching to the iPad Pro or iPad Air 4. The first-generation Apple Pencil charges in the iPad's Lightning port.