Magherafelt, town and former district (1973–2015) within the former county of Londonderry, now in Mid Ulster district, central Northern Ireland. Magherafelt town was originally an English-company (Plantation of Ulster) town and is now a marketing centre. Maghera town, 9 miles (14 km) to the northwest, was the birthplace of Charles Thomson (1730–1824), who served as secretary to the First and Second U.S. Continental Congresses (1774–89) and wrote out the Declaration of Independence.
The former Magherafelt district was bounded by the River Bann and Lough (lake) Neagh on the east and by the Sperrin Mountains on the west. It bordered the former districts of Antrim and Ballymena to the east; Coleraine to the north; Limavady, Strabane, and Omagh to the west; and Cookstown to the south. Gently rolling lowlands in the east rise gradually westward to elevations of more than 1,800 feet (550 metres) above sea level in the Sperrin Mountains. The area is largely agricultural; its chief crops include potatoes, barley, flax, and oats. There is salmon fishing along the River Bann, and granite is quarried in the Sperrin Mountains. Area former district, 245 square miles (635 square km). Pop. (2001) town, 8,289; (2011) town, 8,819.