Montgomeryville is a census-designated place (CDP) in Montgomery County, Pennsylvania, United States. The population was 12,624 at the 2010 census. Montgomeryville is about 30 miles from the center of Philadelphia. According to a 2010 Forbes magazine/Yahoo.com survey, Montgomeryville ranks 5th in America's top 10 affordable suburbs. Montgomeryville is located at 40°15′1″N 75°14′16″W (40.250388, -75.237819).According to the United States Census Bureau, the CDP has a total area of 4.8 square miles (12 km2), all of it land.