The biosensor is suitable for direct determination of residual lactose in lactase-treated milk, with a limit of detection of 0.2 μM, 100 times below the most stringent lactose-free standard and without the need to remove fat or protein from the sample.