Farmers usually do not know the precise output that is affected by climatic factors such as temperature and rainfall and are characterized by inter-annual variability, part of which is caused by global climate change. No study covers the influences of climate factors on yield and yield risk in the context of chickpea farming in Andhra Pradesh, India. In this context, this study aimed to investigate the trends in climate change variables during Rabi season (October to January, 1996-2020) and evaluated their variability on chickpea yields across different agro-climatic zones in Andhra Pradesh by employing Just and Pope production function. Four non-parametric methods-Alexandersson’s Standard Normal Homogeneity Test, Buishand’s Range Test, Pettitt’s Test and Von Neumann’s Ratio Test are applied to detect homogeneity in the data. Mann–Kendall (MK) test and Sen’s slope (SS) method were employed to analyze monthly rainfall trends and minimum and maximum temperature trends. Results of Just and Pope (panel data) quadratic and Cobb-Douglas methods revealed that monthly minimum temperature positively influenced the mean yield of chickpea (0.22% and 0.16%, respectively). However, rainfall (-0.41% and -0.31%) and maximum temperature (-0.08% and -0.04%) negatively influenced the mean yield of chickpea under quadratic and Cobb-Douglas models, respectively. Accordingly, rainfall (0.08% and 0.06%) and maximum temperature (0.83% and 0.72%) positively influenced the yield variability and minimum temperature (-0.77% and -0.67%) reduced yield variability of chickpea under quadratic and Cobb-Douglas models respectively. In view of these findings, it is imperative to advocate the farmers about the importance of cultivating drought-tolerant chickpea varieties, drought-proofing and mitigation strategies, micro-irrigation practices and improving their access to agro-meteorological information towards sustainable chickpea cultivation in Andhra Pradesh.