Upper Fairfield Township is a township in Lycoming County, Pennsylvania. The population was 1,854 at the 2000 census. It is part of the Williamsport, Pennsylvania Metropolitan Statistical Area.

Upper Fairfield Township is bordered by Plunketts Creek Township to the north, Mill Creek Township to the east, Muncy Township to the southeast, Fairfield Township to the south, and Loyalsock and Eldred Townships to the east. Loyalsock Creek is the boundary line between Upper Fairfield and Loyalsock Townships as well as Upper Fairfield and Eldred.

The history of Upper Fairfield Township begins in 1851 when some dissatisfied citizens of the southern portion of Fairfield Township asked to be separated from the neighbors to the north. The citizens of the northern portion were strongly against division, but the township was divided against their wishes on 12 September 1851.

Upper Fairfield Township called Pollock Township during its first two years of existence. It was named for Judge James Pollock, who was the president of district court that ordered the township to be divided. Since the citizens of Upper Fairfield Township where against the division in the first place, they were less than pleased with the name of their new township. Pollock was a controversail figure in the early days of Upper Fairfield. The citizens asked the court that the named be changed and the Pennsylvania General Assembly ordered that Pollock Township's name be changed to Upper Fairfield Township on 29 January 1853.