Possibly from piss-proud. In which case taking the piss out of would mean deflating their false pride, usually through disparagement or mockery. As the piss-proud metaphor became dated, taking the piss out of someone came to refer to disparagement or mockery itself, regardless of the pride of the subject. Eventually the shortened, intransitive form taking the piss became common.
Modern English dictionary
Explore and search massive catalog of over 900,000 word meanings.
Word of the Day
Get a curated memorable word every day.
Level up your vocabulary by setting personal goals.