Pine tar is not entirely illegal on bats, but there's a limit to how much you can use. According to MLB rules, pine tar should not exceed 18 inches from the handle end of the bat. Exceeding this limit can cause the bat to be considered altered, which can influence the trajectory and speed of the ball.