Inherited from Middle English no, noo, na, a reduced form of none, noon, nan (“none, not any”) used before consonants (compare a to an), from Old English nān (“none, not any”), from Proto-West Germanic *nain, from Proto-Germanic *nainaz (“not any”, literally “not one”), equivalent to ne (“not”) + a. Piecewise doublet of none.
Cognate with Scots nae (“no, not any, none”), Old Frisian nān, nēn ("no, not any, none"; > Saterland Frisian naan, neen (“no, not any, none”), North Frisian nian (“no, not any, none”)), Old Dutch nēn ("no, not any, none"; > Dutch neen (“no”)), Old Norse neinn (“no, not any, none”). Compare also Old Saxon nigēn ("not any"; > Low German nen), Old Dutch nehēn (Middle Dutch negheen/negeen, Dutch geen), West Frisian gjin, Old High German nihein (> German kein). More at no, one.