Fungal infection is one of the most common reasons for yellow nails. If you wear nail polish for a long period, they may turn yellow. However, nails turning yellow can sometimes be an indication of a serious health problem such as lung disease, anemia, liver disease, diabetes, thyroid disease, psoriasis, chronic bronchitis, and respiratory or lymphatic problems.