Bommai entered politics with the Janata Dal and served as political secretary to Chief Minister J. H. Patel. He lost the 1994 Assembly election from Hubli Rural to Jagadish Shettar, and was elected to the Karnataka Legislative Council from Dharwad local authorities in 1998 and again in 2004.
He left the Janata Dal (United) and joined the BJP in February 2008, winning Shiggaon in the 2008 Assembly election and again in 2013, 2018 and 2023. He was Minister for Water Resources (2008–2013) and, from 2019 to 2021, Minister for Home, Law and Parliamentary Affairs.
Following B. S. Yediyurappa's resignation, Bommai was sworn in as Chief Minister of Karnataka on 28 July 2021 and served until 19 May 2023, after the BJP lost the 2023 Assembly election.
In 2024 he contested Haveri and won with 7,05,538 votes, defeating Congress candidate Anandswamy Gaddadevarmath by 43,513 votes.