"solid piece," early 14c., blok, blokke, "large solid piece of wood," usually with one or more plane faces, from Old French bloc "log, block" of wood (13c.), which is from a Germanic source such as Middle Dutch bloc "trunk of a tree," Old High German bloh (from PIE *bhlugo-, from *bhelg- "a thick plank, beam;" see balk (n.)).
The word was generalized by late 15c. to any solid piece. The meaning "solid mass of wood, the upper surface of which is used for some purpose" is from late 15c., originally the executioner's block where the condemned were beheaded. The meaning "stump where a slave stood to be sold at auction" is from 1842. The sense of "mold on which something is shaped, or placed to keep its shape," typically a hat or wig, is from 1570s; the meaning "head" (generally disparaging) is from 1630s, perhaps an extension of this. To knock (someone's) block off "thrash, beat" is by 1923.
The meaning "grooved pulley in a wooden case" (used to transmit power and change the direction of motion by means of a rope) is from c. 1400. Hence block and tackle (1825; see tackle (n.)). The meaning in city block is 1796, from the notion of a "compact mass" of buildings.
BLOCK. A term applied in America to a square mass of houses included between four streets. It is a very useful one. [Bartlett]
Later of a portion of a city enclosed by streets, whether built up or not.