Cuprous sulfide nanothorns were fabricated on copper foam for nonenzymatic amperometric determination of glucose and hydrogen peroxide.