Medford is a city in Middlesex County, Massachusetts, in the United States, on the Mystic River. It is five miles northwest of downtown Boston. In the 2010 U.S. Census, Medford's population was 56,173. It is the home of Tufts University.