Triptorelin injection is in a class of medications called gonadotropin-releasing hormone (GnRH) agonists. It works by decreasing the amount of certain hormones in the body.