A subungual hematoma is a pool of blood that collects under a nail after an injury. In most cases a nail hematoma isn't serious, but it can be very painful.