late 14c., for ever; from for + ever. Often written as one word from late 17c. As a noun by 1858. Emphatic forevermore is from 1819.
Entries linking to forever
for prep.
Old English for "before, in the sight of, in the presence of; as far as; during, before; on account of, for the sake of; in place of, instead of," from Proto-Germanic *fur "before; in" (source also of Old Saxon furi "before," Old Frisian for, Middle Dutch vore, Dutch voor "for, before;" German für "for;" Danish for "for," før "before;" Gothic faur "for," faura "before"), from PIE root *per- (1) "forward," hence "in front of, before," etc.
From late Old English as "in favor of." For and fore differentiated gradually in Middle English. For alone as a conjunction, "because, since, for the reason that; in order that" is from late Old English, probably a shortening of common Old English phrases such as for þon þy "therefore," literally "for the (reason) that."
ever adv.
Old English æfre "ever, at any time, always;" of uncertain origin, no cognates in any other Germanic language; perhaps a contraction of a in feore, literally "ever in life" (the expression a to fore is common in Old English writings). First element is almost certainly related to Old English a "always, ever," from Proto-Germanic *aiwi-, extended form of PIE root *aiw- "vital force, life; long life, eternity." Liberman suggests second element is comparative adjectival suffix -re.
Sometimes contracted to e'er in dialect and poetry. Ever began to be used in late Old English as a way to generalize or intensify when, what, where, etc. The sense evolution was from "at any time at all, in any way" to "at any particular time; at some time or another; under any circumstances." Ever so "to whatever extent" is recorded by 1680s. Expression did you ever? (implying "see/do/hear of such a thing") attested by 1840.