From Middle English agen-, ayen-, from Old English ongēan- (“towards, opposite, against, back, again, anew”). More at again.
again-