From Middle English nokke, attested since the 14th century, probably from a Scandinavian/North Germanic language (compare Swedish nock (“notch”), but compare Dutch nok, from Middle Dutch nocke (“tip, point”). Both could be related to nook (“corner, recess”).