In this paper, 9,10-anthraquinone (AQ) derivative-modified glassy carbon (GC) electrodes were studied towards the electrochemical reduction of oxygen in aqueous and non-aqueous solutions. The reaction of 1-chloro-9,10-anthraquinone with aliphatic diamines was applied for the synthesis of amino-9,10-anthraquinone derivatives. The obtained AQ derivatives were grafted onto the surface of glassy carbon electrodes by electropolymerisation using diazonium salts. The modified GC electrodes are sensitive to oxygen, determined by cyclic voltammetry. Changes in the oxygen determination efficiency depend mostly on the length of the side chain AQ derivative which is grafted to the GC electrode and is nearly double in comparison to a bare GC electrode modified by 1-((2-((2-aminoethyl)amino)ethyl)amino)-9,10-anthraquinone.