The New York Public Library has sold five floors at its Science, Industry, and Business Library at 188 Madison Ave. at East 34th St. for $60.8 million, The Post has learned.

The 140,000-square-foot sale to the Church Pension Group, which was completed last week, is for an office condominium that spans floors three through seven.

All but the fifth floor is vacant but that, too, will be vacated over the next year, a source said. The administrative floors were once leased by Disney’s ESPN.

CPG spokeswoman Nancy Fisher declined to discuss the price but said in an e-mail that the church would move to the space and sublease its current offices at 437 and 445 Fifth Ave.

The CPG handles investments for the parishes, employees and clergy of the Episcopal Church.

A library spokeswoman confirmed only the sale of a five-floor office condominium to the pension group.

In 1995, the New York library bought the building, the former B. Altman department store, for the new science library.

The library announced in 2008 plans to sell some real-estate as part of a $1 billion master renovation plan.

The Donnell Library in Midtown was previously sold and is now under development to become Starwood Capital’s first Baccarat Hotel in the city.