In the Andes of South America.
Potatoes were domesticated in the Andes mountains of South America, in the region of present-day southern Peru and northwestern Bolivia near Lake Titicaca. Farmers there began cultivating wild potato species roughly 7,000 to 10,000 years ago.
Andean farmers developed thousands of varieties suited to different altitudes and climates, in a huge range of colors, shapes and flavors. Potatoes were a staple of the Inca Empire, and Andean peoples invented ways to preserve them for years, such as freeze-drying them into chuño.
Spanish explorers brought potatoes to Europe in the second half of the 1500s. At first many Europeans were suspicious of them, but over the following two centuries they became a staple, especially in Ireland, Germany and Eastern Europe, because they produced so much food per acre.
Today the potato is one of the world's most important food crops, grown on every continent except Antarctica. China and India are the biggest producers.