Kocel (fl. 861–874) was a Slavic ruler of Lower Pannonia, a polity known in historiography as the Balaton principality. He was an East Frankish vassal titled comes (count), and is believed to have ruled between 861 or 864 and 876.
Kocel was the son of Pribina, a Slavic dux installed by the Franks in Lower Pannonia in ca. 838 or 840. Bowlus believes he was born in ca. 820. In 861, Kocel made a significant donation to the Freising monastery, showing that he had a solid social and political standing. According to Bowlus, this document indicates that Pribina had died, and Kocel succeeded him.Louis the German installed Kocel as a ruler in Lower Pannonia in 864. Kocel held "Lower Pannonia" (Pannonia inferioris) in 865, when Archbishop Adalwin of Salzburg visited his lands twice. In 869, Kocel had requested for Byzantine missionary Methodius to be sent into Pannonia as a papal legate. In midsummer, Kocel sent Methodius to Rome with twenty men to petition for his elevation to bishop.Hadrian II appointed Methodius the archbishop of Sirmium, and sent confirmations to, among others, Kocel, whose land lay within the jurisdiction.Frankish Pannonia was held by Kocel and Bavarian margraves in 871; Kocel enjoyed independence, as evident from his talks with the pope. In 874, following the Moravian conflict, Kocel continued to rule the Drava Valley, presumably under Carloman of the March of Pannonia. Kocel disappears from sources after 874, and was either dead or removed from his office in ca. 876, certainly dead by 880.