A machine and method for boring holes in panels (2) of wood or the like, according to which each panel (2) is advanced through a hole boring station (5) in a first direction (4), is held in the hole boring station (5) and is drilled by the combined movements of a drill bit (23) in the first direction (4), in a second direction (10) transverse to the first direction (4), and in a third direction (8) orthogonal to the first direction (4) and the second direction (10).