Ceftriaxone is used for: Treating bacterial infections. Ceftriaxone is a cephalosporin antibiotic. It works by interfering with the formation of the bacteria's cell wall so that the wall ruptures, resulting in the death of the bacteria.