Don’t Get Your Panties in a Bunch

What does the expression “don’t get your panties in a bunch” mean?

Definition: Don’t get upset—the problem is unimportant.

Example: So we missed the bus. There will be another one in ten minutes. Don’t get your panties in a bunch!

Note: This is North American. The British equivalent is “don’t get your knickers in a twist.”