St. Margrethen has a population (as of ) of . , about 43.2% of the population was made up of foreign nationals. Of the foreign population, (), 83 are from
Germany, 280 are from
Italy, 1,028 are from ex-
Yugoslavia, 235 are from
Austria, 170 are from
Turkey, and 197 are from another country. Over the last 10 years the population has grown at a rate of 0.5%. Most of the population () speaks
German (81.2%), with
Serbo-Croatian being second most common (5.7%) and
Albanian being third (4.0%). Of the Swiss national languages (), 4,289 speak German, 12 people speak
French, 175 people speak
Italian, and 12 people speak
Romansh. there were 754 persons (or 14.3% of the population) who were living alone in a private dwelling. There were 1,141 (or 21.6%) persons who were part of a couple (married or otherwise committed) without children, and 2,872 (or 54.3%) who were part of a couple with children. There were 326 (or 6.2%) people who lived in single parent home, while there are 32 persons who were adult children living with one or both parents, 14 persons who lived in a household made up of relatives, 37 who lived household made up of unrelated persons, and 109 who are either institutionalized or live in another type of collective housing. In the
2007 federal election the most popular party was the
SVP which received 44.9% of the vote. The next three most popular parties were the
CVP (16.7%), the
FDP (15.4%) and the
SP (13.9%). In St. Margrethen about 58.5% of the population (between age 25–64) have completed either non-mandatory
upper secondary education or additional higher education (either university or a
Fachhochschule). Out of the total population in St. Margrethen, , the highest education level completed by 1,336 people (25.3% of the population) was
Primary, while 1,822 (34.5%) have completed their secondary education, 354 (6.7%) have attended a
Tertiary school, and 311 (5.9%) are not in school. The remainder did not answer this question. ==Economy==