The Lex Baiuvariorum was a collection of the tribal laws of the Bavarii of the sixth through eighth centuries. The first compilation was edited by Eberswind, first abbot of Niederaltaich, in 741 or 743. Duke Odilo, founder supplemented the code around 748. It is one of the most well documented bodies of Germanic tribal law.
Parts of the Lex Baiuvariorum are identical with the Visigothic Code of Euric and from the Lex Alamannorum. The Bavarian law, therefore, is later than that of the Alamanni. It dates unquestionably from a period when the Frankish authority was very strong in Bavaria, when the dukes were vassals of the Frankish kings. Immediately after the revolt of Bavaria in 743, the Bavarian Duke Odilo was forced to submit to Pippin the Younger and Carloman, the sons of Charles Martel, and to recognize the Frankish suzerainty. About the same period, too, the church of Bavaria was organized by St Boniface, and the country divided into several bishoprics; and we find frequent references to these bishops (in the plural) in the law of the Bavarians. On the other hand, we know that the law is anterior to the reign of Duke Tassilo III (749-788). The date of compilation must, therefore, be placed between 743 and 749.