This study leverages China’s 2014 judicial reform – which centralized the management of local courts’ personnel, finances, and assets at the provincial level – as a natural experiment to examine the impact of increased judicial autonomy on corporate investment efficiency. Empirical results indicate that the reform reduced local government control over courts, enhanced judicial independence, and raised investment efficiency by an average of 11.6% in reformed cities. Our findings remain reliable following extensive robustness tests. Moreover, we identify two key mechanisms driving this effect: diminished administrative intervention and improved financial environment. Heterogeneity analysis further reveals that the reform’s benefits are more pronounced for non-state-owned enterprises, firms in politically sensitive regions, and companies that depend more on external financing. These results underscore the critical role of judicial independence in promoting economic development and offer valuable insights for policymakers in developing countries.