The diffusion coefficient of glucose in different media is an important parameter in life sciences, as well as in biotechnology and microbiology. In this work a simple, fast method is proposed that is based on the electrochemical time of flight principle. In most of the earlier time of flight experiments performed, a constant flight distance was applied. In the present work a scanning electrochemical microscope (SECM) was applied as a measuring tool. With use of the SECM, the flying distance could be changed with high precision, making measurements with several flight distances more accurate and reliable values could be obtained for solutions as well as for gels. The conventional voltammetric methods are not applicable for glucose detection. In our work electrocatalytic copper oxide coated copper microelectrodes and micro-sized amperometric enzyme sensors were used as detectors, while microdroplet-ejecting pneumatically driven micropipettes were used as a source.