Nail Fungus is a medical condition which occurs when fungus takes root in one of more of your nail beds. Causes of Nail Fungus The major cause of nail fungus is the fungus dermatophyte but yeast and molds can also lead to an outbreak of toe nail fungus. The fungus invades the nail bed from invisible cuts or separation of the nail from the nail bed.