Vukmir was first elected in November 2002, succeeding Scott Walker, who was elected in a special election as Milwaukee County Executive. She was the ranking member of the Assembly’s Committee on Health and Health Care Reform. She was also a member of the committees on Public Health, Education Reform, Education and Criminal Justice. Vukmir announced on June 25, 2009, that she was challenging incumbent Democratic State Senator Jim Sullivan for the 5th district seat in 2010. The race attracted large amounts of out-of-state campaign contributions, with 7% of Sullivan's donors and 14% of Vukmir's donors being residents of Wauwatosa. On November 2, 2010, Vukmir defeated Sullivan for reelection. She was succeeded in her Assembly seat by fellow Republican Dale Kooyenga. Vukmir opposes medical marijuana and has said that there is no medical reason to use it. At a public hearing in 2009, she was booed after accusing fellow legislators Jon Erpenbach and Mark Pocan of using dying cancer patients to further a secret agenda of legalization. Vukmir is on the Board of Directors of the American Legislative Exchange Council, a nonprofit organization of conservative state legislators and private sector representatives who draft and share model state-level legislation for distribution among state governments in the United States. In June 2013, the Center for Media and Democracy sued Vukmir, contending she had violated Wisconsin's open records law by not turning over records related to her involvement with ALEC. Vukmir responded by claiming she could not be sued while in office. The lawsuit was settled in 2014, with the state of Wisconsin agreeing to pay $15,000 and Vukmir turning over e-mails from her personal Yahoo! account that she said she had withheld due to technical issues. In December 2017, the Wisconsin Department of Justice released a report criticizing a secret state investigation into Wisconsin Governor Scott Walker. During the course of the investigation, the state had seized the personal emails of 35 Republican lawmakers, including Vukmir. Included among the emails was correspondence between Vukmir and her daughter that included private medical information. Some of the emails were placed into a folder on state computers marked "opposition research." Vukmir wrote an op-ed in the Wall Street Journal criticizing the investigation, which she said was politically motivated and "un-American."
On September 7, 2017, Vukmir announced that she would seek the 2018 Republican nomination for U.S. Senate. During the primary campaign, Vukmir ran ads in which she attempted to link Baldwin with Khalid Sheikh Mohammed, mastermind of the September 11 attacks, calling them "Team Terrorists". PolitiFact rated the claims as "Pants on Fire" wrong. On May 12, 2018, Vukmir secured the endorsement of the Wisconsin Republican Party at the state convention with 73 percent of the vote, besting former Marine Kevin Nicholson. Former White House Chief of StaffReince Priebus praised what he termed Vukmir's proven track record of advancing a conservative agenda. Vukmir won the Republican primary election on August 14, 2018 and was afterwards endorsed by President Donald Trump. She lost to incumbent Democrat Tammy Baldwin in the general election by eleven percentage points on November 6, 2018.