Treatment failure occurs when a medical intervention, such as medication, therapy, or surgery, does not achieve the intended therapeutic effect. This can manifest as the persistence or worsening of disease symptoms, the development of complications, or the inability to achieve clinical or microbiological cure.