Loyalsock Township is a township in Lycoming County, Pennsylvania. The population was 10,876 at the 2000 census. It is part of the Williamsport, Pennsylvania Metropolitan Statistical Area.

Loyalsock Township is bordered by Montoursville, Fairfield and Upper Fairfield Township to the east. These eastern borders are formed by Loyalsock Creek. The township is bordered by Williamsport and the West Branch Susquehanna River to the south (with Armstrong Township south of the river). Williamsport also forms the eastern border along with Lycoming Creek which is the dividing line between Loyalsock and Old Lycoming Township. The townships of Hepburn and Eldred form the northern border.

Loyalsock Township was formed from Muncy Township in February 1786 by the Northumberland County court. This was nine years prior to the formation of Lycoming County. The township was originally bounded by the West Branch Susquehanna River to the south, Loyalsock Creek was the eastern limit and Lycoming Creek was the western limit. As for the northern limit, this was undefined, it may have extended as far north as New York state. The city of Williamsport was formed in large measure from a great part of Loyalsock Township. Seventy-five percent of Williamsport's lands came from Loyalsock.

In the American Revolutionary War, settlements throughout the Susquehanna valley and what was to become Loyalsock Township were attacked by Loyalists and Native Americans allied with the British. After the Wyoming Valley battle and massacre in the summer of 1778 (near what is now Wilkes-Barre) and smaller local attacks, the "Big Runaway" occurred throughout the West Branch Susquehanna valley. Settlers fled feared and actual attacks by the British and their allies. Homes and fields were abandoned, with livestock driven along and a few possessions floated on rafts on the river east to Muncy, then further south to Sunbury. The abandoned property was burnt by the attackers. Some settlers soon returned, only to flee again in the summer of 1779 in the "Little Runaway." Sullivan's Expedition helped stabilize the area and encouraged resettlement, which continued after the war.

Isaac and William McKinney, father and son, built the McKinney Iron Works along Lycoming Creek in western Loyalsock Township between 1825 and 1830, when they built a forge, in an area known as Heshbon Park. Their operation was expanded in 1836 with the construction of an iron furnace and further still in 1841 when a rolling mill was added to the complex. Iron ore was transported down the West Branch Susquehanna River Valley and up Lycoming Creek to the iron works from Centre County. The McKinney's effort was ultimately unsuccessful. The efforts of two more iron masters also failed. The iron works was largely destroyed by a flood in 1865.

Daniel Hughes was a conductor in the Underground Railroad based in Loyalsock Township. He was the owner of a barge on the Pennsylvania Canal and transported lumber from Williamsport on the West Branch Susquehanna River to Havre de Grace, Maryland. Hughes hid runaway slaves in the hold of his barge on his return trip up the Susquehanna River to Lycoming County where he provided shelter on his property near the Loyalsock Township border with Williamsport before moving further north and to eventual freedom in Canada. Hughes' home was located in a hollow or small valley in the mountains just north of Williamsport. This hollow is now known as Freedom Road having previously been called Nigger Hollow. In response to the actions of concerned African American citizens of Williamsport, the pejorative name was formally changed by the Williamsport City Council in 1936.

Today a great part of Loyalsock Township is part of the Williamsport Metropolitan area. The flood plain between Williamsport and Montoursville is densely populated with family homes and a shopping district known as the "Golden Strip" along East Fourth Street. The northern and western parts of the township are less heavily populated but still there are many family homes and small businesses. The population of Loyalsock Township has grown to 10,876 (2000 census) this is up from 2,498 (1890 census).