In 2014, incumbent State RepresentativeDoug Holder was unable to seek re-election due to term limits, so Gonzalez ran to succeed him. He faced attorney Richard DeNapoli in the Republican primary, and a brutal campaign ensued. Gonzalez attacked DeNapoli over allegations that he lived outside the district and over his past support of former Governor Charlie Crist, while Gonzalez was attacked for campaign contributions that he made to Congresswoman Debbie Wasserman Schultz, also the Chairwoman of the Democratic National Committee. Gonzalez asserted that he made the contributions in order to meet with Wasserman Schultz to discuss his opposition to the Patient Protection and Affordable Care Act, but Gonzalez had made the contributions in 2008, and the legislation was not proposed until 2009. Groups supporting DeNapoli also aired advertisements attacking Gonzalez over a book that he wrote in 2009 called "Health Care Reform — The Truth," in which Gonzalez called for the "creation of health index scores for patients who need medical care," and that, "Once the patient reaches that health index score, government and insurance funding designed to cure major illnesses such as cancer should be discontinued. For the sake of the patient, his loved ones and our economy, efforts should be redirected from curative to supportive." The advertisements claimed that Gonzalez was advocating for death panels "worse than those in Obamacare," but Gonzalez "said he was only pointing out the problem that patients now can be put through prolonged, painful treatments when there is not chance of medicine helping them." Gonzalez campaigned on his opposition to the Common Core standards, to the expansion of Medicaid under the Patient Protection and Affordable Care Act, and to legislation that would allow "undocumented immigrants who graduate from Florida high schools to get in-state college tuition rates," and was endorsed by United States SenatorMarco Rubio, who praised Gonzalez for "living the American Dream." Gonzalez ended up defeating DeNapoi by a wide margin, receiving 57% of the vote, and he advanced to the general election. He faced only write-in opposition and won with nearly 100% of the vote. In February 2017, The Florida Bar published an article opposing a bill sponsored by Gonzalez that allows the legislature to overrule a supreme court decision with a two-thirds vote.