The progressive ageing of the population and the increasing number of elderly vulnerable people living alone, in nursing homes, or cared by caregivers, raises the question of the protection of their freedom of testation. In this paper, after studying for comparative purposes the American doctrine of undue influence, the author analyses the protection mechanisms available in the civil laws in force in Spain and how case law applies them.