- See Gottfried for the given name.
Gotfrid (also Gotefrid, modernized Gottfried; Latin: Gotfridus or Cotefredus; died 709) was the Duke of Alemannia in the late seventh century and until his death. He was of the house of the Agilolfing, which was the dominant ruling family in the Frankish Duchy of Bavaria.
Gotfrid fought a war over his de facto independence with the mayor of the palace Pepin of Heristal. The war was unfinished when Gotfrid died in 709. His sons, Lantfrid and Theudebald, had the support of Pepin and succeeded him.
Gotfrid married a daughter of Theodo of Bavaria, and his third son, Odilo, later ruled in Bavaria. From his son Huoching (Huocin, Houchi, or Hug) came the later stock of the Ahalolfings. His daughter Regarde married Hildeprand of Spoleto, and he left a youngest son named Liutfrid.