A condition in which the nail loosens from the nail bed, beginning usually at the free edge and continuing to the lunula, but does not come off; it is caused by an internal disorder, trauma, infection, or certain drug treatments.