shit one's pants

idiom

Definition of shit one's pants

US, informal + offensive
: to become so afraid, surprised, worried, etc., that one defecates He jumped out from behind a tree and I nearly shit my pants.