Depending on the severity of the condition, it may take anywhere between a few weeks to several months of regular treatment with hydrogen peroxide to cure nail fungus.