The Massachusetts Institute of Technology on Wednesday announced that it had received a $140 million pledge from a graduate of the school—with no name, and no strings attached.

An unrestricted gift of that size is rare in higher education, as donors often want a say in how their dollars are spent. Unrestricted donations can be used for things like facilities upkeep, as well as to pursue early-state scientific research.

In...