Lokma (Turkish), Loqma (Arabic: لقمة, plural لقيمات, Luqaimat, عوامة," 'Awama"), Loukoumades (Greek: λουκουμάδες, singular λουκουμάς, loukoumas), or Bāmiyeh (Persian: بامیه)[citation needed] are pastries made of leavened and deep fried dough, soaked in syrup or honey, sometimes coated with cinnamon or other ingredients.[1] The dish was described as early as the 13th century by al-Baghdadi as luqmat al-qādi (لقمة القاضي), "judge's morsels".[2][3][4]

Boortsog, called pişi or tuzlu lokma (sour lokma) in Turkish, which is Lokma without any sweet syrup or honey, is a staple food for Turkic and Mongolian cuisines. Lokma in the form of a dessert is made with flour, sugar, yeast and salt, fried in oil and later bathed in syrup or honey. Lokma is first described as part of Turkish cuisine in the 9th century Kara-Khanid Khanate.[6][disputed – discuss] It was cooked by palace cooks in the Ottoman Empire for centuries and spread to the cuisines of the former countries of the Ottoman Empire in the Balkans, Middle East and the Caucasus. While in the former Ottoman countries such as Iraq and Greece it is an ordinary dessert, it has a ceremonial meaning in Turkey and is generally not consumed as an everyday dessert. Traditionally, forty days after someone passes away, close relatives and friends of the deceased cook Lokma in large quantities and serve to neighbours and passersby. People form queues to get a plate and recite a prayer for the soul of the deceased in return after eating the Lokma.

Lokma in Greece and Cyprus, called Loukoumades, are commonly spiced with cinnamon in a honey syrup and can be sprinkled lightly with powdered sugar. The exact recipe for Lokma has evolved over many centuries; however, it is a traditional Greek dessert with roots in deep antiquity, a number of ancient honey-cakes are described above which most likely constitute the origin of Lokma,[citation needed] whose present name is borrowed from Turkish. The ancient recipes were inherited via the Byzantine empire and passed on to the occupied countries of the Ottoman Empire, corresponding to where Lokma are found today.[citation needed] The candidate most frequently mentioned as being prepared with hot oil is enkrides, which is described above along with other postulated ancestral honey-cakes. Lokum is called sfingi (σφίνγοι) by the Greek Jews, who make them as Hanukkah treats.[7] The tradition is claimed to have been originated by the Romaniotes.[citation needed]

Perhaps the oldest documentation of a related but not identical dish is in the tomb of Ramses IV, where something more like jalebi is shown being prepared. Later, the Ancient Greek enchytoi consisted of a cheese-and-flour dough squeezed into hot fat, then covered with honey.[8]

A dish very similar to lokma is described by Archestratus, a Greek poet from Sicily, was enkris (Greek: ἐγκρίς, plural ἐγκρίδες)—a dough-ball fried in olive oil, which he details in his Gastronomy; a work now lost, but partially preserved in the Deipnosophists of Athenaeus, which mentions enkris thirteen times, in various inflected forms.[9] The most complete description of it in the Deipnosophists is a passage that reads:

And the people went about, and gathered it, and ground it in mills, or beat it in a mortar, and baked it in pans, and made cakes of it: and the taste of it was as the taste of fresh oil.[14]

Also, there may be a connection to the ritual feeding of the victors at ancient Olympia. Aristotle and other ancient writers refer to kharisioi plakoi or plakonta (χαρίσιοι πλάκοι, πλακούντα), translated as "(thanksgiving) cakes or "(gift) cakes".[15] These were offered to the victorious athletes in a highly ritualized ceremony along with the kotinos wreath. No recipe survives.

A fragment from Callimachus[16] has been used to argue the supposed antiquity of lokum and a connection to the ancient Olympics by, among others, The Washington Post.[17] Various assertions have also been made regarding ompne (Ancient Greek: ὄμπνη) in the text means, in the plural form, "sacrificial cakes made of grain and honey". Other sacrificial cakes, often called popanon (Ancient Greek: πόπανον) being ancestral to loukoumades; however, the only thing that is clear about them is that they were made from grain and honey.