When you’re in pain
A 2009 study from Keele University in the UK found that swearing can increase pain tolerance. For the experiment, 64 students were asked to submerge one of their hands in a bucket of ice water for as long as possible. When the subjects repeated a swear word of their choice, they were able to withstand the ice bucket for 140 seconds, compared to only 70 second when they repeated a non-swear word.
When you’re angry
As long as your words aren’t directed at someone, swearing can be cathartic, writes psychologist John M. Grohol on psychcentral.com. Using the curses can free you from feelings of anger or frustration, he explains.