Porcupines are large rodents with coats of sharp spines, or quills, that protect them against predators. The term covers two families of animals: the Old World porcupines in the family Hystricidae, and the New World porcupines in the family Erethizontidae. Both families display superficially similar coats of rigid or semi-rigid quills, which are modified hairs composed of keratin, and belong to the infraorder Hystricognathi within the diverse order Rodentia. The two groups are distinct and are not closely related to each other within Hystricognathi. The largest species of porcupine is the third-largest living rodent in the world, after the capybara and beaver.
The Old World porcupines (Hystricidae) live in Italy, West and South Asia, and most of Africa. They are large, terrestrial, and strictly nocturnal. New World porcupines (Erethizontidae) are indigenous to North America and northern South America. They live in wooded areas and can climb trees, where some species spend their entire lives. They are generally smaller than their Old World counterparts and are less strictly nocturnal.