A Secret Service officer accidentally shot himself in the finger at a swanky hotel along Central Park South on Monday night, sources said.

The shooting happened at the Park Lane Hotel on Central Park South near 6th Avenue about 8:30 p.m., law enforcement sources said.

The off-duty federal officer was inside his hotel room and unloading his gun when it accidentally discharged, sources said.

NYPD cops took the federal employee to a nearby hospital with non-life threatening injuries, sources said.

Nobody else was injured during the accidental discharge, according to a Secret Service spokesperson.