have ants in your pants - definition and synonyms

phrase informal
  1. to be unable to sit still, for example because you are nervous or full of energy
See also main entry: ant