The present invention relates to an injectable composition for local administration for treating hemorrhoids, which contains hydroxychloroquine. Specifically, the composition contains a solution of hydroxychloroquine in physiological saline for injection, together with a local anesthetic and an antioxidant.