An electrodeposited nickel cobalt sulfide nanosheet film acts as a nonenzymatic glucose sensor with wide linear response range of 0.001–3 mM, low detection limit of 0.12 μM, high sensitivity of 3291.5 μA mM−1 cm−2, as well as good selectivity and long-term stability.