shit one's pants
idiomDefinition 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.