We do not have enough information. Are you providing over half the support for your grandfather? Does he live with you--or does he live somewhere else? Does he have more than $4700 of income from any source except Social Security? You say he has a "retirement plan." If he has more than $4700 of income from that plan then you cannot claim him as a dependent.