St. Margrethen (Saint Margrethen/Sankt Margrethen) is a municipality in Rheintal in the canton of St. Gallen in Switzerland.

It is on the border to Austria.