c. 1300, "a supply or provision of food for one meal," from Old French mes "portion of food, course at dinner," from Late Latin missus "course at dinner," literally "a placing, a putting (on a table, etc.)," from past participle of mittere "to put, place," in classical Latin "to send, let go" (see mission). For sense evolution, compare early Middle English sonde "a serving of food or drink; a meal or course of a meal," from Old English sond, sand, literally "a sending," the noun form of send (v.).
Meaning "a communal eating place" (especially a military one) is attested by 1530s, from the earlier sense of "a company of persons eating together at the same table" (early 15c.), originally a group of four. The sense of "mixed food," especially "mixed food for animals" (1738), probably is what led to the contemptuous colloquial use of mess for "a jumble, a mixed mass" (1828) and the figurative sense of "state of confusion, a situation of disorder" (1834), as well as "condition of untidiness" (1851).
General use for "a quantity" of anything is attested by 1830. Meaning "excrement" (of animals) is from 1903. Mess-hall "area where military personnel eat and socialize" is by 1832. Mess-kit "the cooking- and table-utensils of a camp, with the chest in which they are kept" is by 1829. Mess-locker "a small locker on shipboard for holding mess-gear" is by 1829.
late 14c., "serve up (food) in portions," from mess (n.). Intransitive meaning "to share a mess, take one's meals in company with others" is from 1701; that of "make a mess of, disorder" is by 1853. Related: Messed; messing. To mess with "interfere, get involved" is by 1903; to mess up "make a mistake, get in trouble" is from 1933 (earlier "make disorderly, make a mess of," by 1892), both originally American English colloquial.
"to make untidy, put in a state of disorder," 1837, American English, probably a variant of mess in its sense of "to disorder." It was attested earlier (1830) as a noun meaning "disturbance, state of confusion." Related: Mussed; mussing.
late 14c., mukken, "to dig in the ground," also "to remove manure;" c. 1400, "to spread manure, cover with muck," from muck (n.) or Old Norse moka (n.). Mucker "one who removes muck from stables" is attested by early 13c. as a surname. Meaning "to make dirty" is from 1832; in the figurative sense, "to make a mess of," it is from 1886; to muck about "mess around" is from 1856. To muck (something) up is by 1896 as "to dirty, soil;" 1922 as "make a mess of." Related: Mucked; mucking.
"a stew of meat cut into small pieces," 1660s, from hash (v.). Meaning "a mix, a mess" is from 1735. Cryptographic use in computing is by 1979.
initialism (acronym) from shit out of luck (though sometimes euphemised), 1917, World War I military slang. "Applicable to everything from death to being late for mess" [Russell Lord, "Captain Boyd's Battery, A.E.F.," c. 1920]