Graphite's use dates to prehistoric times, but the modern wood-cased pencil emerged over a 133-year window.
Key milestones: 1662—Nuremberg craftsmen encase graphite in wood; 1795—Nicolas-Jacques Conté patents the clay-graphite kiln-fired core (the "Conté process"), enabling consistent hardness grades and mass production. The Conté method, refined during the French Revolution's graphite blockade, remains the basis of pencil manufacturing today.
So while "invented" is fuzzy, the pencil as we know it—graded, reliable, wood-encased—was perfected between the mid-17th and late-18th centuries.