Invasive candidiasis can be treated with antifungal medication, and antifungal medication is often given to prevent the infection from developing in certain patient groups. Most cases of invasive candidiasis occur in people who have recently been admitted to a hospital or been in contact with other healthcare settings such as nursing homes.The specific type and dose of antifungal medication used to treat invasive candidiasis usually depends on the patient’s age, immune status, and location and severity of the infection. Because many Candida species are part of the human microbiota, their presence in the mouth, the vagina, sputum, urine, stool, or skin is not definitive evidence for invasive candidiasis. Treatment normally continues for two weeks after resolution of signs and and Candida yeasts can no longer be cultured from blood samples. Some forms of invasive candidiasis, such as infections in the bones, joints, heart, or central nervous system, usually need to be treated for a longer period.