Fungal prosthetic-joint infections are rare but devastating complications following arthroplasty. These infections are highly recurrent and expose the patient to the development of candidemia, which has high mortality rates. Patients with this condition are often immunocompromised and present several comorbidities, and thus pose a challenge for diagnosis and treatment. The most frequently isolated organisms in these infections are Candida albicans and Candida parapsilosis, pathogens that initiate the infection by developing a biofilm on the implant surface. In this study, a novel hybrid organo–inorganic sol–gel coating was developed from a mixture of organopolysiloxanes and organophosphite, to which different concentrations of fluconazole or anidulafungin were added. Then, the capacity of these coatings to prevent biofilm formation and treat mature biofilms produced by reference and clinical strains of C. albicans and C. Parapsilosis was evaluated. Anidulafungin-loaded sol–gel coatings were more effective in preventing C. albicans biofilm formation, while fluconazole-loaded sol–gel prevented C. parapsilosis biofilm formation more effectively. Treatment with unloaded sol–gel was sufficient to reduce C. albicans biofilms, and the sol–gels loaded with fluconazole or anidulafungin slightly enhanced this effect. In contrast, unloaded coatings stimulated C. parapsilosis biofilm formation, and loading with fluconazole reduced these biofilms by up to 99%. In conclusion, these coatings represent a novel therapeutic approach with potential clinical use to prevent and treat fungal prosthetic-joint infections.