Calcium oscillations are induced by different stresses. Calcium-dependent protein kinases (CDPKs/CPKs) are one major group of the plant calcium decoders that are involved in various processes including drought response. Some CPKs are calcium-independent. Here, we identified ZmCPK2 as a negative regulator of drought resistance by screening an overexpression transgenic maize pool. We found that ZmCPK2 does not bind calcium, and its activity is mainly inhibited during short term abscisic acid (ABA) treatment, and dynamically changed in prolonged treatment. Interestingly, ZmCPK2 interacts with and is inhibited by calcium-dependent ZmCPK17, a positive regulator of drought resistance, which is activated by ABA. ZmCPK17 could prevent the nuclear localization of ZmCPK2 through phosphorylation of ZmCPK2T60. ZmCPK2 interacts with and phosphorylates and activates ZmYAB15, a negative transcriptional factor for drought resistance. Our results suggest that drought stress-induced Ca2+ can be decoded directly by ZmCPK17 that inhibits ZmCPK2, thereby promoting plant adaptation to water deficit.