Nasrabadi and Farimani [Indag. Math. (N. S.) 26(2015), 137-141] have given necessary and sufficient conditions for a fnite autonilpotent p-group of class 2 such that all absolute central automorphisms are inner. We generalize this result of Nasrabadi and Farimani to arbitrary fnite p-groups.