In baseball, hit by pitch (HBP) is a situation in which a batter or his clothing or equipment (other than his bat) is hit by a pitch from the pitcher; the batter is called a hit batsman (HB). A hit batsman is awarded first base, provided that (in the plate umpire's judgment) he made an honest effort to avoid the pitch, although failure to do so is rarely called by an umpire. Being hit by a pitch is often caused by a batter standing too close to, or "crowding", home plate.
Per baseball official rule 6.08(b), a batter becomes a baserunner and is awarded first base when he or his equipment (except for his bat):
If all these conditions are met, the ball is dead, and other baserunners advance if they are forced to vacate their base by the batter taking first. Rule 5.09(a) further clarifies that a hit by pitch is also called when a pitch touches a batter's clothing.