Otto I (born 954, died 31 October or 1 November 982) was the Duke of Swabia from 973 and Duke of Bavaria from 976. He was a member of the Ottonian dynasty, the only son of Duke Liudolf of Swabia and his wife Ida, and thus a grandson of the Emperor Otto I and his Anglo-Saxon wife Eadgyth. His sister Mathilde was the abbess of Essen Abbey.
Otto was only three years old when his father died in 957. He was raised at the court of his grandfather, Otto I, who seems to have adopted him and raised him alongside his own son, the future Emperor Otto II, born late in 955. The latter regarded him as both "nephew and brother" (nepos ac frater). When the childless Duke Burchard III of Swabia died in 973, Otto II transferred the Swabian duchy to his nineteen-year-old nephew and brother, whose father had been Burchard's predecessor. The elder Otto became a close confidante of his younger sovereign.
In 976 the imprisoned Duke Henry the Wrangler of Bavaria was formally dismissed from office for rebellion. In his place the emperor appointed Otto of Swabia, who became the first ruler of two duchies in medieval Germany. The Duchy of Carinthia and the March of the Nordgau were also taken from Henry, but were not bestowed on Otto, thus their history is separate from that of Bavaria from this point on. In 977, while the emperor was campaigning elsewhere, Otto helped crush the revolt of the Three Henries—the deposed duke of Bavaria, Bishop Henry I of Augsburg and Duke Henry I of Carinthia—by successfully besieging the leaders in Passau. The army of Bavarians that was ambushed by Boleslaus I of Bohemia near Plzeň while on its way to join the emperor at this time may have been sent by Duke Otto.