A by-election was held in the provincial riding of Brooks-Medicine Hat in Alberta, Canada, on November 8, 2022, following the resignation of incumbent United Conservative MLA Michaela Frey.
On October 6, 2022, former Wildrose Party leader Danielle Smith was elected leader of the United Conservative Party, defeating all other candidates including former Minister of Finance Travis Toews after six ballot counts. The election was triggered by the resignation of Jason Kenney following a leadership review. A week after her election, Smith was sworn in as the 19th Premier of Alberta. As Smith was not a member of the Legislative Assembly when she became premier, fellow UCP MLA Michaela Frey resigned her seat and had encouraged Smith to run in the by-election. Longstanding convention in Westminster systems when the leader of the governing party is not a member of the legislature to either hold a general election or a by-election, often caused by a sitting member in a safe seat resigning in order to allow the newly elected leader a chance to enter the legislature. Smith won the by-election, with 54.5% of the vote.
The district is located in southeastern Alberta, containing the entirety of Newell County and the northern portions of Cypress County and Medicine Hat. It is named for its two largest communities, Medicine Hat and Brooks, and also contains CFB Suffield. Within the city of Medicine Hat, its border with Cypress-Medicine Hat runs southeast along Highway 1, then northeast along Highway 41A until the railroad tracks, then east along the South Saskatchewan River.
The election was contested by 3 party leaders, Smith of the UCP, former Brooks mayor Barry Morishita of the Alberta Party, and Jeevan Mangat of the Wildrose Independence Party. Gwendolyn Dirk of the Alberta NDP would recontest the riding in the 2023 general election.