The popular expression tomar el pelo is highly used in Spanish language. Its actual meaning cannot be inferred by its literal meaning “to take hair” which is not self-explanatory. Tomar el pelo is mainly conveyed in English by the expression to pull someone's leg. Other possible translations in English are to make fun of someone, to poke fun at someone, to joke, to tease someone, to take someone for a ride, to deceive someone, to mess with someone, to mess around, to kid someone.
No le creas, te está tomando el pelo.
Do not believe him, he's pulling your leg/he's having you on/he's putting you on.
No le creas, te está tomando el pelo.
Do not believe him, he's pulling your leg/he's having you on/he's putting you on.