Ottokar II (died 28 November 1122) was Margrave of Styria.
He was the son of Ottokar I and grandfather of Ottokar III, from the dynasty of the Otakars. In the investiture dispute, he sided with the pope, which resulted in a battle with his brother Adalbero, who sided with the emperor, but died in 1086 or 1087. After the Eppensteiner dynasty went extinct, Ottokar inherited their possessions in the Mur and Mürz valleys. He founded the Benedictine monastery in Garsten (Upper Austria) in 1108.