As easy as pie
Meaning
Very easy.
Origin
There are many similes in English that have the form 'as X as Y'. These almost always highlight some property - X, and give an example of something that is well-known to display that property - Y; for example, 'as white as snow', 'as dead as a dodo' and, risking a group slander action from our noble friends, 'as drunk as a lord'.
How though, are pies thought to be easy? They aren't especially easy to make; I know, I've tried it. The easiness comes with the eating. At least, that was the view in 19th century America, where this phrase was coined. There are various mid 19th century US citations that, whilst not using 'as easy as pie' verbatim, do point to 'pie' being used to denote pleasantry and ease. 'Pie' in this sense is archetypally American, as American as apple pie in fact. The usage first comes in the phrase 'as nice as pie', as found here in Which: Right or Left? in 1855:
"For nearly a week afterwards, the domestics observed significantly to each other, that Miss Isabella was as 'nice as pie!'"
Mark Twain frequently used just 'pie' to mean pleasant or accommodating: In The Adventures of Huckleberry Finn, 1884, "You're always as polite as pie to them."
"So he took him to his own house, and dressed him up clean and nice,... and was just old pie to him, so to speak."
Pie was also used at that time for something that was easy to accomplish; for example, The US magazine Sporting Life, May 1886:
"As for stealing second and third, it's like eating pie."
'Pie in the sky', also an American phrase from around the same time, refers to 'pie' as something pleasant that we are promised we will receive eventually.
The earliest example of the actual phrase 'as easy as pie' that I can find comes from the Rhode Island newspaper The Newport Mercury, June 1887 - in a comic story about two down and outs in New York:
"You see veuever I goes I takes away mit me a silverspoon or a knife or somethings, an' I gets two or three dollars for them. It's easy as pie. Vy don't you try it?"
Pie seems to rank right up there with cake in the US lexicon of ease and pleasantry - 'a piece of cake', 'take the cake', 'cake-walk' are all American phrases from the 19th century.