Do judges ruling on redistricting litigation increase electoral competition in congressional races while simultaneously drawing districts favoring their party's congressional candidates? I offer a novel theory of judicial partisan calculation, arguing that judges draw more competitive districts than legislatures or commissions, but that judge‐drawn districts favor the electoral interests of their copartisans. These claims are reconcilable because judges target districts held by contrapartisan legislators to maximize their copartisans’ fortunes. I find that Democratic judges draw competitive districts by adding Democratic voters to Republican‐held House constituencies. Court‐administered redistricting increases competitiveness, ostensibly due to judicial neutrality. This mask of neutrality, however, conceals sophisticated partisan calculation.