Departure from the Democrats and Greens candidacy
Following the 2004 election, Bartlett did not re-contest the leadership, instead taking on the deputy leadership under Lyn Allison. Bartlett was defeated at the 2007 election, polling only 1.88% of the primary vote in Queensland. The Democrat vote was even lower in other states, and the party lost all its remaining Senate seats. He left the Senate at the expiration of his term in June 2008.
In November 2009, Greens leader Bob Brown announced that Bartlett would contest the lower house seat of Brisbane at the 2010 federal election as a candidate for the Australian Greens. Bartlett came third in the seat in the 2010 election, gaining 21.3% of the vote with a swing to the Greens of just over 10%.
This was not the first time that Bartlett contested Brisbane and against the sitting Labor member Arch Bevis.
Bartlett had first contested Brisbane in 1996 for the Australian Democrats when he received 9.04% of the vote.
In May 2012, Bartlett ran for the Lord Mayoralty of Brisbane for the Greens, receiving 10.7% of the primary vote, a 2.3% increase on the previous election.
In 2015, years after the Democrats' parliamentary oblivion, the party was deregistered by the Australian Electoral Commission. Speaking as a former Democrats leader, Bartlett reflected that the party's support of the Howard Government's introduction of the GST was "politically catastrophic", but the "last straw" for the party was the demise of Stott Despoja as leader in 2002:
Even though the Democrats eventually disappeared from parliament in 2008, basically our political support crashed and burned in 2002.
Bartlett was again endorsed by the Greens as a Senate candidate for Queensland at the 2016 federal election. While he did not meet the quota for election, his colleague Senator Larissa Waters resigned her position on 18 July 2017 after discovering she held dual Australian and Canadian citizenship. She was ruled ineligible on 27 October 2017. As the second person on the 2016 Australian Greens Senate ticket, he replaced her after a recount. After his election was announced on 10 November, Bartlett was sworn in as a Senator for Queensland on 12 November 2017. Despite stirrings of a pre-selection showdown between himself and Waters for the next Senate election, Bartlett announced on 9 February 2018 that he would not seek to remain in the Senate, opting to seek pre-selection for the Queensland seat of Brisbane in the House of Representatives instead. On 16 June 2018, Bartlett announced that he would resign from the Senate at the end of August, to be replaced by Waters. The resignation was formally submitted to the Senate President Scott Ryan on 27 August 2018.
As announced, Bartlett contested the Division of Brisbane in the House of Representatives at the 2019 federal election receiving 22% of first preferences. Despite not winning the seat, he brought the Greens vote to its highest ever percentage in the Brisbane electorate, falling short of entering the two-party preferred vote behind Labor in second place, at 24.49%. The Australian Greens would go on to win this seat with first time candidate Stephen Bates in 2022, before losing it to the Australian Labor Party in 2025.
Bartlett contested the Electoral district of Clayfield in the Legislative Assembly of Queensland at the 2020 Queensland state election and received 17.61% of the vote.