"What happens if a MP leaves parliament? Do they get replaced?"

Yes, you’re right! If a member of the House of Representatives dies or resigns between federal elections, they will be replaced in a by-election. A by-election is a mini-election for one or more seats in the House of Representatives.

This fact sheet has more information about federal elections.

diagram to help explain What happens if a MP leaves parliament? Do they get replaced?