Ironwood Pharmaceuticals will maintain its headquarters in Cambridge, MA after reaching a deal with building owner BioMed Realty Trust to renew its 233,000-square-foot lease at 301 Binney St.

The drug manufacturer and retailer has leased office and laboratory space in the 417,290-square-foot, five-story medical office building since the property’s completion in 2007. As part of the lease, Ironwood will relinquish roughly 93,000 square feet it currently…