Klaipėda (ˈkleɪpɛdə; ˈkɫɐɪpjeːdɐ; Memel; Kłajpeda; Клайпеда; Klaipieda) is a city in Lithuania on the Baltic Sea coast. It is the third largest city and the capital of its eponymous county, as well as the only major seaport in Lithuania.
The city has a complex recorded history, partially due to the combined regional importance of the usually ice-free Port of Klaipėda at the mouth of the river Akmena-Danë. Located in Lithuania Minor, it was historically a part of the Polish–Lithuanian Commonwealth, Prussia, and Germany until the 1919 Treaty of Versailles when it gained its independence and was placed under French occupation. In 1923, the Klaipėda Revolt resulted in the city's annexation by Lithuania, which lasted until it was occupied by Germany following the 1939 German ultimatum to Lithuania. Klaipėda has remained within Lithuania since the country's independence.
The city continues to experience sustained demographic decline due to flight towards the suburbs and other cities. The number of inhabitants of Klaipėda city shrank from 202,929 in 1989 to 162,360 in 2011, but the urban zone of Klaipėda expanded well into the suburbs, which sprang up around the city and surrounded it from three sides. These are partly integrated with the city (city bus lines, city water supply, etc.), and the majority of inhabitants of these suburbs work in Klaipėda. According to data from the Department of Statistics, there are 212,302 permanent inhabitants (as of 2020) in the Klaipėda city and Klaipėda district municipalities combined. Popular seaside resorts found close to Klaipėda are Neringa to the south on the Curonian Spit and Palanga to the north.
The Teutonic Knights built a castle in the *Pilsāts Land of the Curonians and named it Memelburg, which would later be shortened to Memel. From 1252 to 1923 and from 1939 to 1945, the town and city were officially named Memel. Between 1923 and 1939, both names were in official use. Since 1945, the Lithuanian name of Klaipėda has been used.