John McNesby has served as president of the Fraternal Order of Police Lodge #5 since 2007.
He is accepting a new position with the Commonwealth of Pennsylvania in the coming weeks.
McNesby joined the Philadelphia police force in 1989 as a patrol officer before becoming a narcotics detective.
His last day with the FOP will be November 10.
The FOP board will meet next week to elect his successor.