The article addresses whether the enactment of anti-defection legislation reduces legislative party switching in parliament. This question is pertinent because some researchers cease to analyze cases of legislative party switching when anti-defection legislation is present in a political system. However, the example of New Zealand demonstrates the fallacy of such an assumption. Despite anti-defection legislation being passed twice, it has not effectively deterred parliamentarians from changing party affiliations. Instead, they have strengthened the position of parliamentary group leaders in relation to parliamentarians and the necessity for the latter to rely on loopholes that shield them from the severe consequences of party switching. A dogmatic analysis of the current legislation and a systemic analysis of the selected case lead to this overarching conclusion.