A sensitive nonenzymatic H2O2 electrochemical sensor was constructed based on CoSn(OH)6 nanocubes. The sensor can be successfully applied to detect the H2O2 levels in human serum samples with satisfactory results. CoSn(OH)6 nanocubes possesses the high electrocatalytic activity.