Upper Merion Township is a township in Montgomery County, Pennsylvania, United States. The population was 33,613 at the 2020 U.S. Census. Located 16 miles from Philadelphia, it consists of the villages of Gulph Mills, King of Prussia, Swedeland, Swedesburg, and portions of Radnor, and Wayne.