Health officials directed West Broad Elementary, in Souderton, to move to virtual classes starting Friday.
The school will not reopen until October 2.
The Souderton Area School District says all students and staff who interacted with one of the people who tested positive are being contacted by the school or health department.
The building will also be sanitized before in-person classes resume.