Multi-millionaire pedophile Jeffrey Epstein donated significant sums of money to several schools in the US and abroad — including to an exclusive all-girls school blocks from his Upper East Side mansion, an analysis of his finances found.

Epstein donated the $15,000 gift to the prestigious Hewitt School on East 75th Street in 2016 — years after he pleaded guilty to in 2008 to soliciting a minor for prostitution, The Associated Press reported.

It’s not clear why Epstein singled out the school for the gift, but administrators said the money was returned several months ago after they learned it was connected to him.

In other donations, Epstein doled out $35,000 to the Junior Tennis Champions Center in Maryland and $25,000 to the Ecole du Bel-Air grade school in Haiti.

Epstein was arrested in New Jersey earlier this week on sex trafficking charges after the Miami Herald published a series of articles examining a sweetheart deal he struck with federal prosecutors in 2008.

Authorities who raided his Upper East Side mansion this week found a trove of pictures of naked underage girls in a safe in the house, prosecutors said.

Manhattan prosecutors also revealed on Friday that Epstein has already tried to buy the silence of two potential witnesses against him.

The former hedge fund manager doled out a total of at least $350,000 to two people last year after reports about him were published in the Herald, federal prosecutors said in new court ­papers.

With Post Wires