The basketball coach at a prestigious Catholic high school in Queens was yanked from the team while administrators investigate claims he watched his players shower, sources told The Post yesterday.

Paul Gilvary, 49, varsity head coach at Holy Cross HS in Flushing, was put on administrative leave amid the allegations he hovered near the student-athletes as they soaped up — and made it mandatory for them to shower.

Gilvary, a reigning Coach of the Year, was removed from the team on Nov. 10.

The mother of one current player told The Post that some of his teammates were “uncomfortable” with the coach’s peeping.

“He sometimes would come in and talk to them while they were in the shower,” she said. “Some of the kids didn’t like it. As far as I know, that’s all that happened.”

Holy Cross launched its probe into Gilvary after a teacher overheard three junior players talking about the alleged shower spying.

“A few kids were joking around, [saying] ‘Why do you want to be on Varsity ‘A’ when the coach will watch you shower,” said a school source.

The teacher then took the students to Holy Cross president the Rev. Walter Jenkins.

“They interviewed the three kids, and asked, ‘How do you feel about Coach Gilvary watching you shower?’ ” the source said, adding, “They said they didn’t like it.

“One of them said, ‘We were joking — we didn’t mean for this to go this far.’ ”

Jenkins wouldn’t comment, only saying via e-mail, “We will have something for you most likely on Monday.”

Gilvary, who also serves as the school’s admissions director, has been a coach at Holy Cross for 16 years.

He’s heavily involved with the Catholic High School Athletic Association, where he’s chairman of the boys soccer league, basketball league and assigning umpires in baseball.

Gilvary has won one CHSAA city championship with Holy Cross and is the reigning New York Post All-Queens boys basketball Coach of the Year.