A Southeast Washington ­elementary school building will close next week, and students will attend classes elsewhere for ­several weeks because of ­problems with pests and bed bugs.

In a statement Friday, D.C. Public Schools said it would close Savoy Elementary in Anacostia on Monday and Tuesday for “a thorough cleaning of the ­building” and to “replace all soft materials in the building, ­including rugs, cots, blankets and pillows.”

After the cleaning, the ­statement said, DCPS would work with the D.C. Department of Health “to ensure that the building passes a rigorous safety and health inspection.”

Students will be told Sunday where they should plan to attend school for the next several weeks.

The closure comes after ­problems with rodents and other pests at the school last month — problems addressed in a ­Facebook post Jan. 16 by Savoy Principal Donyale Butler.

“A mass trapping was ­conducted over the winter ­holiday,” the note read. “The pest control company has performed an extensive assessment of the school and identified areas of concentration that need to be cleaned up and entry paths that need to be plugged in the building structure.”

Although the note said there was no problem with bed bugs, a letter sent home Friday to Savoy ­families referenced “the recent threat of pests and bedbugs.”

DCPS also said students will learn Sunday where they can ­access meal service, as well as the transportation plan for getting students to the new school.

Parents with concerns about their child’s health were told to contact their doctor.