Varteig is located north of Sarpsborg and east of Glomma. Varteig was part of the Tune municipality until 1861. It was designated to be a municipality by a split from Tune in 1861. At that time Varteig had a population of 1,405. On 1 January 1992 a small part of the district Furuholmen, with 12 inhabitants, was moved to Rakkestad municipality. The rest of Varteig was incorporated into Sarpsborg along with Tune and Skjeberg.
The municipality (originally the parish) is named after the old farm of Varteig (Old Norse Varteigr), since the first church was built on its ground. The meaning of the first element is unknown, the last element is teigr m 'strip of field'.
- Dag Jukvam / Statistics Norway (1999). "Historisk oversikt over endringer i kommune- og fylkesinndelingen" (PDF).