Samogitia is a Latinized version of the name Žemaitija, meaning "the Lowlands" as opposed to Aukštaitija for "the Highlands". In the Middle Ages, the names Samaiten, Samaitae, Zamaytae, Samogitia, Samattae, Samethi were used in German and Latin sources. They, together with other variants Schmudien, Schamaiten and Żmudź, are all derived from the Lithuanian Žemaičiai, dial. Žemaitiai / Žemaitei.
Before the formation of the Lithuanian state, Samogitia was ruled by its local noblemen. A chronicle mentions two dukes from Samogitia in 1219 as signatories of the Treaty with Volhynia. Since the formation of the Grand Duchy of Lithuania in the 13th century, Samogitia was its dependent territory, however sometimes the influence of the Lithuanian Grand Duke was very limited. During the rule of the first Lithuanian king, Mindaugas, Samogitians pursued an independent foreign policy and continued fighting with the Knights of the Sword even after King Mindaugas had signed a peace treaty with them. Samogitia for 200 years played a crucial role in halting the expansion of the Teutonic Order and defeated the Knights of the Sword in the Battle of Saule and the Livonian Order in the Battle of Skuodas, and the Battle of Durbe. In the atmosphere of fierce battles with the Teutonic Knights, the Lithuanian rulers Jogaila and Vytautas several times ceded Samogitia to the Teutonic Order in 1382, 1398 and 1404. However, the Teutonic Knights were not successful in subjugating the land, and Samogitians revolted in 1401 and 1409. After the defeats in the Battle of Grunwald and following wars, in 1422 the Teutonic Order ceded Samogitia to the Grand Duchy of Lithuania under the Treaty of Melno. Samogitians were the last in Europe to accept Christianity in 1413. The Grand Duke of Lithuania Casimir Jagiellon acknowledged the autonomy of Samogitia in the Grand Duchy of Lithuania and then issued a privilege to the Eldership of Samogitia to elects its own elder in 1441. Because of its prolonged wars with the Teutonic Order, Samogitia had developed a social and political structure different from the rest of Lithuania. It had a larger proportion of free farmers and smaller estates than in Eastern Lithuania. As with most of the Polish-Lithuanian Commonwealth, Samogitia suffered in the aftermath of the Swedish invasion of Commonwealth. Its population dropped from close to 400,000 to about 250,000; only to return to 400,000 by the late 18th century. After the annexation of Lithuania by Imperial Russia, Samogitia was included in the Vilna Governorate ; in 1843 it was transferred to a newly established Kovno Governorate. At the beginning of the 19th century Samogitia was the center of the Lithuanian national revival, which stressed the importance of the Lithuanian language and opposed russification and polonization attempts.