This paper examines who receives government subsidies when a firm faces delisting risk and how subsidies affect such a firm's performance in China. It focuses on the accounting‐based delisting rule issued in 1998 that relies heavily on the profitability of firms. Using the probit model, this study finds that subsidies are less likely to be granted to a firm that has a higher risk of being delisted than a healthy firm, but are more likely to be granted to such a firm if it is state‐owned. It is also found that having a political connection increases a firm's chance of receiving subsidies, but such an effect disappears when a firm faces a delisting risk. In assessing the impact of a subsidy on firm performance, this study shows that a subsidy increases a firm's valuation and profitability for firms at delisting risk.