Spironolactone, also known as itraconazole, is used to treat gray nails. Itraconazole is an antifungal oral medication, and itraconazole can be used to treat gray nails as they are caused by fungal infection of the nail plate as well as under the nail. Itraconazole is mainly taken orally for 3-4 months for the treatment of grey nails, more than 3 months for finger nails and more than 4 months for toe nails. The liver function needs to be monitored during the medication period, and if there is any abnormality in the liver function, the medication needs to be adjusted according to the liver function, especially for the elderly and patients with underlying diseases, such as hepatitis virus and cirrhosis, who need to pay attention and avoid drinking alcohol during the medication period to avoid aggravating the burden on the liver.