  We construct the most general gaugings of the maximal D=6 supergravity. The
theory is (2,2) supersymmetric, and possesses an on-shell SO(5,5) duality
symmetry which plays a key role in determining its couplings. The field content
includes 16 vector fields that carry a chiral spinor representation of the
duality group. We utilize the embedding tensor method which determines the
appropriate combinations of these vectors that participate in gauging of a
suitable subgroup of SO(5,5). The construction also introduces the magnetic
duals of the 5 two-form potentials and 16 vector fields.
