Here is an old "home remedy" that works well if you use it diligently for several weeks.
Get a plastic pan that is large enough and deep enough to comfortably hold both your feet and has a resealable top (Tupperware or other brand). Buy a couple of gallons of cheap white vinegar and pour enough into the pan so that your feet are at least two inches deep in the vinegar. Soak your feet in the vinegar for about 15 minutes 3-4 times per week.
The vinegar is acidic enough to kill the toe nail fungus and clear up any athletes feet fungus without harming your skin. It also helps to make sure your toenails are short and clear of any "toe jam" so the vinegar can get underneath your nails easily.
Be aware of any cuts on your feet though. The vinegar will sting if you have any open wounds.
This is a very economical and healthy way to clear up toe nail fungus. You can use the same vinegar for several weeks by simply resealing the plastic pan. If you are married or cohabitating your "significant other" will probably complain about the vinegar smell so a well ventilated area or a bathroom exhaust vent is advised.
After soaking your feet just make sure to wash them with warm soapy water to remove the vinegar smell.
Within 3-4 weeks you will begin to see clear toenail growth and in about 3-4 months your toenails should look normal. A simple "one a week" maintenance soak keeps them in good shape after that.