The word is first attested in English in 1805, borrowed from the French, itself first attested in 1605; the further etymology is uncertain but it may be related to the German Kuchen meaning "cake" or "tart" [REF].
Quiche is considered a French dish, however using custard in pastry was practiced in English cuisine at least as early as the 14th century.