Halogens can exhibit a maximum oxidation state of +7 (in compounds like perchlorates, $ClO_4^-$), corresponding to the loss of all their valence electrons. Fluorine, being the most electronegative element, only shows a -1 oxidation state.