According to Wikipedia, apple pie’s place of origin is England.
The modern apple pie has become strongly associated with the United States, but the dish’s documented culinary origins are older and English. Wikipedia identifies England as its country of origin and places its emergence in the 14th century, when English cooks were already enclosing apples and other fruits in pastry.
The medieval English recipe collection The Forme of Cury includes an early apple pie-style preparation. Its filling combined apples with spices, figs, raisins, and pears inside a pastry casing called a “cofyn.” This was quite different from many modern pies: sugar was expensive, and medieval fruit pies were not necessarily as sweet as contemporary American versions.
Apple pie later spread widely. English, Dutch, and Swedish settlers brought apple-growing traditions and pie recipes to North America during the 17th and 18th centuries. Two apple pie recipes appeared in Amelia Simmons’s American Cookery, published in 1796, helping establish the dessert in American culinary culture.
The phrase “as American as apple pie” reflects cultural symbolism, not the pie’s original birthplace. The American version became iconic, but the underlying pastry tradition predates the United States by centuries.