The invention of toilet paper is credited to Joseph Gayetty, an American inventor, who introduced commercially available toilet paper in 1857.