Apparently an overdose did him...

Philip Seymour Hoffman was found dead Sunday in a New York City apartment of an apparent drug overdose ... TMZ has learned authorities found a needle in his arm.

Law enforcement sources tell TMZ ... the actor was found Sunday morning inside a Greenwich apartment ... and they're still on scene investigating.