List of state by-elections in Malaysia

Casual vacancies in the Dewan Undangan Negeri (state legislative assembly) are filled by by-elections, which may occur when a member of the Dewan Undangan Negeri dies, resigns or for some other reason. Members of the Dewan Undangan Negeri normally tender the resignation to the Speaker. The Speaker has a discretion as to when to call a by-election and may not call one at all, for example, if a general election or a state election is imminent.

Brackets around a date indicate that the candidate was unopposed when nominations closed. These candidates were declared "elected unopposed" with effect from the date of the closing of nominations, and there was no need to hold a by-election.