This document summarizes the legal doctrines of cy pres and equitable deviation, which allow courts to modify restrictions on charitable gifts when circumstances change. Cy pres applies when a gift becomes impossible, impractical, or illegal, and was made with a general charitable intent. Equitable deviation applies to administrative restrictions. The document provides examples and discusses Massachusetts' codification of equitable deviation. It also outlines an administrative process under UPMIFA to modify small, older restricted gifts without court approval.