A rectory is the housing that a church organization provides for a minister or priest to live in. Most rectories are conveniently close to the church.
The official name of a minister who lives in a rectory is a rector, a clergy member of either the Episcopal, Catholic, or Anglican churches. Some universities, particularly in Scotland, have academic positions with the name rector, and they are also sometimes provided with rectories to live in. In Latin, rector means "ruler or governor," from regere, "to rule or guide."