The present disclosure provides a method for preparing a transition metal chalcogenide including: a step of forming a transition metal chalcogenide thin film; and a step of controlling the defects of the transition metal chalcogenide thin film by injecting a processing gas including oxygen and nitrogen to the formed transition metal chalcogenide thin film.