1442, "food made with paste," not originally limited to sweets, from M.E.
paste (see
paste (n.)), probably influenced by O.Fr.
pastaierie "pastry," from
pastoier "pastry cook," from
paste (see
paste (n.)); also borrowed from M.L.
pasteria "pastry," from L.
pasta. Specific sense of "small confection made of pastry" is from 1906.