onychophagia
Onychophagia is the medical term for the habit of biting one's nails. This behavior can be a response to stress, anxiety, or boredom, and it often leads to damaged nails and surrounding skin. People who engage in onychophagia may find it difficult to stop, as it can become a compulsive action.
The condition is considered a type of body-focused repetitive behavior (BFRB), similar to trichotillomania, which involves hair pulling. Treatment options may include therapy, such as cognitive-behavioral therapy, and strategies to reduce stress and anxiety. Addressing the underlying causes can help individuals manage this habit effectively.